Changeset 557
- Timestamp:
- Nov 16, 2004, 2:44:00 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water.py
r554 r557 865 865 def linear_friction(domain): 866 866 """Apply linear friction to water momentum 867 868 Assumes quantity: 'linear_friction' to be present 867 869 """ 868 870 … … 875 877 uh = domain.quantities['xmomentum'].centroid_values 876 878 vh = domain.quantities['ymomentum'].centroid_values 877 eta = domain.quantities[' friction'].centroid_values879 eta = domain.quantities['linear_friction'].centroid_values 878 880 879 881 xmom_update = domain.quantities['xmomentum'].semi_implicit_update
Note: See TracChangeset
for help on using the changeset viewer.