Changeset 1194


Ignore:
Timestamp:
Apr 4, 2005, 4:25:35 PM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

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

    r1178 r1194  
    171171        #Call check integrity here rather than from user scripts
    172172        #self.check_integrity()
     173
     174        msg = 'Parameter beta_h must be in the interval [0, 1['
     175        assert 0 <= self.beta_h < 1.0, msg
     176        msg = 'Parameter beta_w must be in the interval [0, 1['       
     177        assert 0 <= self.beta_w < 1.0, msg       
    173178
    174179
Note: See TracChangeset for help on using the changeset viewer.