- Timestamp:
- Jun 2, 2014, 12:50:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/structure_operator.py
r9013 r9130 212 212 new_inflow_xmom = old_inflow_xmom*factor 213 213 new_inflow_ymom = old_inflow_ymom*factor 214 214 215 215 self.inflow.set_depths(new_inflow_depth) 216 216 … … 251 251 new_inflow_xmom = old_inflow_xmom/old_inflow_depth*new_inflow_depth 252 252 new_inflow_ymom = old_inflow_ymom/old_inflow_depth*new_inflow_depth 253 254 253 self.inflow.set_depths(new_inflow_depth) 255 254 self.inflow.set_xmoms(new_inflow_xmom)
Note: See TracChangeset
for help on using the changeset viewer.