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/channel2.py

    r6889 r7064  
    1313from anuga.shallow_water import Time_boundary
    1414
    15 
    1615#------------------------------------------------------------------------------
    1716# Setup computational domain
     
    2625domain.set_name('channel2')                 # Output name
    2726
    28 
    2927#------------------------------------------------------------------------------
    3028# Setup initial conditions
     
    3836                    expression='elevation')  # Dry initial condition
    3937
    40 
    4138#------------------------------------------------------------------------------
    4239# Setup boundary conditions
     
    4845domain.set_boundary({'left': Bi, 'right': Br, 'top': Br, 'bottom': Br})
    4946
    50 
    5147#------------------------------------------------------------------------------
    5248# Evolve system through time
    5349#------------------------------------------------------------------------------
    54 for t in domain.evolve(yieldstep = 0.2, finaltime = 40.0):
     50for t in domain.evolve(yieldstep=0.2, finaltime=40.0):
    5551    print domain.timestepping_statistics()
    5652
     
    5955        print 'Stage > 0: Changing to outflow boundary'
    6056        domain.set_boundary({'right': Bo})
    61 
    62 
    63 
    64 
Note: See TracChangeset for help on using the changeset viewer.