AIRES library reference: sstepfromslpath.


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 sstepfromslpath(slpath, s0, cozenith, zcground)
c
c     Evaluating the metric distance between two points in an inclined
c     axis that corresponds to a given material path.
c
c     The atmospheric model must be properly initialized before
c     invoking this routine.
c
c     Written by: S. J. Sciutto, La Plata 2019.
c
c
c     Parameters:
c     ==========
c
c     slpath.......... (input, double precision) Material thickness of
c                      the path along the slanted axis.
c     s0.............. (input, double precision) Distance between the
c                      starting point of the path and the intersection
c                      of the slanted axis with the z vertical axis.
c     cozenith........ (input, double precision) Cosine of the axis'
c                      zenith angle. Must be in the range (0, 1].
c     zcground........ (input, double precision) Central altitude of
c                      the ground level, which defines the intersection
c                      between the slanted axis and the z-axis.
c
c     Return value: (double precision) Metric distance (in m) that
c     ============  between the initial and last positions along
c                   the axis. A positive (negative) value means that
c                   the displacement is towards a place with less
c                   (more) altitude than the initial position.
c
c
c<--->


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