Changeset 5741 for anuga_work/development/anuga_1d/test_shallow_water.py
- Timestamp:
- Sep 5, 2008, 9:16:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anuga_1d/test_shallow_water.py
r5738 r5741 5 5 6 6 7 from shallow_water_domain import *8 from shallow_water_domain import flux_function as domain_flux_function7 from shallow_water_domain_new import * 8 from shallow_water_domain_new import flux_function as domain_flux_function 9 9 10 10 from Numeric import allclose, array, ones, Float, maximum, zeros … … 41 41 #print domain.quantities['stage'].explicit_update 42 42 #print domain.quantities['xmomentum'].explicit_update 43 #print stage_ud43 print stage_ud 44 44 45 45 assert allclose( domain.quantities['stage'].explicit_update, stage_ud ) … … 133 133 134 134 domain.default_order = 1 135 domain.default_time_order = 1 135 domain.set_timestepping_method('euler') 136 136 137 yieldstep=1.0 137 138 finaltime=1.0 … … 167 168 168 169 domain.default_order = 2 169 domain. default_time_order = 1170 domain.set_timestepping_method('rk2') 170 171 yieldstep=1.0 171 172 finaltime=1.0 … … 191 192 192 193 domain.default_order = 2 193 domain.default_time_order = 2 194 domain.set_timestepping_method('rk3') 195 194 196 yieldstep=1.0 195 197 finaltime=1.0
Note: See TracChangeset
for help on using the changeset viewer.