Changeset 1530 for trunk/LMDZ.TITAN/libf/phytitan/grid_noro.F
- Timestamp:
- Apr 6, 2016, 8:51:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/grid_noro.F
r1356 r1530 52 52 C======================================================================= 53 53 54 use mod_grid_phy_lmdz, only: nbp_lon, nbp_lat 54 55 IMPLICIT none 55 56 56 #include "dimensions.h"57 57 #include "YOMCST.h" 58 58 … … 79 79 C INTERMEDIATE FIELDS (CORRELATIONS OF OROGRAPHY GRADIENT) 80 80 81 REAL ztz( iim+1,jjm+1),zxtzx(iim+1,jjm+1)82 REAL zytzy( iim+1,jjm+1),zxtzy(iim+1,jjm+1)83 REAL weight( iim+1,jjm+1)81 REAL ztz(nbp_lon+1,nbp_lat),zxtzx(nbp_lon+1,nbp_lat) 82 REAL zytzy(nbp_lon+1,nbp_lat),zxtzy(nbp_lon+1,nbp_lat) 83 REAL weight(nbp_lon+1,nbp_lat) 84 84 85 85 C CORRELATIONS OF USN OROGRAPHY GRADIENTS … … 107 107 c 108 108 c 109 if( iim.ne.imar) STOP 'Problem dim. x'110 if( jjm.ne.jmar-1) STOP 'Problem dim. y'109 if(nbp_lon.ne.imar) STOP 'Problem dim. x' 110 if(nbp_lat-1.ne.jmar-1) STOP 'Problem dim. y' 111 111 IF (imar.GT.2200 .OR. jmar.GT.1100) THEN 112 112 PRINT*, 'imar or jmar too big', imar, jmar … … 114 114 ENDIF 115 115 116 IF(imar+1.ne. iim+1.or.jmar.ne.jjm+1)THEN116 IF(imar+1.ne.nbp_lon+1.or.jmar.ne.nbp_lat)THEN 117 117 print *,' imar or jmar bad dimensions:',imar,jmar 118 118 call abort … … 297 297 C FIRST FILTER, MOVING AVERAGE OVER 9 POINTS. 298 298 299 CALL MVA9(zmea, iim+1,jjm+1)300 CALL MVA9(zstd, iim+1,jjm+1)301 CALL MVA9(zpic, iim+1,jjm+1)302 CALL MVA9(zval, iim+1,jjm+1)303 CALL MVA9(zxtzx, iim+1,jjm+1)304 CALL MVA9(zxtzy, iim+1,jjm+1)305 CALL MVA9(zytzy, iim+1,jjm+1)299 CALL MVA9(zmea,nbp_lon+1,nbp_lat) 300 CALL MVA9(zstd,nbp_lon+1,nbp_lat) 301 CALL MVA9(zpic,nbp_lon+1,nbp_lat) 302 CALL MVA9(zval,nbp_lon+1,nbp_lat) 303 CALL MVA9(zxtzx,nbp_lon+1,nbp_lat) 304 CALL MVA9(zxtzy,nbp_lon+1,nbp_lat) 305 CALL MVA9(zytzy,nbp_lon+1,nbp_lat) 306 306 307 307 DO ii = 1, imar
Note: See TracChangeset
for help on using the changeset viewer.