Changeset 3944 for anuga_work/development/cairns_2006/run_cairns.py
- Timestamp:
- Nov 8, 2006, 5:16:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/cairns_2006/run_cairns.py
r3846 r3944 9 9 #------------------------------- 10 10 import sys, os 11 from anuga. pyvolution.shallow_water import Domain, Reflective_boundary,\11 from anuga.shallow_water import Domain, Reflective_boundary,\ 12 12 File_boundary, Transmissive_Momentum_Set_Stage_boundary,\ 13 13 Transmissive_boundary, Dirichlet_boundary 14 from anuga.pyvolution.mesh_factory import rectangular_cross 15 from anuga.pyvolution.pmesh2domain import pmesh_to_domain_instance 14 #from anuga.pyvolution.mesh_factory import rectangular_cross 15 #from anuga.pmesh2domain import pmesh_to_domain_instance 16 from anuga.pmesh.mesh_interface import create_mesh_from_regions 16 17 from Numeric import array, zeros, Float, allclose 17 18 import cairns_project as project … … 41 42 """ 42 43 43 domain = cache(pmesh_to_domain_instance, 44 (project.mesh_filename, Domain), 45 dependencies = [project.mesh_filename]) 44 #cache(pmesh_to_domain_instance, 45 # (project.mesh_filename, Domain), 46 # dependencies = [project.mesh_filename]) 47 domain = Domain(project.mesh_filename, use_cache = True, verbose = True) 46 48 47 49 domain.check_integrity()
Note: See TracChangeset
for help on using the changeset viewer.