Changeset 7208 for branches/numpy/anuga/shallow_water/tsunami_okada.py
- Timestamp:
- Jun 17, 2009, 4:52:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/shallow_water/tsunami_okada.py
r7207 r7208 215 215 yrec=x 216 216 for i in range(0,len(zrec[0])): 217 if (num.a ll(zrec[0][i]==yrec) and num.all(zrec[1][i]==xrec)):217 if (num.any(zrec[0][i]==yrec) and num.any(zrec[1][i]==xrec)): 218 218 Z=zrec[2][i] 219 219 Z=0.001*Z
Note: See TracChangeset
for help on using the changeset viewer.