Changeset 8712
- Timestamp:
- Feb 22, 2013, 10:37:34 AM (12 years ago)
- Location:
- trunk/anuga_core/documentation/user_manual/demos/cairns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/documentation/user_manual/demos/cairns/project.py
r8592 r8712 4 4 5 5 import anuga 6 7 8 #------------------------------------------------------------------------------ 9 # Runtime parameters 10 #------------------------------------------------------------------------------ 11 cache = False 12 verbose = True 6 13 7 14 #------------------------------------------------------------------------------ … … 51 58 # bigger base_scale == less triangles 52 59 base_scale = 100000 53 base_scale = 100000 060 base_scale = 100000 54 61 default_res = 100 * base_scale # Background resolution 55 62 islands_res = base_scale -
trunk/anuga_core/documentation/user_manual/demos/cairns/runcairns.py
r8592 r8712 31 31 #------------------------------------------------------------------------------ 32 32 # Create DEM from asc data 33 anuga.asc2dem(project.name_stem+'.asc', use_cache= True, verbose=True)33 anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose) 34 34 35 35 # Create pts file for onshore DEM 36 anuga.dem2pts(project.name_stem+'.dem', use_cache= True, verbose=True)36 anuga.dem2pts(project.name_stem+'.dem', use_cache=project.cache, verbose=project.verbose) 37 37 38 38 #------------------------------------------------------------------------------ … … 49 49 mesh_filename=project.meshname, 50 50 interior_regions=project.interior_regions, 51 use_cache= True,52 verbose= True)51 use_cache=project.cache, 52 verbose=project.verbose) 53 53 54 54 # Print some stats about mesh and domain … … 75 75 domain.set_quantity('elevation', 76 76 filename=project.name_stem + '.pts', 77 use_cache= True,78 verbose= True,77 use_cache=project.cache, 78 verbose=project.verbose, 79 79 alpha=0.1) 80 80 … … 92 92 alpha=0.0, 93 93 domain=domain, 94 verbose= True)94 verbose=project.verbose) 95 95 96 96 #------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.