Changeset 2453 in lmdz_wrf
- Timestamp:
- Apr 21, 2019, 10:09:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/geometry_tools.py
r2452 r2453 271 271 if axis == 'x': 272 272 for iv in range(N): 273 reflex[iv,:] = [-polygon[iv, 1], polygon[iv,0]]273 reflex[iv,:] = [-polygon[iv,0], polygon[iv,1]] 274 274 elif axis == 'y': 275 275 for iv in range(N): 276 reflex[iv,:] = [polygon[iv, 1], -polygon[iv,0]]276 reflex[iv,:] = [polygon[iv,0], -polygon[iv,1]] 277 277 278 278 return reflex
Note: See TracChangeset
for help on using the changeset viewer.