- Timestamp:
- 2016-11-23T14:24:07+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/CRS/crsdomwri.F90
r6772 r7320 57 57 INTEGER :: inum3 ! temprary units for 'mesh_hgr.nc' file 58 58 INTEGER :: inum4 ! temprary units for 'mesh_zgr.nc' file 59 INTEGER :: iif, iil, ijf, ijl60 59 CHARACTER(len=21) :: clnam0 ! filename (mesh and mask informations) 61 60 CHARACTER(len=21) :: clnam1 ! filename (mesh informations) … … 127 126 CALL iom_rstput( 0, 0, inum2, 'vmask', vmask_crs, ktype = jp_i1 ) 128 127 CALL iom_rstput( 0, 0, inum2, 'fmask', fmask_crs, ktype = jp_i1 ) 129 130 131 tmask_i_crs(:,:) = tmask_crs(:,:,1)132 iif = jpreci133 iil = nlci_crs - jpreci + 1134 ijf = jpreci135 ijl = nlcj_crs - jprecj + 1136 137 tmask_i_crs( 1:iif , : ) = 0._wp138 tmask_i_crs(iil:jpi_crs, : ) = 0._wp139 tmask_i_crs( : , 1:ijf ) = 0._wp140 tmask_i_crs( : ,ijl:jpj_crs) = 0._wp141 142 143 tpol_crs(1:jpiglo_crs,:) = 1._wp144 fpol_crs(1:jpiglo_crs,:) = 1._wp145 IF( jperio == 3 .OR. jperio == 4 ) THEN146 tpol_crs(jpiglo_crs/2+1:jpiglo_crs,:) = 0._wp147 fpol_crs( 1 :jpiglo_crs,:) = 0._wp148 IF( mjg_crs(nlej_crs) == jpiglo_crs ) THEN149 DO ji = iif+1, iil-1150 tmask_i_crs(ji,nlej_crs-1) = tmask_i_crs(ji,nlej_crs-1) &151 & * tpol_crs(mig_crs(ji),1)152 ENDDO153 ENDIF154 ENDIF155 IF( jperio == 5 .OR. jperio == 6 ) THEN156 tpol_crs( 1 :jpiglo_crs,:)=0._wp157 fpol_crs(jpiglo_crs/2+1:jpiglo_crs,:)=0._wp158 ENDIF159 160 128 CALL iom_rstput( 0, 0, inum2, 'tmaskutil', tmask_i_crs, ktype = jp_i1 ) 161 129 ! ! unique point mask
Note: See TracChangeset
for help on using the changeset viewer.