Changeset 557


Ignore:
Timestamp:
Nov 16, 2004, 2:44:00 PM (20 years ago)
Author:
ole
Message:

Linear friction term

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/shallow_water.py

    r554 r557  
    865865def linear_friction(domain):
    866866    """Apply linear friction to water momentum
     867
     868    Assumes quantity: 'linear_friction' to be present
    867869    """
    868870
     
    875877    uh = domain.quantities['xmomentum'].centroid_values
    876878    vh = domain.quantities['ymomentum'].centroid_values
    877     eta = domain.quantities['friction'].centroid_values   
     879    eta = domain.quantities['linear_friction'].centroid_values   
    878880   
    879881    xmom_update = domain.quantities['xmomentum'].semi_implicit_update
Note: See TracChangeset for help on using the changeset viewer.