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 zfromadsty(adsty, layer) c c Altitude from density. Multilayer atmospheric model. c The altitude is measured in meters above sea level (z=0), and the c atmospheric density is given in g/cm3. c The density range must lie within the exponential layers. c c Written by: S. J. Sciutto, La Plata 2019. c c c Arguments: c ========= c c adsty........... (input, double precision) Air density in g/cm3. 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 vertical altitude in meters c ============ a.s.l. c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |