Changeset 6472 for branches/numpy/anuga/shallow_water/tsunami_okada.py
- Timestamp:
- Mar 5, 2009, 2:48:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/shallow_water/tsunami_okada.py
r6410 r6472 215 215 yrec=x 216 216 for i in range(0,len(zrec[0])): 217 if (num.alltrue(zrec[0][i]==yrec) and 218 num.alltrue(zrec[1][i]==xrec)): 217 if (num.any(zrec[0][i]==yrec) and num.any(zrec[1][i]==xrec)): 219 218 Z=zrec[2][i] 220 219 Z=0.001*Z
Note: See TracChangeset
for help on using the changeset viewer.