Changeset 12459
- Timestamp:
- 2020-02-25T17:14:19+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/SBC/sbcblk.F90
r12377 r12459 259 259 IF( ierror > 0 ) CALL ctl_stop( 'STOP', 'sbc_blk_init: unable to allocate sf structure' ) 260 260 ! 261 ! !- fill the bulk structure with namelist informations 262 CALL fld_fill( sf, slf_i, cn_dir, 'sbc_blk_init', 'surface boundary condition -- bulk formulae', 'namsbc_blk' ) 263 ! 261 264 DO jfpr= 1, jpfld 262 265 ! … … 269 272 & jfpr == jp_hpgi .OR. jfpr == jp_hpgj .OR. jfpr == jp_tair ) ) THEN ! ABL: some fields are 3D input 270 273 ALLOCATE( sf(jfpr)%fnow(jpi,jpj,jpka) ) 271 IF( s lf_i(jfpr)%ln_tint ) ALLOCATE( sf(jfpr)%fdta(jpi,jpj,jpka,2) )274 IF( sf(jfpr)%ln_tint ) ALLOCATE( sf(jfpr)%fdta(jpi,jpj,jpka,2) ) 272 275 ELSE ! others or Bulk fields are 2D fiels 273 276 ALLOCATE( sf(jfpr)%fnow(jpi,jpj,1) ) 274 IF( s lf_i(jfpr)%ln_tint ) ALLOCATE( sf(jfpr)%fdta(jpi,jpj,1,2) )277 IF( sf(jfpr)%ln_tint ) ALLOCATE( sf(jfpr)%fdta(jpi,jpj,1,2) ) 275 278 ENDIF 276 279 ! 277 IF( s lf_i(jfpr)%freqh > 0. .AND. MOD( NINT(3600. * slf_i(jfpr)%freqh), nn_fsbc * NINT(rdt) ) /= 0 ) &280 IF( sf(jfpr)%freqh > 0. .AND. MOD( NINT(3600. * sf(jfpr)%freqh), nn_fsbc * NINT(rdt) ) /= 0 ) & 278 281 & CALL ctl_warn( 'sbc_blk_init: sbcmod timestep rdt*nn_fsbc is NOT a submultiple of atmospheric forcing frequency.', & 279 282 & ' This is not ideal. You should consider changing either rdt or nn_fsbc value...' ) 280 283 ENDIF 281 284 END DO 282 ! !- fill the bulk structure with namelist informations283 CALL fld_fill( sf, slf_i, cn_dir, 'sbc_blk_init', 'surface boundary condition -- bulk formulae', 'namsbc_blk' )284 285 ! 285 286 IF( ln_wave ) THEN
Note: See TracChangeset
for help on using the changeset viewer.