Changeset 7846 for anuga_validation/performance_tests/run_profile.py
- Timestamp:
- Jun 16, 2010, 8:23:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/performance_tests/run_profile.py
r7276 r7846 6 6 ###################### 7 7 # Module imports 8 from anuga.shallow_water import Domain, Reflective_boundary 9 from mesh_factory import rectangular 10 #import numpy as num # not used? 11 8 import anuga 12 9 13 10 ###################### … … 21 18 print 'Creating domain' 22 19 #Create basic mesh 23 points, vertices, boundary = rectangular(N, N)20 points, vertices, boundary = anuga.rectangular(N, N) 24 21 25 22 #Create shallow water domain 26 domain = Domain(points, vertices, boundary)23 domain = anuga.Domain(points, vertices, boundary) 27 24 domain.set_default_order(2) 28 25 domain.set_quantities_to_be_stored(None) … … 41 38 42 39 print 'Setting boundary conditions' 43 Br = Reflective_boundary(domain)40 Br = anuga.Reflective_boundary(domain) 44 41 domain.set_boundary({'left': Br, 'right': Br, 'bottom': Br, 'top': Br}) 45 42
Note: See TracChangeset
for help on using the changeset viewer.