Changeset 1111
- Timestamp:
- Mar 19, 2005, 9:00:34 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/test_region.py
r1108 r1111 96 96 domain.set_quantity('elevation', 10.0) 97 97 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) 98 102 domain.set_region(Add_quantities('top', 'elevation','stage')) 99 #print domain.quantities['elevation'].get_values()103 print domain.quantities['stage'].get_values() 100 104 assert allclose(domain.quantities['elevation'].get_values(), 101 105 [[ 10., 10., 10.],
Note: See TracChangeset
for help on using the changeset viewer.