Changeset 5439
 Timestamp:
 Jun 26, 2008, 10:58:08 AM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

anuga_work/development/demos/twolevels.py
r4539 r5439 9 9 # 10 10 from os import sep, path 11 from mesh_factory import rectangular 12 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary,\ 13 Constant_height 11 from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular 12 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary 14 13 from Numeric import array 15 from anuga. pyvolution.utilimport Polygon_function, read_polygon14 from anuga.utilities.polygon import Polygon_function, read_polygon 16 15 17 16 … … 33 32 #PLAY WITH THIS [0;1]: 34 33 # 35 # beta_h == 0.0 reveals the problem 36 # beta_h > 0.2 alleviates it 37 domain.beta_h = 0.2 34 # To reveal the problem set 35 # domain.tight_slope_limiters = False 36 domain.tight_slope_limiters = False 37 # To fix it set 38 #domain.tight_slope_limiters = True 39 domain.tight_slope_limiters = True 40 38 41 39 42 #IC
Note: See TracChangeset
for help on using the changeset viewer.