Changeset 9078
- Timestamp:
- Apr 10, 2014, 3:01:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/utilities/plot_utils.py
r9075 r9078 738 738 if(output_quantity=='depth'): 739 739 gridq=p2.height[myTS,:][gridqInd] 740 gridq=gridq*(gridq>=0.) # Force positive depth (tsunami alg) 740 741 if(output_quantity=='velocity'): 741 742 gridq=p2.vel[myTS,:][gridqInd] … … 751 752 if(output_quantity=='depth'): 752 753 gridq=p2.height.max(axis=0)[gridqInd] 754 gridq=gridq*(gridq>=0.) # Force positive depth (tsunami alg) 753 755 if(output_quantity=='velocity'): 754 756 gridq=p2.vel.max(axis=0)[gridqInd]
Note: See TracChangeset
for help on using the changeset viewer.