Changeset 8024


Ignore:
Timestamp:
Sep 21, 2010, 5:55:27 PM (14 years ago)
Author:
steve
Message:

Added a comment to updating structure operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/structures/structure_operator.py

    r8021 r8024  
    109109        old_inflow_xmom = self.inflow.get_average_xmom()
    110110        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
    112115        if old_inflow_height > 0.0 :
    113116                Q_star = Q/old_inflow_height
Note: See TracChangeset for help on using the changeset viewer.