Changeset 6723
- Timestamp:
- Apr 6, 2009, 10:52:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/albany/project.py
r6672 r6723 19 19 scenario_name = 'albany' 20 20 scenario_folder = scenario_name 21 21 22 22 23 #------------------------------------------------------------------------------- … … 37 38 friction=0.01 # manning's friction coefficient 38 39 starttime=0 # start time for simulation 39 finaltime= 80000 # final time for simulation40 finaltime=10000 # final time for simulation 40 41 41 42 # index is only used when wave = Tb … … 43 44 wave = 'Tb' # Bf (sts wave) Tb (index wave) 44 45 45 setup = ' final' # This can be one of three values46 setup = 'trial' # This can be one of three values 46 47 # trial - coarsest mesh, fast 47 48 # basic - coarse mesh … … 143 144 144 145 146 # Specify if share cache is to be used 147 # Whatever is specified here will be relative to INUNDATION_HOME/.cache 148 # If nothing is specified, local cache will be used. 149 cachedir = '.python_cache_phII' 150 151 145 152 ################################################################################ 146 153 ################################################################################ … … 162 169 ENV_MUXHOME = 'MUXHOME' 163 170 171 164 172 #------------------------------------------------------------------------------- 165 173 # Output Elevation Data … … 183 191 home = join(os.getenv(ENV_INUNDATIONHOME), 'data') # Absolute path for data folder 184 192 muxhome = os.getenv(ENV_MUXHOME) 193 194 # Create absolute pathname for cache directory 195 # and change caching to use it 196 if 'cachedir' in dir(): 197 cachedir = join(os.getenv(ENV_INUNDATIONHOME), '.cache', cachedir) 198 from anuga.caching import caching 199 caching.set_option('cachedir', cachedir) 200 185 201 186 202 # check various directories/files that must exist
Note: See TracChangeset
for help on using the changeset viewer.