Changeset 8072
- Timestamp:
- Nov 18, 2010, 5:43:16 PM (14 years ago)
- Location:
- trunk/anuga_core/source/anuga/shallow_water_balanced
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water_balanced/swb_domain.py
r7616 r8072 82 82 self.set_timestepping_method(2) 83 83 self.set_default_order(2) 84 self.set_ new_mannings_function(True)84 self.set_sloped_mannings_function(True) 85 85 self.set_centroid_transmissive_bc(True) 86 86 self.set_CFL(1.0) -
trunk/anuga_core/source/anuga/shallow_water_balanced/test_swb_forcing_terms.py
r7869 r8072 222 222 223 223 224 def test_manning_friction_ old(self):224 def test_manning_friction_not_sloped(self): 225 225 from anuga.config import g 226 226 … … 239 239 240 240 #Turn old mannings function on 241 domain.set_ new_mannings_function(False)241 domain.set_sloped_mannings_function(False) 242 242 243 243 #Set up for a gradient of (3,0) at mid triangle (bce) … … 301 301 302 302 303 def test_manning_friction_ new(self):303 def test_manning_friction_sloped(self): 304 304 from anuga.config import g 305 305 … … 319 319 # Use the new function which takes into account the extra 320 320 # wetted area due to slope of bed 321 domain.set_ new_mannings_function(True)321 domain.set_sloped_mannings_function(True) 322 322 323 323 #Set up for a gradient of (3,0) at mid triangle (bce)
Note: See TracChangeset
for help on using the changeset viewer.