- Timestamp:
- Jul 4, 2007, 11:41:43 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py
r4583 r4584 295 295 296 296 # Treat special case: Polygon situation 297 # Location will be ignored and set to 'centroids' 297 298 # FIXME (Ole): This needs to be generalised and 298 299 # perhaps the notion of location and indices simplified 300 299 301 if polygon is not None: 300 302 if indices is not None: 301 303 msg = 'Only one of polygon and indices can be specified' 302 304 raise Exception, msg 303 304 305 305 306 msg = 'With polygon selected, set_quantity must provide '
Note: See TracChangeset
for help on using the changeset viewer.