Changeset 8024
- Timestamp:
- Sep 21, 2010, 5:55:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/structure_operator.py
r8021 r8024 109 109 old_inflow_xmom = self.inflow.get_average_xmom() 110 110 old_inflow_ymom = self.inflow.get_average_ymom() 111 111 112 # Implement the update of flow over a timestep by 113 # using a semi-implict update. This ensures that 114 # the update does not create a negative height 112 115 if old_inflow_height > 0.0 : 113 116 Q_star = Q/old_inflow_height
Note: See TracChangeset
for help on using the changeset viewer.