integrate_2d - sequence of calls to do 2D model integration

INTERFACE:

    subroutine integrate_2d(runtype,loop,tausx,tausy,airp)
    use getm_timers, only: tic, toc, TIM_INTEGR2D
    IMPLICIT NONE
INPUT PARAMETERS:
    integer, intent(in)                 :: runtype,loop
    REALTYPE, intent(in)                :: tausx(E2DFIELD)
    REALTYPE, intent(in)                :: tausy(E2DFIELD)
    REALTYPE, intent(in)                :: airp(E2DFIELD)
INPUT/OUTPUT PARAMETERS:
OUTPUT PARAMETERS:

DESCRIPTION:

Here, all 2D related subroutines are called. The major calls and their meaning are:



call update_2d_bdy read in new lateral boundary conditions
call bottom_friction update bottom friction
call uv_advect calculate 2D advection terms
call uv_diffusion calculate 2D diffusion terms
call momentum iterate 2D momemtum equations
call sealevel update sea surface elevation
call depth_update update water depths
call do_residual calculate intermdediate values for residual currents



It should be noted that some of these calls may be excluded for certain compiler options set in the Makefile of the application. LOCAL VARIABLES: