Changeset 8303 for trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py
- Timestamp:
- Jan 18, 2012, 1:32:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py
r8300 r8303 25 25 # Related major packages 26 26 import anuga 27 from anuga.abstract_2d_finite_volumes.util import add_directories 27 28 28 import PyVM 29 import liststore 29 home = os.getenv('INUNDATIONHOME') 30 scenariodir = add_directories(home, ["data","mem_time_test", "triangles", 31 "rectanglecross"]) 32 33 34 file = 'CAIRNS.sww' 35 file_path = os.path.join(scenariodir, file) 36 37 h = 'CAIRNS.msh' 38 file_pathh = os.path.join(scenariodir, h) 39 30 40 31 41 def runex(l,a): 32 42 33 PyVM.MemoryUpdate() 43 34 44 #------------------------------------------------------------------------------ 35 45 # Create the triangular mesh and domain based on … … 47 57 # Setup parameters of computational domain 48 58 #------------------------------------------------------------------------------ 49 domain.set_name('CAIRNS ') # Name of sww file50 domain.set_datadir( '.') # Store sww output here59 domain.set_name('CAIRNS.sww') # Name of sww file 60 domain.set_datadir(scenariodir) # Store sww output here 51 61 52 62 #------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.