- Timestamp:
- Dec 11, 2008, 10:26:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/UQ_runup_2006/run_dam.py
r4774 r6056 18 18 # Related major packages 19 19 from anuga.shallow_water import Domain, Reflective_boundary, \ 20 20 Dirichlet_boundary, Time_boundary, File_boundary 21 21 from anuga.abstract_2d_finite_volumes.region import Set_region 22 22 from anuga.fit_interpolate.interpolate import interpolate_sww2csv, \ … … 25 25 copy_code_files 26 26 from anuga.shallow_water.data_manager import csv2dict 27 from numerical_tools import err # norm, corr,27 from numerical_tools import err 28 28 29 29 # Application specific imports 30 30 import create_mesh 31 31 import project 32 def main(): 33 32 33 def main(): 34 34 slope= 0 35 35 friction = 0.01 … … 52 52 53 53 head,tail = path.split(project.mesh_filename) 54 54 55 #------------------------------------------------------------------------- 55 56 # Setup computational domain 56 57 #------------------------------------------------------------------------- 57 58 domain = Domain(project.mesh_filename, use_cache = False, verbose = False) 58 59 60 61 59 domain.set_name(project.basename) 62 60 domain.set_datadir('.')
Note: See TracChangeset
for help on using the changeset viewer.