Ignore:
Timestamp:
Jul 4, 2007, 11:41:43 AM (17 years ago)
Author:
ole
Message:

A bit more testing of polygons in set_quantity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py

    r4583 r4584  
    295295
    296296        # Treat special case: Polygon situation
     297        # Location will be ignored and set to 'centroids'
    297298        # FIXME (Ole): This needs to be generalised and
    298299        # perhaps the notion of location and indices simplified
     300       
    299301        if polygon is not None:
    300302            if indices is not None:
    301303                msg = 'Only one of polygon and indices can be specified'
    302304                raise Exception, msg
    303 
    304305
    305306            msg = 'With polygon selected, set_quantity must provide '
Note: See TracChangeset for help on using the changeset viewer.