Ignore:
Timestamp:
Jan 18, 2012, 1:32:53 PM (13 years ago)
Author:
pittj
Message:

adding scripts for the memory and time experiments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/mem_time_tests/triangles/rectanglecross/runcairns.py

    r8300 r8303  
    2525# Related major packages
    2626import anuga
     27from anuga.abstract_2d_finite_volumes.util import add_directories
    2728
    28 import PyVM
    29 import liststore
     29home = os.getenv('INUNDATIONHOME')
     30scenariodir = add_directories(home, ["data","mem_time_test", "triangles",
     31                                     "rectanglecross"])
     32
     33
     34file = 'CAIRNS.sww'
     35file_path = os.path.join(scenariodir, file)
     36
     37h = 'CAIRNS.msh'
     38file_pathh = os.path.join(scenariodir, h)
     39
    3040
    3141def runex(l,a):
    3242
    33     PyVM.MemoryUpdate()
     43
    3444#------------------------------------------------------------------------------
    3545# Create the triangular mesh and domain based on
     
    4757# Setup parameters of computational domain
    4858#------------------------------------------------------------------------------
    49     domain.set_name('CAIRNS') # Name of sww file
    50     domain.set_datadir('.')                       # Store sww output here
     59    domain.set_name('CAIRNS.sww') # Name of sww file
     60    domain.set_datadir(scenariodir)                       # Store sww output here
    5161
    5262#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.