Changeset 4867
- Timestamp:
- Nov 30, 2007, 11:47:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r4836 r4867 1565 1565 center=None, radius=None, 1566 1566 flow=0.0, 1567 quantity_name = 'stage'): 1567 quantity_name='stage', 1568 verbose=False): 1568 1569 1569 1570 from math import pi … … 1582 1583 self.flow = flow 1583 1584 self.quantity_name = quantity_name 1585 self.verbose = verbose 1584 1586 1585 1587 def __call__(self, domain): … … 1605 1607 1606 1608 # Now flow is a number 1609 if self.verbose is True: 1610 print 'Inflow at time = %.2f = %f' %(domain.get_time(), 1611 flow) 1607 1612 1608 1613 quantity = domain.quantities[self.quantity_name].explicit_update
Note: See TracChangeset
for help on using the changeset viewer.