Changeset 3197


Ignore:
Timestamp:
Jun 21, 2006, 5:23:56 PM (19 years ago)
Author:
sexton
Message:

thoughts for year 10 student

Location:
documentation/user_manual/examples
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/examples/runup.py

    r3110 r3197  
    6363# Evolve system through time
    6464#------------------------------------------------------------------------------
    65 
     65stagestep = []
    6666for t in domain.evolve(yieldstep = 0.1, finaltime = 4.0):
    6767    domain.write_time()
     68    stagestep.append(max(domain.get_quantity('stage')))
    6869
     70
     71s = '%.2f, %.2f\n' %(t, max(stagestep))
     72fid.write(s)
     73   
     74
Note: See TracChangeset for help on using the changeset viewer.