FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
double palAirmas
(
double
zd
)
Definition at line
86
of file
palAirmas.c
.
References
PAL__DD2R
.
Referenced by
t_airmas()
.
86
{
87
double
seczm1;
88
double
airmass;
89
90
/* Have maximum zenith distance of 87 deg */
91
const
double
MAXZD = 87.0 *
PAL__DD2R
;
92
93
zd = fabs(zd);
94
zd = ( zd > MAXZD ? MAXZD : zd );
95
96
seczm1 = (1.0 / cos(zd)) - 1.0;
97
airmass = 1.0 + seczm1*(0.9981833 - seczm1*(0.002875 + 0.0008083*seczm1));
98
return
airmass;
99
}
PAL__DD2R
static const double PAL__DD2R
Definition:
palmac.h:72
Here is the caller graph for this function:
pal
pal.h
Generated on Sun Sep 18 2016 20:50:38 for FACT++ by
1.8.11