- Timestamp:
- 2017-06-29T11:41:55+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90
r7924 r8243 27 27 USE eosbn2 28 28 USE wrk_nemo ! Memory allocation 29 USE iom_def, ONLY : lxios_read 29 USE iom_def, ONLY : lxios_read, lwxios 30 30 31 31 IMPLICIT NONE … … 56 56 57 57 LOGICAL , PUBLIC :: l_rnfcpl = .false. ! runoffs recieved from oasis 58 LOGICAL :: ln_rnf_sio !: single processor read 58 59 59 60 INTEGER , PUBLIC :: nkrnf = 0 !: nb of levels over which Kz is increased at river mouths … … 172 173 & 'at it= ', kt,' date= ', ndastp 173 174 IF(lwp) WRITE(numout,*) '~~~~' 174 CALL iom_rstput( kt, nitrst, numrow, 'rnf_b' , rnf ) 175 CALL iom_rstput( kt, nitrst, numrow, 'rnf_hc_b', rnf_tsc(:,:,jp_tem) ) 176 CALL iom_rstput( kt, nitrst, numrow, 'rnf_sc_b', rnf_tsc(:,:,jp_sal) ) 175 IF( lwxios ) CALL iom_swap( wxios_context ) 176 CALL iom_rstput( kt, nitrst, numrow, 'rnf_b' , rnf, lxios = lwxios ) 177 CALL iom_rstput( kt, nitrst, numrow, 'rnf_hc_b', rnf_tsc(:,:,jp_tem), lxios = lwxios ) 178 CALL iom_rstput( kt, nitrst, numrow, 'rnf_sc_b', rnf_tsc(:,:,jp_sal), lxios = lwxios ) 179 IF( lwxios ) CALL iom_swap( cxios_context ) 177 180 ENDIF 178 181 ! … … 258 261 & sn_rnf, sn_cnf , sn_s_rnf , sn_t_rnf , sn_dep_rnf, & 259 262 & ln_rnf_mouth , rn_hrnf , rn_avt_rnf, rn_rfact, & 260 & ln_rnf_depth_ini , rn_dep_max , rn_rnf_max, nn_rnf_depth_file 263 & ln_rnf_depth_ini , rn_dep_max , rn_rnf_max, nn_rnf_depth_file, & 264 & ln_rnf_sio 261 265 !!---------------------------------------------------------------------- 262 266 ! … … 278 282 ! ! ============ 279 283 ! 284 ln_rnf_sio = .FALSE. 280 285 REWIND( numnam_ref ) ! Namelist namsbc_rnf in reference namelist : Runoffs 281 286 READ ( numnam_ref, namsbc_rnf, IOSTAT = ios, ERR = 901) … … 302 307 ! ! ================== 303 308 ! 309 lspr = ln_rnf_sio 304 310 IF( .NOT. l_rnfcpl ) THEN 305 311 ALLOCATE( sf_rnf(1), STAT=ierror ) ! Create sf_rnf structure (runoff inflow) … … 482 488 ENDIF 483 489 ! 490 lspr = .false. 484 491 END SUBROUTINE sbc_rnf_init 485 492
Note: See TracChangeset
for help on using the changeset viewer.