Changeset 3197
- Timestamp:
- Jun 21, 2006, 5:23:56 PM (19 years ago)
- Location:
- documentation/user_manual/examples
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/examples/runup.py
r3110 r3197 63 63 # Evolve system through time 64 64 #------------------------------------------------------------------------------ 65 65 stagestep = [] 66 66 for t in domain.evolve(yieldstep = 0.1, finaltime = 4.0): 67 67 domain.write_time() 68 stagestep.append(max(domain.get_quantity('stage'))) 68 69 70 71 s = '%.2f, %.2f\n' %(t, max(stagestep)) 72 fid.write(s) 73 74
Note: See TracChangeset
for help on using the changeset viewer.