Changeset 4299 for anuga_validation/okushiri_2005/run_okushiri_parallel.py
- Timestamp:
- Mar 12, 2007, 12:09:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/run_okushiri_parallel.py
r4022 r4299 21 21 """ 22 22 23 # To know quickly if pypar can be imported 24 import imp 25 print " imp.find_module('pypar')", imp.find_module('pypar') 26 import pypar 27 23 28 # Module imports 24 29 from anuga.shallow_water import Domain … … 27 32 from anuga.abstract_2d_finite_volumes.util import file_function 28 33 29 #from anuga_parallel.parallel_api import myid, numprocs, distribute34 from anuga_parallel.parallel_api import myid, numprocs, distribute 30 35 31 36 import project 32 37 33 38 use_cache = True 34 39 #------------------------- 35 40 # Create Domain from mesh 36 41 #------------------------- 37 domain = Domain(project.mesh_filename, use_cache= True, verbose=True)42 domain = Domain(project.mesh_filename, use_cache=use_cache, verbose=True) 38 43 print domain.statistics() 39 44 … … 48 53 alpha=0.02, 49 54 verbose=True, 50 use_cache= True)55 use_cache=use_cache) 51 56 52 57
Note: See TracChangeset
for help on using the changeset viewer.