AIRES library reference: adstymdepth.


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 adstymdepth(depth, layer)
c
c     Local density at a given depth. Multilayer atmospheric model.
c     The atmospheric depth is measured in g/cm2, and the density in
c     g/(m cm2).
c
c     Written by: S. J. Sciutto, La Plata 2003, 2019.
c
c
c     Arguments:
c     =========
c
c     depth........... (input, double precision) Atmospheric depth in
c                      g/cm2.
c     layer........... (output, integer) An integer ranging from zero
c                      to nlayers + 1 indicating the atmospheric layer
c                      corresponding to the given depth. Layer 0 is
c                      returned when the altitude is negative, and
c                      layer nlayers + 1 is returned when depth is
c                      negative (no physical meaning).
c
c
c     Return value: (double precision) The density in g/(m cm2).
c     ============
c
c
c<--->


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