- Timestamp:
- Nov 21, 2006, 3:02:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/demos/cairns/runcairns.py
r4003 r4021 35 35 # Define scenario as either slump or fixed_wave. 36 36 #------------------------------------------------------------------------------- 37 scenario = 'slump' # OR 'fixed_wave' 37 #scenario = 'slump' # OR 38 scenario = 'fixed_wave' 38 39 if access(scenario,F_OK) == 0: 39 40 mkdir (scenario) … … 193 194 domain.write_boundary_statistics(tags = 'ocean_east') 194 195 195 196 197 198 199 196 # save every 30 secs as wave starts inundating ashore 197 for t in domain.evolve(yieldstep = 30, finaltime = 10000, 198 skip_initial_step = True): 199 domain.write_time() 200 domain.write_boundary_statistics(tags = 'ocean_east') 200 201 201 202 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.