Ignore:
Timestamp:
Dec 2, 2004, 2:11:36 PM (20 years ago)
Author:
ole
Message:

Added functionality for settimng quantities according to polygons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/shallow_water.py

    r623 r659  
    8181        bed = self.quantities['elevation']       
    8282
    83         msg = 'All water levels must be greater than the bed elevation'
    84         assert alltrue( greater_equal(
    85             level.vertex_values, bed.vertex_values )), msg
    86 
    87         assert alltrue( greater_equal(
    88             level.edge_values, bed.edge_values )), msg
    89 
    90         assert alltrue( greater_equal(
    91             level.centroid_values, bed.centroid_values )), msg       
     83        #msg = 'All water levels must be greater than the bed elevation'
     84        #assert alltrue( greater_equal(
     85        #    level.vertex_values, bed.vertex_values )), msg
     86        #
     87        #assert alltrue( greater_equal(
     88        #    level.edge_values, bed.edge_values )), msg
     89        #
     90        #assert alltrue( greater_equal(
     91        #    level.centroid_values, bed.centroid_values )), msg       
    9292
    9393
Note: See TracChangeset for help on using the changeset viewer.