New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6604 for branches/2016/dev_r6393_NOC_WAD – NEMO

Ignore:
Timestamp:
2016-05-23T15:55:26+02:00 (8 years ago)
Author:
hliu
Message:

wet/dry in ssh_nxt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6393_NOC_WAD/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90

    r6152 r6604  
    8888      ENDIF 
    8989      ! 
     90 
     91      IF(ln_wd) THEN 
     92        zcoef = 0.5_wp * r1_rau0 
     93        CALL wad_lmt(sshb, zcoef * (emp_b(:,:) + emp(:,:)), z2dt) 
     94      END IF 
     95 
    9096      CALL div_hor( kt )                              ! Horizontal divergence 
    9197      ! 
     
    104110      ! compute the vertical velocity which can be used to compute the non-linear terms of the momentum equations. 
    105111      !  
    106       zcoef = 0.5_wp * r1_rau0 
    107  
    108       IF(ln_wd) CALL wad_lmt(sshb, zcoef * (emp_b(:,:) + emp(:,:)), z2dt) 
    109  
    110112      ssha(:,:) = (  sshb(:,:) - z2dt * ( zcoef * ( emp_b(:,:) + emp(:,:) ) + zhdiv(:,:) )  ) * ssmask(:,:) 
    111113 
Note: See TracChangeset for help on using the changeset viewer.