- Timestamp:
- 2018-07-11T10:24:17+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9838_ENHANCE04_MLF/src/OCE/SBC/sbcmod.F90
r9656 r9923 177 177 ! 178 178 IF( .NOT.ln_usr ) THEN ! the model calendar needs some specificities (except in user defined case) 179 IF( MOD( rday , rdt ) /= 0. ) CALL ctl_stop( 'the time step must devide the number of second of in a day' )180 IF( MOD( rday ,2. ) /= 0. ) CALL ctl_stop( 'the number of second of in a day must be an even number' )181 IF( MOD( r dt , 2.) /= 0. ) CALL ctl_stop( 'the time step (in second) must be an even number' )179 IF( MOD( rday , rn_Dt ) /= 0. ) CALL ctl_stop( 'the time step must devide the number of second of in a day' ) 180 IF( MOD( rday , 2. ) /= 0. ) CALL ctl_stop( 'the number of second of in a day must be an even number' ) 181 IF( MOD( rn_Dt, 2. ) /= 0. ) CALL ctl_stop( 'the time step (in second) must be an even number' ) 182 182 ENDIF 183 183 ! !** check option consistency … … 288 288 ! SAS time-step has to be declared in OASIS (mandatory) -> nn_fsbc has to be modified accordingly 289 289 IF( nn_components /= jp_iam_nemo ) THEN 290 IF( nn_components == jp_iam_opa ) nn_fsbc = cpl_freq('O_SFLX') / NINT(r dt)291 IF( nn_components == jp_iam_sas ) nn_fsbc = cpl_freq('I_SFLX') / NINT(r dt)290 IF( nn_components == jp_iam_opa ) nn_fsbc = cpl_freq('O_SFLX') / NINT(rn_Dt) 291 IF( nn_components == jp_iam_sas ) nn_fsbc = cpl_freq('I_SFLX') / NINT(rn_Dt) 292 292 ! 293 293 IF(lwp)THEN … … 306 306 ENDIF 307 307 ! 308 IF( MOD( rday, REAL(nn_fsbc, wp) * r dt ) /= 0 ) &308 IF( MOD( rday, REAL(nn_fsbc, wp) * rn_Dt ) /= 0 ) & 309 309 & CALL ctl_warn( 'sbc_init : nn_fsbc is NOT a multiple of the number of time steps in a day' ) 310 310 ! 311 IF( ln_dm2dc .AND. NINT(rday) / ( nn_fsbc * NINT(r dt) ) < 8 ) &311 IF( ln_dm2dc .AND. NINT(rday) / ( nn_fsbc * NINT(rn_Dt) ) < 8 ) & 312 312 & CALL ctl_warn( 'sbc_init : diurnal cycle for qsr: the sampling of the diurnal cycle is too small...' ) 313 313 !
Note: See TracChangeset
for help on using the changeset viewer.