Changeset 242 for trunk/SRC/Computation
- Timestamp:
- 04/06/07 10:35:17 (17 years ago)
- Location:
- trunk/SRC/Computation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Computation/curl.pro
r238 r242 10 10 ; Matrix representing the zonal coordinates (U point) of a field of vectors 11 11 ; A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 12 ; a 2D (xy), 3D (xyz or yt) array (4 dcase is not coded yet).13 ; note that the dimension of the array must suit the domain dimension.12 ; a 2D (xy), 3D (xyz or yt) array (4D case is not coded yet). 13 ; Note that the dimension of the array must suit the domain dimension. 14 14 ; 15 15 ; @param VV 16 16 ; Matrix representing the meridional coordinates (V point) of a field of vectors 17 17 ; A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 18 ; a 2D (xy), 3D (xyz or yt) array (4 dcase is not coded yet).19 ; note that the dimension of the array must suit the domain dimension.18 ; a 2D (xy), 3D (xyz or yt) array (4D case is not coded yet). 19 ; Note that the dimension of the array must suit the domain dimension. 20 20 ; 21 21 ; @keyword DIREC {type=scalar string} … … 36 36 ; - Works only for Arakawa C-grid. 37 37 ; - UU must be on U grid, VV must be on V grid 38 ; - 4 dcase is not coded yet38 ; - 4D case is not coded yet 39 39 ; - the common variable jpt is used to differ xyz (jpt=1) and xyt (jpt\=1) cases. 40 40 ; - U and V arrays are cut in the same geographic domain. Because of the shift between … … 61 61 ; 62 62 ; @todo 63 ; code the 4 dcase63 ; code the 4D case 64 64 ; 65 65 ;- -
trunk/SRC/Computation/div.pro
r238 r242 10 10 ; Matrix representing the zonal coordinates (U point) of a field of vectors 11 11 ; A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 12 ; a 2D (xy), 3D (xyz or yt) array (4 dcase is not coded yet).12 ; a 2D (xy), 3D (xyz or yt) array (4D case is not coded yet). 13 13 ; note that the dimension of the array must suit the domain dimension. 14 14 ; … … 16 16 ; Matrix representing the meridional coordinates (V point) of a field of vectors 17 17 ; A 2D (xy), 3D (xyz or yt) or a structure readable by litchamp and containing 18 ; a 2D (xy), 3D (xyz or yt) array (4 dcase is not coded yet).18 ; a 2D (xy), 3D (xyz or yt) array (4D case is not coded yet). 19 19 ; note that the dimension of the array must suit the domain dimension. 20 20 ; … … 36 36 ; - Works only for Arakawa C-grid. 37 37 ; - UU must be on U grid, VV must be on V grid 38 ; - 4 dcase is not coded yet38 ; - 4D case is not coded yet 39 39 ; - the common variable jpt is used to differ xyz (jpt=1) and xyt (jpt\=1) cases. 40 40 ; - U and V arrays are cut in the same geographic domain. Because of the shift between … … 60 60 ; 61 61 ; @todo 62 ; code the 4 dcase62 ; code the 4D case 63 63 ; 64 64 ;- 65 65 ; 66 FUNCTION div, uu, vv, DIREC = DIREC66 FUNCTION div, uu, vv, DIREC = direc 67 67 ; 68 68 compile_opt idl2, strictarrsubs -
trunk/SRC/Computation/grad.pro
r238 r242 9 9 ; @param FIELD 10 10 ; The field for which we want to compute the gradient. A 2D (xy), 11 ; 3D (xyz or yt) or 4D (xyzt) array or a structure readable by litchamp 11 ; 3D (xyz or yt) or 4D (xyzt) array or a structure readable by 12 ; <proidl>litchamp</proidl> 12 13 ; and containing a 2D (xy), 3D (xyz or yt) or 4D (xyzt) array. 13 ; note that the dimension of the array must suit the domain dimension.14 ; Note that the dimension of the array must suit the domain dimension. 14 15 ; 15 16 ; @param DIREC {type=scalar string} … … 308 309 ENDIF 309 310 END 310 ;------------------------------------------------------------311 ;------------------------------------------------------------312 311 ELSE:return, report('input array must have 2, 3 or 4 dimensions') 313 312 ENDCASE 314 ;------------------------------------------------------------315 316 317 ;------------------------------------------------------------318 313 return, res 319 314 END 320 321 322 323 324 325
Note: See TracChangeset
for help on using the changeset viewer.