- Timestamp:
- 2012-11-16T12:13:00+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_INGV/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r3294 r3574 83 83 !! 84 84 NAMELIST/namsbc/ nn_fsbc , ln_ana , ln_flx , ln_blk_clio, ln_blk_core, ln_cpl, & 85 & ln_blk_mfs, ln_apr_dyn, nn_ice , ln_dm2dc, ln_rnf, ln_ssr , nn_fwb, ln_cdgw 85 & ln_blk_mfs, ln_apr_dyn, nn_ice , ln_dm2dc, ln_rnf, ln_ssr, nn_fwb, & 86 & ln_wave, ln_cdgw, ln_sdw 86 87 !!---------------------------------------------------------------------- 87 88 … … 92 93 ENDIF 93 94 95 call flush(numout) 94 96 REWIND( numnam ) ! Read Namelist namsbc 95 97 READ ( numnam, namsbc ) 98 call flush(numout) 96 99 97 100 ! ! overwrite namelist parameter using CPP key information … … 166 169 & CALL ctl_warn( 'diurnal cycle for qsr: the sampling of the diurnal cycle is too small...' ) 167 170 168 !drag coefficient read from wave model definable only with mfs bulk formulae and core 169 IF(ln_cdgw .AND. .NOT.(ln_blk_mfs .OR. ln_blk_core) ) & 170 & CALL ctl_stop( 'drag coefficient read from wave model definable only with mfs bulk formulae and core') 171 IF ( ln_wave ) THEN 172 !Activated wave module but neither drag nor stokes drift activated 173 IF ( .NOT.(ln_cdgw .OR. ln_sdw) ) THEN 174 CALL ctl_warn( 'Ask for wave coupling but nor drag coefficient (ln_cdgw=F) neither stokes drift activated (ln_sdw=F)' ) 175 !drag coefficient read from wave model definable only with mfs bulk formulae and core 176 ELSEIF (ln_cdgw .AND. .NOT.(ln_blk_mfs .OR. ln_blk_core) ) THEN 177 CALL ctl_stop( 'drag coefficient read from wave model definable only with mfs bulk formulae and core') 178 ENDIF 179 ELSE 180 IF ( ln_cdgw .OR. ln_sdw ) & 181 & CALL ctl_stop( 'Not Activated Wave Module (ln_wave=F) but asked coupling with drag coefficient (ln_cdgw =T) or Stokes drift (ln_sdw=T) ') 182 ENDIF 171 183 172 184 ! ! Choice of the Surface Boudary Condition (set nsbc) … … 249 261 ! ! averaged over nf_sbc time-step 250 262 251 IF (ln_ cdgw) CALL sbc_wave( kt )263 IF (ln_wave) CALL sbc_wave( kt ) 252 264 !== sbc formulation ==! 253 265
Note: See TracChangeset
for help on using the changeset viewer.