Changeset 1853 for inundation/examples


Ignore:
Timestamp:
Sep 27, 2005, 1:31:12 PM (19 years ago)
Author:
ole
Message:

Tried non-equidistant timestepping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/examples/bedslope.py

    r1490 r1853  
    88# Module imports
    99#
    10 from mesh_factory import rectangular
    11 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary,\
    12      Constant_height, Time_boundary, Transmissive_boundary
     10from pyvolution.mesh_factory import rectangular
     11from pyvolution.shallow_water import Domain, Reflective_boundary,\
     12     Dirichlet_boundary, Constant_height, Time_boundary, Transmissive_boundary
    1313from Numeric import array
    1414
     
    5454######################
    5555#Evolution
    56 for t in domain.evolve(yieldstep = 0.01, finaltime = 5.0):
     56for t in domain.evolve(yieldstep = 0.1, finaltime = 3.0):
    5757    domain.write_time()
    5858
     59for t in domain.evolve(yieldstep = 0.01, finaltime = 4.0):
     60    domain.write_time()   
     61
Note: See TracChangeset for help on using the changeset viewer.