Changeset 231 for trunk/SRC/ToBeReviewed/TRIANGULATION/fillcornermask.pro
- Timestamp:
- 03/19/07 18:15:51 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/TRIANGULATION/fillcornermask.pro
r163 r231 1 ;------------------------------------------------------------2 ;------------------------------------------------------------3 ;------------------------------------------------------------4 1 ;+ 5 2 ; … … 11 8 ; 12 9 ; @keyword _EXTRA 13 ; Used to pass your keywords10 ; Used to pass keywords 14 11 ; 15 12 ; @keyword CONT_COLOR {default=(!d.n_colors - 1) < 255 => white} … … 27 24 ; 28 25 ;- 29 ;------------------------------------------------------------ 30 ;------------------------------------------------------------ 31 ;------------------------------------------------------------ 32 PRO fillcornermask, xin, yin, COINMONTE = coinmonte, COINDESCEND = coindescend $ 26 ; 27 PRO fillcornermask, xin, yin, COINMONTE = coinmonte, COINDESCEND = coindescend $ 33 28 , CONT_COLOR = cont_color, INDICEZOOM = indicezoom $ 34 29 , _extra = ex … … 42 37 tempsun = systime(1) ; For key_performance 43 38 ; 44 IF NOT keyword_set(cont_color) THEN cont_color = (!d.n_colors-1) < 255 39 IF NOT keyword_set(cont_color) THEN cont_color = (!d.n_colors-1) < 255 45 40 ;------------------------------------------------------------ 46 41 ; definition of coordinates of points numbered 1,2,3,4,5,6 (see figures below) … … 54 49 y2 = .5*(y1+shift(y1, -1)) 55 50 nx = n_elements(x1) 56 ny = n_elements(y1) 51 ny = n_elements(y1) 57 52 ; 58 53 ; … … 61 56 ; 2 land points in diagonal ascending with 2 ocean points on the descendant diagonal. 62 57 ; 63 ; 3 58 ; 3 64 59 ; t(i+nx)=1 u(i+nx) t(i+nx+1)=0 65 60 ; | \ … … 94 89 ; 4 95 90 ; t(i+nx)=1 u(i+nx) t(i+nx+1)=0 96 ; / | 97 ; / | 91 ; / | 92 ; / | 98 93 ; / 3 | 5 99 94 ; v(i)---------f(i)------------v(i+1) … … 120 115 121 116 ;------------------------------------------------------------ 122 IF keyword_set(key_performance) THEN print, 'temps fillcornermask', systime(1)-tempsun 117 IF keyword_set(key_performance) THEN print, 'temps fillcornermask', systime(1)-tempsun 123 118 ;------------------------------------------------------------ 124 119 return
Note: See TracChangeset
for help on using the changeset viewer.