- Timestamp:
- 2015-12-07T16:11:45+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r6005 r6012 90 90 NAMELIST/namsbc/ nn_fsbc , ln_ana , ln_flx, ln_blk_clio, ln_blk_core, ln_mixcpl, & 91 91 & ln_blk_mfs, ln_apr_dyn, nn_ice, nn_ice_embd, ln_dm2dc , ln_rnf , & 92 & ln_ssr , nn_isf , nn_fwb, ln_cdgw , ln_wave , ln_sdw , &92 & ln_ssr , ln_isf , nn_fwb, ln_cdgw , ln_wave , ln_sdw , & 93 93 & nn_lsm , nn_limflx , nn_components, ln_cpl 94 94 INTEGER :: ios … … 143 143 WRITE(numout,*) ' daily mean to diurnal cycle qsr ln_dm2dc = ', ln_dm2dc 144 144 WRITE(numout,*) ' runoff / runoff mouths ln_rnf = ', ln_rnf 145 WRITE(numout,*) ' iceshelf formulation nn_isf = ', nn_isf145 WRITE(numout,*) ' iceshelf melting ln_isf = ', ln_isf 146 146 WRITE(numout,*) ' Sea Surface Restoring on SST and/or SSS ln_ssr = ', ln_ssr 147 147 WRITE(numout,*) ' FreshWater Budget control (=0/1/2) nn_fwb = ', nn_fwb … … 181 181 182 182 ! ! Checks: 183 IF( nn_isf .EQ. 0) THEN ! variable initialisation if no ice shelf184 IF( sbc_isf_alloc() /= 0 ) CALL ctl_stop( ' sbc_init : unable to allocate sbc_isf arrays' )183 IF( .NOT. ln_isf ) THEN ! variable initialisation if no ice shelf 184 IF( sbc_isf_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_init : unable to allocate sbc_isf arrays' ) 185 185 fwfisf (:,:) = 0.0_wp ; fwfisf_b (:,:) = 0.0_wp 186 186 risf_tsc(:,:,:) = 0.0_wp ; risf_tsc_b(:,:,:) = 0.0_wp 187 rdivisf = 0.0_wp188 187 END IF 188 189 189 IF( nn_ice == 0 .AND. nn_components /= jp_iam_opa ) fr_i(:,:) = 0.e0 ! no ice in the domain, ice fraction is always zero 190 190 … … 378 378 IF( ln_icebergs ) CALL icb_stp( kt ) ! compute icebergs 379 379 380 IF( nn_isf /= 0 ) CALL sbc_isf( kt )! compute iceshelves380 IF( ln_isf ) CALL sbc_isf( kt ) ! compute iceshelves 381 381 382 382 IF( ln_rnf ) CALL sbc_rnf( kt ) ! add runoffs to fresh water fluxes
Note: See TracChangeset
for help on using the changeset viewer.