Changeset 5320 for anuga_validation
- Timestamp:
- May 14, 2008, 1:59:49 PM (17 years ago)
- Location:
- anuga_validation/performance_tests
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/performance_tests/run_profile.py
r5297 r5320 66 66 67 67 S = pstats.Stats(FN) 68 #S.sort_stats('time').print_stats(20) 69 s = S.sort_stats('cumulative').print_stats(30) 68 s = S.sort_stats('cumulative').print_stats(20) 70 69 71 70 print s 71 72 -
anuga_validation/performance_tests/run_profile2.py
r3568 r5320 14 14 Dirichlet_boundary,\ 15 15 Transmissive_boundary, Time_boundary 16 17 from anuga.shallow_water.shallow_water_domain\18 import Weir_simple as Weir, Constant_height19 16 20 17 from mesh_factory import rectangular … … 55 52 ###################### 56 53 #Initial condition 57 domain.set_quantity('stage', Constant_height(slope, 0.3))54 domain.set_quantity('stage', expression='elevation + 0.3') 58 55 59 56 domain.check_integrity()
Note: See TracChangeset
for help on using the changeset viewer.