Changeset 4445
- Timestamp:
- May 16, 2007, 11:23:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/examples/island.py
r4305 r4445 33 33 'top': [2], 34 34 'left': [3]}, 35 maximum_triangle_area = 0.5,35 maximum_triangle_area = 5, 36 36 filename = 'island.msh' , 37 37 interior_regions=[ ([[50,25], [70,25], [70,75], [50,75]], 10.0)] … … 43 43 #Create shallow water domain 44 44 domain = Domain(mesh_filename = 'island.msh') 45 domain.smooth = False 46 domain.set_name('island') 45 domain.smooth = False #True 46 domain.set_name('island_unique') 47 #domain.set_name('island_not_unique') 47 48 domain.default_order = 2 48 49 … … 109 110 110 111 import time 111 for t in domain.evolve(yieldstep = 1, finaltime = 5 0):112 for t in domain.evolve(yieldstep = 1, finaltime = 5): 112 113 domain.write_time() 113 114 #if allclose(t, 100):
Note: See TracChangeset
for help on using the changeset viewer.