Ignore:
Timestamp:
Feb 17, 2005, 5:36:29 PM (20 years ago)
Author:
ole
Message:

Addressed problem with artificial momentum generated by discontinuous water depths in the presence of steep slopes.
Now very shallow water is limited with a separate h-limiter controlled by beta_h
(see config.py) for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/domain.py

    r851 r907  
    5252
    5353        #Defaults
    54         from config import max_smallsteps, beta, epsilon
    55         self.beta = beta
     54        from config import max_smallsteps, beta_w, beta_h, epsilon
     55        self.beta_w = beta_w
     56        self.beta_h = beta_h       
    5657        self.epsilon = epsilon
     58
     59        #FIXME: Maybe have separate orders for h-limiter and w-limiter?
     60        #Or maybe get rid of order altogether and use beta_w and beta_h
    5761        self.default_order = 1
    5862        self.order = self.default_order
Note: See TracChangeset for help on using the changeset viewer.