Ignore:
Timestamp:
Jun 22, 2010, 12:10:05 PM (12 years ago)
Author:
hudson
Message:

User manual improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/documentation/user_manual/demos/buildings.py

    r7838 r7867  
    7373                    })
    7474
    75 import cPickle
    7675
    7776#------------------------------------------------------------------------------
    7877# Evolve system through time
    7978#------------------------------------------------------------------------------
    80 #for t in domain.evolve(yieldstep=0.2, finaltime=15.0):
    81 #    print domain.timestepping_statistics()
    82 
    83 #cPickle.dump(domain, open('domain_pickle.txt', 'w'))
    84  
    85 domain = cPickle.load(open('domain_pickle.txt'))
    86 
     79for t in domain.evolve(yieldstep=0.2, finaltime=15.0):
     80    print domain.timestepping_statistics()
    8781   
    8882# now turn off the tap
Note: See TracChangeset for help on using the changeset viewer.