Changeset 3649
- Timestamp:
- Sep 21, 2006, 4:28:39 PM (17 years ago)
- Location:
- anuga_core/source/anuga/abstract_2d_finite_volumes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/generic_boundary_conditions.py
r3560 r3649 17 17 def evaluate(self, vol_id=None, edge_id=None): 18 18 msg = 'Generic class Boundary must be subclassed' 19 raise msg19 raise Exception, msg 20 20 21 21 … … 32 32 if domain is None: 33 33 msg = 'Domain must be specified for transmissive boundary' 34 raise msg34 raise Exception, msg 35 35 36 36 self.domain = domain … … 59 59 if conserved_quantities is None: 60 60 msg = 'Must specify one value for each conserved quantity' 61 raise msg61 raise Exception, msg 62 62 63 63 from Numeric import array, Float -
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r3629 r3649 211 211 %(str(missing), filename) 212 212 fid.close() 213 raise msg213 raise Exception, msg 214 214 215 215 #Decide whether this data has a spatial dimension
Note: See TracChangeset
for help on using the changeset viewer.