depth_update - adjust the depth to new elevations. (Source File: depth_update.F90)

INTERFACE:

    subroutine depth_update
DESCRIPTION:

This routine which is called at every micro time step updates all necessary depth related information. These are the water depths in the T-, U- and V-points, D, DU and DV, respectively, and the drying value $ \alpha$ defined in equation (5) on page [*] in the T-, the U- and the V-points (dry_z, dry_u and dry_v).

When working with the option SLICE_MODEL, the water depths in the V-points are mirrored from $ j=2$ to $ j=1$ and $ j=3$. USES:

    use domain, only: imin,imax,jmin,jmax,H,HU,HV,min_depth,crit_depth
    use domain, only: az,au,av,dry_z,dry_u,dry_v
    use variables_2d, only: D,z,zo,DU,DV
    use getm_timers,  only: tic, toc, TIM_DPTHUPDATE
  $ use omp_lib
    IMPLICIT NONE
REVISION HISTORY:
    Original author(s): Hans Burchard & Karsten Bolding
LOCAL VARIABLES:
    integer                   :: i,j
    REALTYPE                  :: d1,d2i,x



kklingbe 2017-10-02