Changeset 6633


Ignore:
Timestamp:
Mar 26, 2009, 3:27:32 PM (15 years ago)
Author:
ted
Message:

Segments without tags now trigger a warning only in lieu of the exception raised previously so that flood models can continue to use the default 'exterior' tag. This disables the exception raised in changeset:6177.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/pmesh/mesh_interface.py

    r6180 r6633  
    147147                    found = True
    148148            if found is False:
    149                 msg = 'Segment %d was not asigned a boundary_tag' %i
    150                 raise Exception, msg
     149                msg = 'Segment %d was not assigned a boundary_tag.' % i
     150                msg +=  'Default tag "exterior" will be assigned to missing segment'
     151                #raise Exception, msg
     152                # Fixme: Use proper Python warning
     153                print 'WARNING: ', msg
    151154               
    152155
Note: See TracChangeset for help on using the changeset viewer.