- Timestamp:
- Jun 15, 2010, 9:33:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/2010-projects/anuga_1d/sww/sww_vel_domain.py
r7839 r7840 44 44 45 45 46 from flow_1d.generic_1d.generic_domain import *46 from anuga_1d.generic.generic_domain import * 47 47 from sww_boundary_conditions import * 48 48 from sww_forcing_terms import * … … 64 64 tagged_elements = tagged_elements) 65 65 66 from flow_1d.config import minimum_allowed_height, g, h066 from anuga_1d.config import minimum_allowed_height, g, h0 67 67 self.minimum_allowed_height = minimum_allowed_height 68 68 self.g = g … … 82 82 83 83 #Reduction operation for get_vertex_values 84 from flow_1d.utilities.util import mean84 from anuga_1d.generic.util import mean 85 85 self.reduction = mean 86 86 #self.reduction = min #Looks better near steep slopes … … 149 149 150 150 151 from flow_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_ext151 from anuga_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_ext 152 152 153 153 domain.flux_timestep = compute_fluxes_ext(timestep,domain,stage,xmom,bed) … … 171 171 172 172 173 from flow_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_vel_ext173 from anuga_1d.sww.sww_vel_comp_flux_ext import compute_fluxes_vel_ext 174 174 175 175 domain.flux_timestep = compute_fluxes_vel_ext(timestep,domain,stage,xmom,bed,height,velocity) … … 207 207 import sys 208 208 from numpy import zeros 209 from flow_1d.config import epsilon, h0209 from anuga_1d.config import epsilon, h0 210 210 211 211 N = domain.number_of_elements … … 302 302 import sys 303 303 from numpy import zeros 304 from flow_1d.config import epsilon, h0304 from anuga_1d.config import epsilon, h0 305 305 306 306 N = domain.number_of_elements
Note: See TracChangeset
for help on using the changeset viewer.