Ignore:
Timestamp:
Feb 6, 2015, 1:31:52 PM (10 years ago)
Author:
davies
Message:

Cleaning

File:
1 edited

Legend:

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

    r9620 r9634  
    210210        #if semi_implicit:   
    211211
     212        # FIXME: This update replaces Q with Q*new_inflow_depth/old_inflow_depth
     213        # This has good wetting and drying properties but means that
     214        # discharge != Q.
     215        # We should be able to check if old_inflow_depth*old_inflow_area > Q*dt,
     216        # and in that case we don't need this implicit trick, and could
     217        # have the discharge = Q (whereas in the nearly-dry case we want
     218        # the trick).
     219
    212220        # Implement the update of flow over a timestep by
    213221        # using a semi-implict update. This ensures that
Note: See TracChangeset for help on using the changeset viewer.