Changeset 1387 for inundation/ga/storm_surge/pyvolution/shallow_water.py
- Timestamp:
- May 13, 2005, 6:15:08 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water.py
r1363 r1387 1507 1507 1508 1508 1509 class Constant_stage: 1510 """Set an initial condition with constant stage 1511 """ 1512 def __init__(self, s): 1513 self.s = s 1514 1515 def __call__(self, x, y): 1516 return self.s 1517 1509 1518 class Constant_height: 1510 1519 """Set an initial condition with constant water height, e.g 1511 1520 stage s = z+h 1512 1521 """ 1522 1513 1523 def __init__(self, W, h): 1514 1524 self.W = W
Note: See TracChangeset
for help on using the changeset viewer.