AIRES library reference: adstymfromz.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      function adstymfromz(z, layer)
c
c     Local density, in g/(m m2) at a given altitude. Multilayer
c     atmospheric model.
c     The altitude is measured vertically in meters above sea level
c     (z=0).
c
c     Written by: S. J. Sciutto, La Plata 2019.
c
c
c     Arguments:
c     =========
c
c     z............... (input, double precision) The vertical altitude
c                      in meters a.s.l.
c     layer........... (output, integer) An integer ranging from zero
c                      to nlayers + 1 indicating the atmospheric layer
c                      corresponding to the given z. Layer 0 is
c                      returned when z is negative, and layer
c                      nlayers + 1 is returned when z is greater than
c                      the maximum significative altitude (top of
c                      atmosphere).
c
c
c     Return value: (double precision) The atmospheric density in
c     ============                     g/(m cm2)
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]