- Timestamp:
- 2020-05-22T09:05:34+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/IOM/iom.F90
r12939 r12960 119 119 INTEGER :: Nis0_save, Nie0_save !: and close boundaries in output files 120 120 INTEGER :: Njs0_save, Nje0_save !: 121 INTEGER :: Ni_0_save, Nj_0_save !: 121 122 LOGICAL :: ll_closedef = .TRUE. 122 123 !!---------------------------------------------------------------------- … … 129 130 Nis0_save = Nis0 ; Nie0_save = Nie0 130 131 Njs0_save = Njs0 ; Nje0_save = Nje0 131 IF( nimpp == 1 ) Nis0 = 1 132 IF( nimpp + jpi - 1 == jpiglo ) Nie0 = jpi 133 IF( njmpp == 1 ) Njs0 = 1 134 IF( njmpp + jpj - 1 == jpjglo ) Nje0 = jpj 132 Ni_0_save = Ni_0 ; Nj_0_save = Nj_0 133 IF( mig( 1 ) == 1 ) Nis0 = 1 134 IF( mig(jpi) == jpiglo ) Nie0 = jpi 135 IF( mjg( 1 ) == 1 ) Njs0 = 1 136 IF( mjg(jpj) == jpjglo ) Nje0 = jpj 137 Ni_0 = Nie0 - Nis0 + 1 138 Nj_0 = Nje0 - Njs0 + 1 135 139 ENDIF 136 140 IF ( PRESENT(ld_closedef) ) ll_closedef = ld_closedef … … 150 154 151 155 SELECT CASE ( nleapy ) ! Choose calendar for IOIPSL 152 CASE ( 1) ; CALL xios_define_calendar( TYPE = "Gregorian", time_origin = xios_date(irefyear,irefmonth,irefday,00,00,00),&153 & start_date = xios_date(nyear,nmonth,nday,0,0,0) )154 CASE ( 0) ; CALL xios_define_calendar( TYPE = "NoLeap" , time_origin = xios_date(irefyear,irefmonth,irefday,00,00,00),&155 & start_date = xios_date(nyear,nmonth,nday,0,0,0) )156 CASE (30) ; CALL xios_define_calendar( TYPE = "D360" , time_origin = xios_date(irefyear,irefmonth,irefday,00,00,00),&157 & start_date = xios_date(nyear,nmonth,nday,0,0,0) )156 CASE ( 1) ; CALL xios_define_calendar( TYPE = "Gregorian", time_origin = xios_date(irefyear,irefmonth,irefday,0,0,0), & 157 & start_date = xios_date( nyear, nmonth, nday,0,0,0) ) 158 CASE ( 0) ; CALL xios_define_calendar( TYPE = "NoLeap" , time_origin = xios_date(irefyear,irefmonth,irefday,0,0,0), & 159 & start_date = xios_date( nyear, nmonth, nday,0,0,0) ) 160 CASE (30) ; CALL xios_define_calendar( TYPE = "D360" , time_origin = xios_date(irefyear,irefmonth,irefday,0,0,0), & 161 & start_date = xios_date( nyear, nmonth, nday,0,0,0) ) 158 162 END SELECT 159 163 … … 284 288 Nis0 = Nis0_save ; Nie0 = Nie0_save 285 289 Njs0 = Njs0_save ; Nje0 = Nje0_save 290 Ni_0 = Ni_0_save ; Nj_0 = Nj_0_save 286 291 ENDIF 287 292 #endif … … 1162 1167 ELSE ! not a 1D array as pv_r1d requires jpdom_unknown 1163 1168 ! we do not read the overlap and the extra-halos -> from Nis0 to Nie0 and from Njs0 to Nje0 1164 IF( idom == jpdom_global ) istart(1:2) = (/ mig (Nis0)-nn_hls, mjg(Njs0)-nn_hls/)1169 IF( idom == jpdom_global ) istart(1:2) = (/ mig0(Nis0), mjg0(Njs0) /) 1165 1170 icnt(1:2) = (/ Ni_0, Nj_0 /) 1166 1171 IF( PRESENT(pv_r3d) ) THEN
Note: See TracChangeset
for help on using the changeset viewer.