Changeset 1111


Ignore:
Timestamp:
Mar 19, 2005, 9:00:34 AM (20 years ago)
Author:
duncan
Message:

comments

File:
1 edited

Legend:

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

    r1108 r1111  
    9696        domain.set_quantity('elevation', 10.0)
    9797        domain.set_quantity('stage', give_me_23)
     98        #this works as well, (is cleaner, but doesn't work for regions)
     99        #domain.set_quantity('stage',
     100        #                    domain.quantities['stage'].vertex_values+ \
     101        #                    domain.quantities['elevation'].vertex_values)
    98102        domain.set_region(Add_quantities('top', 'elevation','stage'))
    99         #print domain.quantities['elevation'].get_values()
     103        print domain.quantities['stage'].get_values()
    100104        assert allclose(domain.quantities['elevation'].get_values(),
    101105                        [[ 10., 10., 10.],
Note: See TracChangeset for help on using the changeset viewer.