- Timestamp:
- 04/07/11 10:03:36 (13 years ago)
- Location:
- trunk/SRC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Computation/e3t_3d.pro
r450 r454 44 44 keyword_set(e1) AND keyword_set(e2):arr2d = e1t[fstx:lstx, fsty:lsty] * e2t[fstx:lstx, fsty:lsty] 45 45 keyword_set(e1) :arr2d = e1t[fstx:lstx, fsty:lsty] 46 keyword_set(e2):arr2d = e2t[fstx:lstx, fsty:lsty]47 ELSE:arr2d = replicate(1. , nx*ny)46 keyword_set(e2):arr2d = e2t[fstx:lstx, fsty:lsty] 47 ELSE:arr2d = replicate(1.d, nx*ny) 48 48 ENDCASE 49 49 e3t3d = arr2d[*] # e3t[firstzt:lastzt] -
trunk/SRC/Computation/e3u_3d.pro
r445 r454 70 70 ENDCASE 71 71 ; 72 IF n_elements(arr2d) NE 0 THEN e3u3d = temporary(e3u3d) * ( arr2d[*] # replicate(1. , nzt) )72 IF n_elements(arr2d) NE 0 THEN e3u3d = temporary(e3u3d) * ( arr2d[*] # replicate(1.d, nzt) ) 73 73 ; 74 74 return, e3u3d -
trunk/SRC/Computation/e3v_3d.pro
r445 r454 59 59 ENDCASE 60 60 ; 61 IF n_elements(arr2d) NE 0 THEN e3v3d = temporary(e3v3d) * ( arr2d[*] # replicate(1. , nzt) )61 IF n_elements(arr2d) NE 0 THEN e3v3d = temporary(e3v3d) * ( arr2d[*] # replicate(1.d, nzt) ) 62 62 ; 63 63 return, e3v3d -
trunk/SRC/Computation/e3w_3d.pro
r450 r454 39 39 keyword_set(e1):arr2d = e1t[firstxt:lastxt, firstyt:lastyt] 40 40 keyword_set(e2):arr2d = e2t[firstxt:lastxt, firstyt:lastyt] 41 ELSE:arr2d = replicate(1. , nxt*nyt)41 ELSE:arr2d = replicate(1.d, nxt*nyt) 42 42 ENDCASE 43 43 e3w_3d = arr2d[*] # e3w[firstzw:lastzw] -
trunk/SRC/Grid/ncdf_meshread.pro
r453 r454 553 553 ENDCASE 554 554 nothing = execute(command) 555 command = namevar[i]+'=float('+namevar[i]+')' 556 nothing = execute(command) 555 IF strmid(fnamevar[i], 0, 2) NE 'e3' THEN BEGIN 556 command = namevar[i]+'=float('+namevar[i]+')' 557 nothing = execute(command) 558 ENDIF 557 559 command = 'if size('+namevar[i]+', /n_dimension) gt 0 then '+namevar[i]+' = reform('+namevar[i]+', /over)' 558 560 nothing = execute(command)
Note: See TracChangeset
for help on using the changeset viewer.