Changeset 7840
- Timestamp:
- Jun 15, 2010, 9:33:23 AM (14 years ago)
- Location:
- anuga_work/development/2010-projects/anuga_1d
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/2010-projects/anuga_1d/compile_all.py
r7839 r7840 9 9 10 10 os.chdir('..') 11 os.chdir('generic _1d')11 os.chdir('generic') 12 12 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') 13 13 14 14 os.chdir('..') 15 os.chdir('channel _flow')15 os.chdir('channel') 16 16 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') 17 17 18 18 os.chdir('..') 19 os.chdir('pipe _flow')19 os.chdir('pipe') 20 20 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') 21 21 22 22 os.chdir('..') 23 os.chdir('sww _flow')23 os.chdir('sww') 24 24 execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') 25 25 -
anuga_work/development/2010-projects/anuga_1d/generic/test_generic_domain.py
r7839 r7840 5 5 6 6 7 from flow_1d.generic_1d.generic_domain import *7 from anuga_1d.generic.generic_domain import * 8 8 import numpy 9 9 -
anuga_work/development/2010-projects/anuga_1d/sww/sww_boundary_conditions.py
r7839 r7840 7 7 __date__ ="$05/06/2010 5:44:05 PM$" 8 8 9 from flow_1d.generic_1d.generic_domain import *9 from anuga_1d.generic.generic_domain import * 10 10 11 11 class Dirichlet_boundary(Boundary): -
anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py
r7839 r7840 45 45 import numpy 46 46 47 from flow_1d.generic_1d.generic_domain import Generic_domain47 from anuga_1d.generic.generic_domain import Generic_domain 48 48 from sww_boundary_conditions import * 49 49 from sww_forcing_terms import * … … 65 65 tagged_elements = tagged_elements) 66 66 67 from flow_1d.config import minimum_allowed_height, g, h067 from anuga_1d.config import minimum_allowed_height, g, h0 68 68 self.minimum_allowed_height = minimum_allowed_height 69 69 self.g = g … … 84 84 85 85 #Reduction operation for get_vertex_values 86 from flow_1d.utilities.util import mean86 from anuga_1d.generic.util import mean 87 87 self.reduction = mean 88 88 #self.reduction = min #Looks better near steep slopes … … 152 152 153 153 154 from flow_1d.sww_flow.sww_comp_flux_ext import compute_fluxes_ext_short154 from anuga_1d.sww.sww_comp_flux_ext import compute_fluxes_ext_short 155 155 156 156 #self.flux_timestep = compute_fluxes_ext(timestep,self,stage,xmom,bed,height,velocity) … … 235 235 236 236 import sys 237 from flow_1d.config import epsilon, h0237 from anuga_1d.config import epsilon, h0 238 238 239 239 N = domain.number_of_elements -
anuga_work/development/2010-projects/anuga_1d/sww/sww_forcing_terms.py
r7839 r7840 14 14 """ 15 15 16 from flow_1d.utilities.util import gradient16 from anuga_1d.generic.util import gradient 17 17 18 18 xmom = domain.quantities['xmomentum'].explicit_update -
anuga_work/development/2010-projects/anuga_1d/sww/sww_python.py
r7839 r7840 132 132 """ 133 133 134 from flow_1d.config import g, epsilon, h0134 from anuga_1d.config import g, epsilon, h0 135 135 from math import sqrt 136 136 import numpy -
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 -
anuga_work/development/2010-projects/anuga_1d/test_all.py
r7839 r7840 23 23 24 24 # Directories that should not be searched for test files. 25 exclude_dirs = ['channel _flow', # Special requirements26 '.svn', 25 exclude_dirs = ['channel', # Special requirements 26 '.svn', # subversion 27 27 'props', 'wcprops', 'prop-base', 'text-base', 'tmp'] 28 28
Note: See TracChangeset
for help on using the changeset viewer.