Changeset 421 for trunk/SRC/Grid/computegrid.pro
- Timestamp:
- 02/02/10 09:47:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Grid/computegrid.pro
r399 r421 232 232 ; if (we did not activate /plain and xminmesh, xmaxmesh, yminmesh, 233 233 ; ymaxmesh keywords are defined to their default values), we redefine 234 ; xminmesh, xmaxmesh, yminmesh, ymaxmesh in order to re ove the234 ; xminmesh, xmaxmesh, yminmesh, ymaxmesh in order to remove the 235 235 ; overlapping part and/or to open the domain (avoid it be forced 236 236 ; to use cell_fill = 1). … … 362 362 IF strlen(key_gridtype) EQ 3 THEN fullcgrid = 1 363 363 ; 364 IF n_elements(xminmesh) NE 0 AND n_elements(xmaxmesh) NE 0 THEN BEGIN 364 IF n_elements(xminmesh) NE 0 OR n_elements(xmaxmesh) NE 0 THEN BEGIN 365 IF n_elements(xminmesh) EQ 0 THEN xminmesh = ixminmesh 366 IF n_elements(xmaxmesh) EQ 0 THEN xmaxmesh = ixmaxmesh 365 367 IF nx EQ jpi AND xminmesh EQ ixminmesh AND xmaxmesh EQ ixmaxmesh THEN xalreadycut = 1 366 368 ENDIF … … 383 385 ENDELSE 384 386 385 IF n_elements(yminmesh) NE 0 AND n_elements(ymaxmesh) NE 0 THEN BEGIN 387 IF n_elements(yminmesh) NE 0 OR n_elements(ymaxmesh) NE 0 THEN BEGIN 388 IF n_elements(yminmesh) EQ 0 THEN yminmesh = iyminmesh 389 IF n_elements(ymaxmesh) EQ 0 THEN ymaxmesh = iymaxmesh 386 390 IF ny EQ jpj AND yminmesh EQ iyminmesh AND ymaxmesh EQ iymaxmesh THEN yalreadycut = 1 387 391 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.