Changeset 2596 in lmdz_wrf
- Timestamp:
- Jun 6, 2019, 9:34:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2595 r2596 14459 14459 pti = [vertices[iv,0], vertices[iv,1]] 14460 14460 pte = [vertices[iv+1,0], vertices[iv+1,1]] 14461 ddx = (pte[0]-pti[0])/(Nint-1 )14462 ddy = (pte[1]-pti[1])/(Nint-1 )14461 ddx = (pte[0]-pti[0])/(Nint-1.) 14462 ddy = (pte[1]-pti[1])/(Nint-1.) 14463 14463 if np.abs(ddx) < 1.e-7: ddx = 0. 14464 14464 if np.abs(ddy) < 1.e-7: ddy = 0.
Note: See TracChangeset
for help on using the changeset viewer.