init_variables_2d - initialise 2D related stuff.

INTERFACE:

    subroutine init_variables_2d(runtype)
    IMPLICIT NONE
DESCRIPTION:

Allocates memory (unless STATIC is set) for 2D related fields, by an include statement. Furthermore all public 2D variables are initialised to zero. Those are listed in table 1 on page [*].


Table 1: Public 2D variables.
z sea surface elevation in T-point [m]
U $ x$ component of transport in U-point [m$ ^2$s$ ^{-1}$]
DU water depth in U-point [m]
fU Coriolis term for $ V$-equation in V-point [m$ ^2$s$ ^{-2}$]
SlUx slow term for $ U$-equation in U-point [m$ ^2$s$ ^{-2}$]
Slru slow bottom friction for $ U$-equation in U-point [m$ ^2$s$ ^{-2}$]
V $ y$ component of transport in V-point [m$ ^2$s$ ^{-1}$]
DV water depth in V-point [m]
fV Coriolis term for $ U$-equation in U-point [m$ ^2$s$ ^{-2}$]
SlVx slow term for $ V$-equation in V-point [m$ ^2$s$ ^{-2}$]
Slrv slow bottom friction for $ V$-equation in V-point [m$ ^2$s$ ^{-2}$]
Uint $ x$-component of mean transport in U-point [m$ ^2$s$ ^{-1}$]
Vint $ y$-component of mean transport in V-point [m$ ^2$s$ ^{-1}$]
UEx sum of explicit terms for for $ U$-equation in U-point [m$ ^2$s$ ^{-2}$]
VEx sum of explicit terms for for $ V$-equation in V-point [m$ ^2$s$ ^{-2}$]
ru bottom friction for $ U$-equation in U-point [m$ ^2$s$ ^{-2}$]
rv bottom friction for $ V$-equation in V-point [m$ ^2$s$ ^{-2}$]
res_du residual depth in U-point [m]
res_u $ x$-component of residual transport in U-point [m$ ^2$s$ ^{-1}$]
res_dv residual depth in V-point [m]
res_v $ y$-component of residual transport in V-point [m$ ^2$s$ ^{-1}$]


INPUT PARAMETERS:
    integer, intent(in)                 :: runtype

kklingbe 2017-10-02