Changeset 1233 in lmdz_wrf for trunk/tools/generic_tools.py
- Timestamp:
- Oct 26, 2016, 3:37:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1232 r1233 9892 9892 9893 9893 matAshape = list(matA.shape) 9894 print fname + '; Lluis matAshape:', matAshape9895 9894 9896 9895 # From: https://en.wikipedia.org/wiki/Finite_difference_coefficient … … 10293 10292 10294 10293 return newmat, Lopn[opn] 10295 print matoperations('centerderiv,1,8,0',np.arange(81.).reshape(9,9))10296 print matoperations('forwrdderiv,2,2,0',np.arange(81.).reshape(9,9))10297 print matoperations('upthres,4,3',np.arange(81).reshape(9,9))10298 print matoperations('lowthres@oper,37,divc,7',np.arange(81).reshape(9,9))10299 10294 10300 10295 #quit()
Note: See TracChangeset
for help on using the changeset viewer.