Changeset 8072


Ignore:
Timestamp:
Nov 18, 2010, 5:43:16 PM (13 years ago)
Author:
steve
Message:

Fixing up swb code

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  
    8282        self.set_timestepping_method(2)
    8383        self.set_default_order(2)
    84         self.set_new_mannings_function(True)
     84        self.set_sloped_mannings_function(True)
    8585        self.set_centroid_transmissive_bc(True)
    8686        self.set_CFL(1.0)
  • trunk/anuga_core/source/anuga/shallow_water_balanced/test_swb_forcing_terms.py

    r7869 r8072  
    222222
    223223
    224     def test_manning_friction_old(self):
     224    def test_manning_friction_not_sloped(self):
    225225        from anuga.config import g
    226226
     
    239239
    240240        #Turn old mannings function on
    241         domain.set_new_mannings_function(False)
     241        domain.set_sloped_mannings_function(False)
    242242
    243243        #Set up for a gradient of (3,0) at mid triangle (bce)
     
    301301
    302302
    303     def test_manning_friction_new(self):
     303    def test_manning_friction_sloped(self):
    304304        from anuga.config import g
    305305
     
    319319        # Use the new function which takes into account the extra
    320320        # wetted area due to slope of bed
    321         domain.set_new_mannings_function(True)
     321        domain.set_sloped_mannings_function(True)
    322322       
    323323        #Set up for a gradient of (3,0) at mid triangle (bce)
Note: See TracChangeset for help on using the changeset viewer.