Changeset 4087 for anuga_core/documentation/user_manual
- Timestamp:
- Dec 18, 2006, 3:00:03 PM (18 years ago)
- Location:
- anuga_core/documentation/user_manual
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/demos/cairns/GetTimeseries.py
r3979 r4087 21 21 22 22 # nominate directory location of sww file with associated attribute 23 production_dirs = {'slump': 'Slump', 24 'fixedwave': 'Fixed Wave'} 23 production_dirs = {'slide': 'Slide'} 25 24 26 25 # Generate figures 27 26 swwfiles = {} 28 27 for label_id in production_dirs.keys(): 29 file_loc = project.outputdir +label_id + sep30 swwfile = file_loc + project.basename + production_dirs[label_id] + '.sww'28 file_loc = label_id + sep 29 swwfile = file_loc + label_id + 'source.sww' 31 30 swwfiles[swwfile] = label_id 32 31 -
anuga_core/documentation/user_manual/demos/cairns/runcairns.py
r4063 r4087 167 167 if scenario == 'slide': 168 168 169 for t in domain.evolve(yieldstep = 5, finaltime = 60):169 for t in domain.evolve(yieldstep = 10, finaltime = 60): 170 170 domain.write_time() 171 171 domain.write_boundary_statistics(tags = 'ocean_east') … … 178 178 domain.set_quantity('stage', slide + thisstagestep) 179 179 180 # save every two mins leading up to wave approaching land 181 for t in domain.evolve(yieldstep = 5, finaltime = 5000, 180 for t in domain.evolve(yieldstep = 10, finaltime = 5000, 182 181 skip_initial_step = True): 183 182 domain.write_time() 184 183 domain.write_boundary_statistics(tags = 'ocean_east') 185 186 184 187 185 if scenario == 'fixed_wave':
Note: See TracChangeset
for help on using the changeset viewer.