- Timestamp:
- 2017-03-17T15:21:06+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r7792 r7809 90 90 & ln_ssr , nn_isf , nn_fwb, ln_cdgw , ln_wave , ln_sdw , & 91 91 & ln_tauoc , ln_stcor , nn_lsm, nn_limflx , nn_components, ln_cpl , & 92 & ln_ wavcpl , nn_drag92 & ln_phioc , ln_wavcpl , nn_drag 93 93 INTEGER :: ios 94 94 INTEGER :: ierr, ierr0, ierr1, ierr2, ierr3, jpm … … 136 136 WRITE(numout,*) ' Stokes drift corr. to vert. velocity ln_sdw = ', ln_sdw 137 137 WRITE(numout,*) ' wave modified ocean stress ln_tauoc = ', ln_tauoc 138 WRITE(numout,*) ' wave to ocean energy - wave breaking ln_phioc = ', ln_phioc 138 139 WRITE(numout,*) ' Stokes coriolis term ln_stcor = ', ln_stcor 139 140 WRITE(numout,*) ' neutral drag coefficient ln_cdgw = ', ln_cdgw … … 224 225 IF ( ln_wave ) THEN 225 226 !Activated wave module but neither drag nor stokes drift activated 226 IF ( .NOT.(ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor ) ) THEN227 CALL ctl_warn( 'Ask for wave coupling but ln_cdgw=F, ln_sdw=F, ln_tauoc=F, ln_stcor=F ')227 IF ( .NOT.(ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor .OR. ln_phioc) ) THEN 228 CALL ctl_warn( 'Ask for wave coupling but ln_cdgw=F, ln_sdw=F, ln_tauoc=F, ln_stcor=F, ln_phioc=F') 228 229 ELSEIF (ln_stcor .AND. .NOT. ln_sdw) THEN 229 230 CALL ctl_stop( 'Stokes-Coriolis term calculated only if activated Stokes Drift ln_sdw=T') 230 231 ENDIF 231 232 ELSE 232 IF ( ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor ) &233 IF ( ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor .OR. ln_phioc ) & 233 234 & CALL ctl_stop( 'Not Activated Wave Module (ln_wave=F) but asked coupling ', & 234 235 & 'with drag coefficient (ln_cdgw =T) ' , & 235 236 & 'or Stokes Drift (ln_sdw=T) ' , & 236 237 & 'or ocean stress modification due to waves (ln_tauoc=T) ', & 237 & 'or Stokes-Coriolis term (ln_stcori=T)' ) 238 & 'or wave to ocean energy modification (ln_phioc=T) ', & 239 & 'or Stokes-Coriolis term (ln_stcor=T)' ) 238 240 ENDIF 239 241 ! ! Choice of the Surface Boudary Condition (set nsbc)
Note: See TracChangeset
for help on using the changeset viewer.