Fortran: Module Interface Salinity (Source File: salinity.F90)

INTERFACE:

    module salinity
DESCRIPTION:

In this module, the salinity equation is processed by reading in the namelist salt and initialising the salinity field (this is done in init_salinity), and calculating the advection-diffusion-equation (see do_salinity). USES:

    use exceptions
    use domain, only: imin,jmin,imax,jmax,kmax,ioff,joff
    use domain, only: H,az
  KB   use get_field, only: get_3d_field
    use variables_2d, only: fwf_int
    use variables_3d, only: rk,S,hn,kmin
    use halo_zones, only: update_3d_halo,wait_halo,D_TAG,H_TAG
    IMPLICIT NONE
    private
PUBLIC DATA MEMBERS:
    public init_salinity, do_salinity, init_salinity_field
   !PRIVATE DATA MEMBERS:
    integer                   :: salt_method=1,salt_format=2
    character(len=PATH_MAX)   :: salt_file="t_and_s.nc"
    integer                   :: salt_field_no=1
    character(len=32)         :: salt_name='salt'
    REALTYPE                  :: salt_const=35*_ONE_
    integer                   :: salt_adv_split=0
    integer                   :: salt_adv_hor=1
    integer                   :: salt_adv_ver=1
    REALTYPE                  :: salt_AH=-_ONE_
    integer                   :: salt_check=0
    REALTYPE                  :: min_salt=_ZERO_,max_salt=40*_ONE_
REVISION HISTORY:
    Original author(s): Karsten Bolding & Hans Burchard



Subsections