Ignore:
Timestamp:
Feb 14, 2007, 3:03:11 PM (18 years ago)
Author:
ole
Message:

Added set_minimum_allowed_height and updated user manual.
Played with Brad's dam break example.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/dam_test_from_brad_2007/dam_sample.py

    r4250 r4258  
    2828domain = Domain(points, vertices, boundary)   # Create domain
    2929domain.set_name('dam_sample')                 # Output name
    30 domain.set_store_vertices_uniquely(True)      # Look at the 'real' triangles
    31 domain.beta_h = 0
     30#domain.set_store_vertices_uniquely(True)      # Look at the 'real' triangles
     31domain.beta_h = 0.0
    3232domain.limit2007 = 1
     33domain.set_minimum_allowed_height(0.01)
    3334
    3435#------------------------------------------------------------------------------
     
    9293#------------------------------------------------------------------------------
    9394for t in domain.evolve(yieldstep = 0.2, finaltime = 20):
    94     domain.write_time(track_speeds=True)
     95    domain.write_time(track_speeds=False)
    9596
Note: See TracChangeset for help on using the changeset viewer.