Changeset 10234
- Timestamp:
- 2018-10-26T16:19:35+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/CRS/crsdom.F90
r10210 r10234 189 189 ENDDO 190 190 END SELECT 191 WRITE(narea+1000-1,*)"end glam_crs gphi_crs ",p_glam_crs(1,2),p_gphi_crs(1,2)192 191 193 192 ! Retroactively add back the boundary halo cells. 194 !????CALL crs_lbc_lnk( p_gphi_crs, cd_type, 1.0 )195 !????CALL crs_lbc_lnk( p_glam_crs, cd_type, 1.0 )193 !CALL crs_lbc_lnk( p_gphi_crs, cd_type, 1.0 ) 194 !CALL crs_lbc_lnk( p_glam_crs, cd_type, 1.0 ) 196 195 WRITE(narea+1000-1,*)"end1 glam_crs gphi_crs ",p_glam_crs(1,2),p_gphi_crs(1,2) 197 196 ! … … 1135 1134 SELECT CASE ( jperio ) 1136 1135 1137 CASE ( 0, 1 ) ! limited area 1136 CASE ( 0, 1 ) 1137 1138 !exp for a regional configuration 1139 ! i=1 => ghost cell 1138 1140 1139 1141 !--!--!--!--!--!--!--!--!--! … … 1144 1146 !IBI36 1 2 3 4 5 1145 1147 !IBI12 ! 1 ! 2 ! 3 ! 1146 1147 1148 1148 1149 jpiglo_crs = INT( (jpiglo - 4) / nn_factx ) + 4 1149 1150 jpjglo_crs = INT( (jpjglo - 4) / nn_facty ) + 4 1150 1151 1151 CASE ( 3, 4 ) ! global 1152 jpj_crs = ( jpjglo_crs -1 - 2 * jprecj + (jpnj-1) ) / jpnj + 2 * jprecj 1153 IF( MOD( jpjglo_crs - 2 * jprecj + (jpnj-1) , jpnj ) .NE. 0._wp )THEN 1154 jpj_crs = jpj_crs + 1 1155 ENDIF 1156 1157 CASE ( 3, 4 ) ! 1152 1158 jpiglo_crs = INT( (jpiglo - 2) / nn_factx ) + 2 1153 1159 jpjglo_crs = INT( (jpjglo - MOD(jpjglo, nn_facty)) / nn_facty ) + 2 1160 1161 jpj_crs = ( jpjglo_crs -1 - 2 * jprecj + (jpnj-1) ) / jpnj + 2 * jprecj 1154 1162 1155 1163 END SELECT … … 1159 1167 1160 1168 jpi_crs = ( jpiglo_crs - 2 * jpreci + (jpni-1) ) / jpni + 2 * jpreci 1161 jpj_crs = ( jpjglo_crsm1 - 2 * jprecj + (jpnj-1) ) / jpnj + 2 * jprecj1162 1169 1163 1170 jpi_crsm1 = jpi_crs - 1 … … 1318 1325 nldi_crs=2 1319 1326 mis2_crs(ijis-1) = mie2_crs(ijis-1) -1 1327 !CASE DEFAULT 1328 ! WRITE(narea+8000-1,*)"WRONG VALUE FOR iistart ",ii_start 1320 1329 END SELECT 1321 1330 … … 1555 1564 nldj_crs=2 1556 1565 mjs2_crs(ijjs-1) = mje2_crs(ijjs-1) -1 1557 CASE DEFAULT1558 WRITE(narea+8000-1,*)"WRONG VALUE FOR iistart ",ii_start1566 !CASE DEFAULT 1567 ! WRITE(narea+8000-1,*)"WRONG VALUE FOR iistart ",ii_start 1559 1568 END SELECT 1560 1569 … … 1895 1904 1896 1905 !!---------------------------------------------------------------- 1897 1898 1906 mikt_crs(:,:)=1 1899 1907
Note: See TracChangeset
for help on using the changeset viewer.