analytical_profile


INTERFACE:

    subroutine analytical_profile(nlev,z,z1,v1,z2,v2,prof)
DESCRIPTION:

This routine creates a vertical profile prof with value v1 in a surface layer down to depth z1 and a bottom layer of value v2 reaching from depth z2 down to the bottom. Both layers are connected by an intermediate layer reaching from z1 to z2 with values linearly varying from v1 to v2.


USES:

    IMPLICIT NONE
INPUT PARAMETERS:
    integer,  intent(in)                :: nlev
    REALTYPE, intent(in)                :: z(0:nlev)
    REALTYPE, intent(in)                :: z1,v1,z2,v2
OUTPUT PARAMETERS:
    REALTYPE, intent(out)               :: prof(0:nlev)
REVISION HISTORY:
    Original author(s): Karsten Bolding
    $Log: analytical_profile.F90,v $
    Revision 1.6  2007-01-06 11:49:15  kbk
    namelist file extension changed .inp --> .nml
    Revision 1.5  2005/07/06 15:50:46  kbk
    added description - umlauf



Karsten Bolding 2012-01-24