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 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 to and . 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 NONEREVISION HISTORY:
Original author(s): Hans Burchard & Karsten BoldingLOCAL VARIABLES:
integer :: i,j REALTYPE :: d1,d2i,x