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



Karsten Bolding 2012-12-28