Ignore:
Timestamp:
May 22, 2009, 4:40:11 PM (11 years ago)
Author:
rwilson
Message:

Fiddling with layout of user guide.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/documentation/user_manual/demos/channel1.py

    r5173 r7064  
    1212from anuga.shallow_water import Dirichlet_boundary
    1313
    14 
    1514#------------------------------------------------------------------------------
    1615# Setup computational domain
     
    2120domain = Domain(points, vertices, boundary)  # Create domain
    2221domain.set_name('channel1')                  # Output name
    23 
    2422
    2523#------------------------------------------------------------------------------
     
    3432                    expression='elevation + 0.0') 
    3533
    36 
    3734#------------------------------------------------------------------------------
    3835# Setup boundary conditions
     
    4340domain.set_boundary({'left': Bi, 'right': Br, 'top': Br, 'bottom': Br})
    4441
    45 
    4642#------------------------------------------------------------------------------
    4743# Evolve system through time
    4844#------------------------------------------------------------------------------
    49 for t in domain.evolve(yieldstep = 0.2, finaltime = 40.0):
     45for t in domain.evolve(yieldstep=0.2, finaltime=40.0):
    5046    print domain.timestepping_statistics()
    51 
    52 
Note: See TracChangeset for help on using the changeset viewer.