equationoftime 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.buildpath +5 -0
- data/.project +17 -0
- data/.rvmrc +1 -0
- data/.settings/org.eclipse.ltk.core.refactoring.prefs +2 -0
- data/Makefile +238 -0
- data/Rakefile +40 -3
- data/analemma_data.yml +2925 -0
- data/equationoftime.gemspec +6 -3
- data/examples/analemma_data_generator.rb +12 -12
- data/examples/celes_parts/.RUBYARCHDIR.time +0 -0
- data/examples/celes_parts/.cproject +56 -0
- data/examples/celes_parts/.project +78 -0
- data/examples/celes_parts/a2af.c +120 -0
- data/examples/celes_parts/a2tf.c +116 -0
- data/examples/celes_parts/af2a.c +107 -0
- data/examples/celes_parts/anp.c +82 -0
- data/examples/celes_parts/anpm.c +82 -0
- data/examples/celes_parts/bi00.c +116 -0
- data/examples/celes_parts/bp00.c +173 -0
- data/examples/celes_parts/bp06.c +136 -0
- data/examples/celes_parts/bpn2xy.c +100 -0
- data/examples/celes_parts/c2i00a.c +139 -0
- data/examples/celes_parts/c2i00b.c +139 -0
- data/examples/celes_parts/c2i06a.c +136 -0
- data/examples/celes_parts/c2ibpn.c +142 -0
- data/examples/celes_parts/c2ixy.c +131 -0
- data/examples/celes_parts/c2ixys.c +123 -0
- data/examples/celes_parts/c2s.c +96 -0
- data/examples/celes_parts/c2t00a.c +154 -0
- data/examples/celes_parts/c2t00b.c +150 -0
- data/examples/celes_parts/c2t06a.c +152 -0
- data/examples/celes_parts/c2tcio.c +122 -0
- data/examples/celes_parts/c2teqx.c +122 -0
- data/examples/celes_parts/c2tpe.c +167 -0
- data/examples/celes_parts/c2txy.c +159 -0
- data/examples/celes_parts/cal2jd.c +139 -0
- data/examples/celes_parts/celes_core.c +2522 -0
- data/examples/celes_parts/cp.c +80 -0
- data/examples/celes_parts/cpv.c +82 -0
- data/examples/celes_parts/cr.c +83 -0
- data/examples/celes_parts/d2dtf.c +206 -0
- data/examples/celes_parts/d2tf.c +160 -0
- data/examples/celes_parts/dat.c +289 -0
- data/examples/celes_parts/depend +25 -0
- data/examples/celes_parts/dtdb.c +1213 -0
- data/examples/celes_parts/dtf2d.c +196 -0
- data/examples/celes_parts/ee00.c +128 -0
- data/examples/celes_parts/ee00a.c +135 -0
- data/examples/celes_parts/ee00b.c +141 -0
- data/examples/celes_parts/ee06a.c +122 -0
- data/examples/celes_parts/eect00.c +282 -0
- data/examples/celes_parts/eform.c +147 -0
- data/examples/celes_parts/eo06a.c +131 -0
- data/examples/celes_parts/eors.c +108 -0
- data/examples/celes_parts/epb.c +96 -0
- data/examples/celes_parts/epb2jd.c +91 -0
- data/examples/celes_parts/epj.c +93 -0
- data/examples/celes_parts/epj2jd.c +91 -0
- data/examples/celes_parts/epv00.c +2589 -0
- data/examples/celes_parts/eqeq94.c +131 -0
- data/examples/celes_parts/era00.c +136 -0
- data/examples/celes_parts/extconf.rb +4 -0
- data/examples/celes_parts/fad03.c +103 -0
- data/examples/celes_parts/fae03.c +102 -0
- data/examples/celes_parts/faf03.c +106 -0
- data/examples/celes_parts/faju03.c +102 -0
- data/examples/celes_parts/fal03.c +103 -0
- data/examples/celes_parts/falp03.c +103 -0
- data/examples/celes_parts/fama03.c +102 -0
- data/examples/celes_parts/fame03.c +102 -0
- data/examples/celes_parts/fane03.c +99 -0
- data/examples/celes_parts/faom03.c +104 -0
- data/examples/celes_parts/fapa03.c +103 -0
- data/examples/celes_parts/fasa03.c +102 -0
- data/examples/celes_parts/faur03.c +99 -0
- data/examples/celes_parts/fave03.c +102 -0
- data/examples/celes_parts/fk52h.c +143 -0
- data/examples/celes_parts/fk5hip.c +126 -0
- data/examples/celes_parts/fk5hz.c +160 -0
- data/examples/celes_parts/fw2m.c +134 -0
- data/examples/celes_parts/fw2xy.c +120 -0
- data/examples/celes_parts/gc2gd.c +134 -0
- data/examples/celes_parts/gc2gde.c +200 -0
- data/examples/celes_parts/gd2gc.c +134 -0
- data/examples/celes_parts/gd2gce.c +138 -0
- data/examples/celes_parts/gmst00.c +145 -0
- data/examples/celes_parts/gmst06.c +136 -0
- data/examples/celes_parts/gmst82.c +151 -0
- data/examples/celes_parts/gst00a.c +138 -0
- data/examples/celes_parts/gst00b.c +146 -0
- data/examples/celes_parts/gst06.c +140 -0
- data/examples/celes_parts/gst06a.c +131 -0
- data/examples/celes_parts/gst94.c +131 -0
- data/examples/celes_parts/h2fk5.c +148 -0
- data/examples/celes_parts/hfk5z.c +175 -0
- data/examples/celes_parts/ir.c +83 -0
- data/examples/celes_parts/jd2cal.c +155 -0
- data/examples/celes_parts/jdcalf.c +161 -0
- data/examples/celes_parts/num00a.c +121 -0
- data/examples/celes_parts/num00b.c +121 -0
- data/examples/celes_parts/num06a.c +125 -0
- data/examples/celes_parts/numat.c +109 -0
- data/examples/celes_parts/nut00a.c +2047 -0
- data/examples/celes_parts/nut00b.c +372 -0
- data/examples/celes_parts/nut06a.c +153 -0
- data/examples/celes_parts/nut80.c +325 -0
- data/examples/celes_parts/nutm80.c +117 -0
- data/examples/celes_parts/obl06.c +118 -0
- data/examples/celes_parts/obl80.c +118 -0
- data/examples/celes_parts/p06e.c +321 -0
- data/examples/celes_parts/p2pv.c +83 -0
- data/examples/celes_parts/p2s.c +91 -0
- data/examples/celes_parts/pap.c +139 -0
- data/examples/celes_parts/pas.c +96 -0
- data/examples/celes_parts/pb06.c +144 -0
- data/examples/celes_parts/pdp.c +84 -0
- data/examples/celes_parts/pfw06.c +165 -0
- data/examples/celes_parts/plan94.c +514 -0
- data/examples/celes_parts/pm.c +83 -0
- data/examples/celes_parts/pmat00.c +118 -0
- data/examples/celes_parts/pmat06.c +122 -0
- data/examples/celes_parts/pmat76.c +141 -0
- data/examples/celes_parts/pmp.c +85 -0
- data/examples/celes_parts/pn.c +109 -0
- data/examples/celes_parts/pn00.c +177 -0
- data/examples/celes_parts/pn00a.c +162 -0
- data/examples/celes_parts/pn00b.c +162 -0
- data/examples/celes_parts/pn06.c +187 -0
- data/examples/celes_parts/pn06a.c +152 -0
- data/examples/celes_parts/pnm00a.c +121 -0
- data/examples/celes_parts/pnm00b.c +121 -0
- data/examples/celes_parts/pnm06a.c +124 -0
- data/examples/celes_parts/pnm80.c +126 -0
- data/examples/celes_parts/pom00.c +115 -0
- data/examples/celes_parts/ppp.c +85 -0
- data/examples/celes_parts/ppsp.c +94 -0
- data/examples/celes_parts/pr00.c +142 -0
- data/examples/celes_parts/prec76.c +148 -0
- data/examples/celes_parts/pv2p.c +81 -0
- data/examples/celes_parts/pv2s.c +144 -0
- data/examples/celes_parts/pvdpv.c +102 -0
- data/examples/celes_parts/pvm.c +86 -0
- data/examples/celes_parts/pvmpv.c +87 -0
- data/examples/celes_parts/pvppv.c +87 -0
- data/examples/celes_parts/pvstar.c +207 -0
- data/examples/celes_parts/pvu.c +93 -0
- data/examples/celes_parts/pvup.c +88 -0
- data/examples/celes_parts/pvxpv.c +107 -0
- data/examples/celes_parts/pxp.c +94 -0
- data/examples/celes_parts/rm2v.c +111 -0
- data/examples/celes_parts/rv2m.c +118 -0
- data/examples/celes_parts/rx.c +110 -0
- data/examples/celes_parts/rxp.c +99 -0
- data/examples/celes_parts/rxpv.c +86 -0
- data/examples/celes_parts/rxr.c +99 -0
- data/examples/celes_parts/ry.c +110 -0
- data/examples/celes_parts/rz.c +110 -0
- data/examples/celes_parts/s00.c +371 -0
- data/examples/celes_parts/s00a.c +143 -0
- data/examples/celes_parts/s00b.c +143 -0
- data/examples/celes_parts/s06.c +368 -0
- data/examples/celes_parts/s06a.c +145 -0
- data/examples/celes_parts/s2c.c +85 -0
- data/examples/celes_parts/s2p.c +88 -0
- data/examples/celes_parts/s2pv.c +103 -0
- data/examples/celes_parts/s2xpv.c +87 -0
- data/examples/celes_parts/sepp.c +105 -0
- data/examples/celes_parts/seps.c +93 -0
- data/examples/celes_parts/sofa.h +379 -0
- data/examples/celes_parts/sofam.h +155 -0
- data/examples/celes_parts/sp00.c +118 -0
- data/examples/celes_parts/starpm.c +205 -0
- data/examples/celes_parts/starpv.c +264 -0
- data/examples/celes_parts/sxp.c +84 -0
- data/examples/celes_parts/sxpv.c +85 -0
- data/examples/celes_parts/taitt.c +110 -0
- data/examples/celes_parts/taiut1.c +112 -0
- data/examples/celes_parts/taiutc.c +182 -0
- data/examples/celes_parts/tcbtdb.c +132 -0
- data/examples/celes_parts/tcgtt.c +109 -0
- data/examples/celes_parts/tdbtcb.c +137 -0
- data/examples/celes_parts/tdbtt.c +122 -0
- data/examples/celes_parts/test_celes.rb +48 -0
- data/examples/celes_parts/tf2a.c +107 -0
- data/examples/celes_parts/tf2d.c +107 -0
- data/examples/celes_parts/tr.c +93 -0
- data/examples/celes_parts/trxp.c +93 -0
- data/examples/celes_parts/trxpv.c +93 -0
- data/examples/celes_parts/tttai.c +110 -0
- data/examples/celes_parts/tttcg.c +112 -0
- data/examples/celes_parts/tttdb.c +121 -0
- data/examples/celes_parts/ttut1.c +110 -0
- data/examples/celes_parts/ut1tai.c +111 -0
- data/examples/celes_parts/ut1tt.c +110 -0
- data/examples/celes_parts/ut1utc.c +193 -0
- data/examples/celes_parts/utctai.c +163 -0
- data/examples/celes_parts/utcut1.c +151 -0
- data/examples/celes_parts/xy06.c +2758 -0
- data/examples/celes_parts/xys00a.c +133 -0
- data/examples/celes_parts/xys00b.c +133 -0
- data/examples/celes_parts/xys06a.c +133 -0
- data/examples/celes_parts/zp.c +77 -0
- data/examples/celes_parts/zpv.c +79 -0
- data/examples/celes_parts/zr.c +83 -0
- data/examples/check_date_type.rb +2 -4
- data/examples/compare_geoc_long_ra.rb +19 -11
- data/examples/data_table_for_astro_dog.rb +40 -0
- data/examples/earth_rotation.rb +28 -3
- data/examples/eot.c +15 -0
- data/examples/eot.h +2 -0
- data/examples/eot_methods_list.rb +30 -3
- data/examples/eot_suntimes.rb +99 -95
- data/examples/extconf.rb +2 -0
- data/examples/{read_nutation_data.rb → gmst_gast_non_sofa.rb} +103 -98
- data/examples/nutation_table5_3a.yaml +1658 -1658
- data/examples/rbeot.c +24 -0
- data/examples/test_eot.rb +17 -0
- data/examples/test_poly_eval.rb +6 -17
- data/examples/time_scales.rb +4 -7
- data/examples/times_year.rb +50 -0
- data/examples/usage_example.rb +15 -5
- data/examples/use_angles.rb +151 -87
- data/lib/eot/angles.rb +130 -177
- data/lib/eot/constants.rb +41 -44
- data/lib/eot/displays.rb +40 -37
- data/lib/eot/geo_lat_lng_smt.rb +7 -6
- data/lib/eot/init.rb +62 -39
- data/lib/eot/nutation.rb +53 -45
- data/lib/eot/times.rb +32 -41
- data/lib/eot/utilities.rb +11 -90
- data/lib/eot/version.rb +3 -2
- data/rise_set_data.yml +1461 -0
- data/run_tests_eclipse.rb +1 -0
- data/tests/minitest/aliased_angles_spec.rb +119 -165
- data/tests/minitest/aliased_displays_spec.rb +41 -39
- data/tests/minitest/aliased_utilities_spec.rb +11 -22
- data/tests/minitest/angles_spec.rb +134 -181
- data/tests/minitest/constants_spec.rb +4 -10
- data/tests/minitest/delta_epsilon_spec.rb +13 -16
- data/tests/minitest/displays_spec.rb +39 -37
- data/tests/minitest/geo_spec.rb +15 -11
- data/tests/minitest/init_spec.rb +30 -16
- data/tests/minitest/nutation_spec.rb +19 -13
- data/tests/minitest/times_spec.rb +77 -75
- data/tests/minitest/utilities_spec.rb +10 -94
- data/wiki.md +7 -9
- metadata +218 -26
- data/examples/data_table.rb +0 -26
- data/lib/eot/nutation_table5_3a.yaml +0 -9532
- data/tests/minitest/aliased_times_spec.rb +0 -36
@@ -0,0 +1,105 @@
|
|
1
|
+
#include "sofam.h"
|
2
|
+
|
3
|
+
double iauSepp(double a[3], double b[3])
|
4
|
+
/*
|
5
|
+
** - - - - - - - -
|
6
|
+
** i a u S e p p
|
7
|
+
** - - - - - - - -
|
8
|
+
**
|
9
|
+
** Angular separation between two p-vectors.
|
10
|
+
**
|
11
|
+
** Status: vector/matrix support function.
|
12
|
+
**
|
13
|
+
** Given:
|
14
|
+
** a double[3] first p-vector (not necessarily unit length)
|
15
|
+
** b double[3] second p-vector (not necessarily unit length)
|
16
|
+
**
|
17
|
+
** Returned (function value):
|
18
|
+
** double angular separation (radians, always positive)
|
19
|
+
**
|
20
|
+
** Notes:
|
21
|
+
**
|
22
|
+
** 1) If either vector is null, a zero result is returned.
|
23
|
+
**
|
24
|
+
** 2) The angular separation is most simply formulated in terms of
|
25
|
+
** scalar product. However, this gives poor accuracy for angles
|
26
|
+
** near zero and pi. The present algorithm uses both cross product
|
27
|
+
** and dot product, to deliver full accuracy whatever the size of
|
28
|
+
** the angle.
|
29
|
+
**
|
30
|
+
** Called:
|
31
|
+
** iauPxp vector product of two p-vectors
|
32
|
+
** iauPm modulus of p-vector
|
33
|
+
** iauPdp scalar product of two p-vectors
|
34
|
+
**
|
35
|
+
** This revision: 2008 May 22
|
36
|
+
**
|
37
|
+
** Original version 2012-03-01
|
38
|
+
**
|
39
|
+
** Copyright (C) 2013 Naoki Arita. See notes at end.
|
40
|
+
*/
|
41
|
+
{
|
42
|
+
double axb[3], ss, cs, s;
|
43
|
+
|
44
|
+
|
45
|
+
/* Sine of angle between the vectors, multiplied by the two moduli. */
|
46
|
+
iauPxp(a, b, axb);
|
47
|
+
ss = iauPm(axb);
|
48
|
+
|
49
|
+
/* Cosine of the angle, multiplied by the two moduli. */
|
50
|
+
cs = iauPdp(a, b);
|
51
|
+
|
52
|
+
/* The angle. */
|
53
|
+
s = ((ss != 0.0) || (cs != 0.0)) ? atan2(ss, cs) : 0.0;
|
54
|
+
|
55
|
+
return s;
|
56
|
+
|
57
|
+
/*----------------------------------------------------------------------
|
58
|
+
**
|
59
|
+
** Celes is a wrapper of the SOFA Library for Ruby.
|
60
|
+
**
|
61
|
+
** This file is redistributed and relicensed in accordance with
|
62
|
+
** the SOFA Software License (http://www.iausofa.org/tandc.html).
|
63
|
+
**
|
64
|
+
** The original library is available from IAU Standards of
|
65
|
+
** Fundamental Astronomy (http://www.iausofa.org/).
|
66
|
+
**
|
67
|
+
**
|
68
|
+
**
|
69
|
+
**
|
70
|
+
**
|
71
|
+
** Copyright (C) 2013, Naoki Arita
|
72
|
+
** All rights reserved.
|
73
|
+
**
|
74
|
+
** Redistribution and use in source and binary forms, with or without
|
75
|
+
** modification, are permitted provided that the following conditions
|
76
|
+
** are met:
|
77
|
+
**
|
78
|
+
** 1 Redistributions of source code must retain the above copyright
|
79
|
+
** notice, this list of conditions and the following disclaimer.
|
80
|
+
**
|
81
|
+
** 2 Redistributions in binary form must reproduce the above copyright
|
82
|
+
** notice, this list of conditions and the following disclaimer in
|
83
|
+
** the documentation and/or other materials provided with the
|
84
|
+
** distribution.
|
85
|
+
**
|
86
|
+
** 3 Neither the name of the Standards Of Fundamental Astronomy Board,
|
87
|
+
** the International Astronomical Union nor the names of its
|
88
|
+
** contributors may be used to endorse or promote products derived
|
89
|
+
** from this software without specific prior written permission.
|
90
|
+
**
|
91
|
+
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
92
|
+
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
93
|
+
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
94
|
+
** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
95
|
+
** COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
96
|
+
** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
97
|
+
** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
98
|
+
** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
99
|
+
** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
100
|
+
** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
101
|
+
** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
102
|
+
** POSSIBILITY OF SUCH DAMAGE.
|
103
|
+
**
|
104
|
+
**--------------------------------------------------------------------*/
|
105
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
#include "sofam.h"
|
2
|
+
|
3
|
+
double iauSeps(double al, double ap, double bl, double bp)
|
4
|
+
/*
|
5
|
+
** - - - - - - - -
|
6
|
+
** i a u S e p s
|
7
|
+
** - - - - - - - -
|
8
|
+
**
|
9
|
+
** Angular separation between two sets of spherical coordinates.
|
10
|
+
**
|
11
|
+
** Status: vector/matrix support function.
|
12
|
+
**
|
13
|
+
** Given:
|
14
|
+
** al double first longitude (radians)
|
15
|
+
** ap double first latitude (radians)
|
16
|
+
** bl double second longitude (radians)
|
17
|
+
** bp double second latitude (radians)
|
18
|
+
**
|
19
|
+
** Returned (function value):
|
20
|
+
** double angular separation (radians)
|
21
|
+
**
|
22
|
+
** Called:
|
23
|
+
** iauS2c spherical coordinates to unit vector
|
24
|
+
** iauSepp angular separation between two p-vectors
|
25
|
+
**
|
26
|
+
** This revision: 2008 May 16
|
27
|
+
**
|
28
|
+
** Original version 2012-03-01
|
29
|
+
**
|
30
|
+
** Copyright (C) 2013 Naoki Arita. See notes at end.
|
31
|
+
*/
|
32
|
+
{
|
33
|
+
double ac[3], bc[3], s;
|
34
|
+
|
35
|
+
|
36
|
+
/* Spherical to Cartesian. */
|
37
|
+
iauS2c(al, ap, ac);
|
38
|
+
iauS2c(bl, bp, bc);
|
39
|
+
|
40
|
+
/* Angle between the vectors. */
|
41
|
+
s = iauSepp(ac, bc);
|
42
|
+
|
43
|
+
return s;
|
44
|
+
|
45
|
+
/*----------------------------------------------------------------------
|
46
|
+
**
|
47
|
+
** Celes is a wrapper of the SOFA Library for Ruby.
|
48
|
+
**
|
49
|
+
** This file is redistributed and relicensed in accordance with
|
50
|
+
** the SOFA Software License (http://www.iausofa.org/tandc.html).
|
51
|
+
**
|
52
|
+
** The original library is available from IAU Standards of
|
53
|
+
** Fundamental Astronomy (http://www.iausofa.org/).
|
54
|
+
**
|
55
|
+
**
|
56
|
+
**
|
57
|
+
**
|
58
|
+
**
|
59
|
+
** Copyright (C) 2013, Naoki Arita
|
60
|
+
** All rights reserved.
|
61
|
+
**
|
62
|
+
** Redistribution and use in source and binary forms, with or without
|
63
|
+
** modification, are permitted provided that the following conditions
|
64
|
+
** are met:
|
65
|
+
**
|
66
|
+
** 1 Redistributions of source code must retain the above copyright
|
67
|
+
** notice, this list of conditions and the following disclaimer.
|
68
|
+
**
|
69
|
+
** 2 Redistributions in binary form must reproduce the above copyright
|
70
|
+
** notice, this list of conditions and the following disclaimer in
|
71
|
+
** the documentation and/or other materials provided with the
|
72
|
+
** distribution.
|
73
|
+
**
|
74
|
+
** 3 Neither the name of the Standards Of Fundamental Astronomy Board,
|
75
|
+
** the International Astronomical Union nor the names of its
|
76
|
+
** contributors may be used to endorse or promote products derived
|
77
|
+
** from this software without specific prior written permission.
|
78
|
+
**
|
79
|
+
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
80
|
+
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
81
|
+
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
82
|
+
** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
83
|
+
** COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
84
|
+
** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
85
|
+
** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
86
|
+
** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
87
|
+
** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
88
|
+
** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
89
|
+
** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
90
|
+
** POSSIBILITY OF SUCH DAMAGE.
|
91
|
+
**
|
92
|
+
**--------------------------------------------------------------------*/
|
93
|
+
}
|
@@ -0,0 +1,379 @@
|
|
1
|
+
#ifndef SOFAHDEF
|
2
|
+
#define SOFAHDEF
|
3
|
+
|
4
|
+
/*
|
5
|
+
** - - - - - - -
|
6
|
+
** s o f a . h
|
7
|
+
** - - - - - - -
|
8
|
+
**
|
9
|
+
** Prototype function declarations for SOFA library.
|
10
|
+
**
|
11
|
+
** This revision: 2012 February 23
|
12
|
+
**
|
13
|
+
** Original version 2012-03-01
|
14
|
+
**
|
15
|
+
** Copyright (C) 2013 Naoki Arita. See notes at end.
|
16
|
+
*/
|
17
|
+
|
18
|
+
#include "math.h"
|
19
|
+
|
20
|
+
#ifdef __cplusplus
|
21
|
+
extern "C" {
|
22
|
+
#endif
|
23
|
+
|
24
|
+
/* Astronomy/Calendars */
|
25
|
+
int iauCal2jd(int iy, int im, int id, double *djm0, double *djm);
|
26
|
+
double iauEpb(double dj1, double dj2);
|
27
|
+
void iauEpb2jd(double epb, double *djm0, double *djm);
|
28
|
+
double iauEpj(double dj1, double dj2);
|
29
|
+
void iauEpj2jd(double epj, double *djm0, double *djm);
|
30
|
+
int iauJd2cal(double dj1, double dj2,
|
31
|
+
int *iy, int *im, int *id, double *fd);
|
32
|
+
int iauJdcalf(int ndp, double dj1, double dj2, int iymdf[4]);
|
33
|
+
|
34
|
+
/* Astronomy/Ephemerides */
|
35
|
+
int iauEpv00(double date1, double date2,
|
36
|
+
double pvh[2][3], double pvb[2][3]);
|
37
|
+
int iauPlan94(double date1, double date2, int np, double pv[2][3]);
|
38
|
+
|
39
|
+
/* Astronomy/FundamentalArgs */
|
40
|
+
double iauFad03(double t);
|
41
|
+
double iauFae03(double t);
|
42
|
+
double iauFaf03(double t);
|
43
|
+
double iauFaju03(double t);
|
44
|
+
double iauFal03(double t);
|
45
|
+
double iauFalp03(double t);
|
46
|
+
double iauFama03(double t);
|
47
|
+
double iauFame03(double t);
|
48
|
+
double iauFane03(double t);
|
49
|
+
double iauFaom03(double t);
|
50
|
+
double iauFapa03(double t);
|
51
|
+
double iauFasa03(double t);
|
52
|
+
double iauFaur03(double t);
|
53
|
+
double iauFave03(double t);
|
54
|
+
|
55
|
+
/* Astronomy/PrecNutPolar */
|
56
|
+
void iauBi00(double *dpsibi, double *depsbi, double *dra);
|
57
|
+
void iauBp00(double date1, double date2,
|
58
|
+
double rb[3][3], double rp[3][3], double rbp[3][3]);
|
59
|
+
void iauBp06(double date1, double date2,
|
60
|
+
double rb[3][3], double rp[3][3], double rbp[3][3]);
|
61
|
+
void iauBpn2xy(double rbpn[3][3], double *x, double *y);
|
62
|
+
void iauC2i00a(double date1, double date2, double rc2i[3][3]);
|
63
|
+
void iauC2i00b(double date1, double date2, double rc2i[3][3]);
|
64
|
+
void iauC2i06a(double date1, double date2, double rc2i[3][3]);
|
65
|
+
void iauC2ibpn(double date1, double date2, double rbpn[3][3],
|
66
|
+
double rc2i[3][3]);
|
67
|
+
void iauC2ixy(double date1, double date2, double x, double y,
|
68
|
+
double rc2i[3][3]);
|
69
|
+
void iauC2ixys(double x, double y, double s, double rc2i[3][3]);
|
70
|
+
void iauC2t00a(double tta, double ttb, double uta, double utb,
|
71
|
+
double xp, double yp, double rc2t[3][3]);
|
72
|
+
void iauC2t00b(double tta, double ttb, double uta, double utb,
|
73
|
+
double xp, double yp, double rc2t[3][3]);
|
74
|
+
void iauC2t06a(double tta, double ttb, double uta, double utb,
|
75
|
+
double xp, double yp, double rc2t[3][3]);
|
76
|
+
void iauC2tcio(double rc2i[3][3], double era, double rpom[3][3],
|
77
|
+
double rc2t[3][3]);
|
78
|
+
void iauC2teqx(double rbpn[3][3], double gst, double rpom[3][3],
|
79
|
+
double rc2t[3][3]);
|
80
|
+
void iauC2tpe(double tta, double ttb, double uta, double utb,
|
81
|
+
double dpsi, double deps, double xp, double yp,
|
82
|
+
double rc2t[3][3]);
|
83
|
+
void iauC2txy(double tta, double ttb, double uta, double utb,
|
84
|
+
double x, double y, double xp, double yp,
|
85
|
+
double rc2t[3][3]);
|
86
|
+
double iauEo06a(double date1, double date2);
|
87
|
+
double iauEors(double rnpb[3][3], double s);
|
88
|
+
void iauFw2m(double gamb, double phib, double psi, double eps,
|
89
|
+
double r[3][3]);
|
90
|
+
void iauFw2xy(double gamb, double phib, double psi, double eps,
|
91
|
+
double *x, double *y);
|
92
|
+
void iauNum00a(double date1, double date2, double rmatn[3][3]);
|
93
|
+
void iauNum00b(double date1, double date2, double rmatn[3][3]);
|
94
|
+
void iauNum06a(double date1, double date2, double rmatn[3][3]);
|
95
|
+
void iauNumat(double epsa, double dpsi, double deps, double rmatn[3][3]);
|
96
|
+
void iauNut00a(double date1, double date2, double *dpsi, double *deps);
|
97
|
+
void iauNut00b(double date1, double date2, double *dpsi, double *deps);
|
98
|
+
void iauNut06a(double date1, double date2, double *dpsi, double *deps);
|
99
|
+
void iauNut80(double date1, double date2, double *dpsi, double *deps);
|
100
|
+
void iauNutm80(double date1, double date2, double rmatn[3][3]);
|
101
|
+
double iauObl06(double date1, double date2);
|
102
|
+
double iauObl80(double date1, double date2);
|
103
|
+
void iauP06e(double date1, double date2,
|
104
|
+
double *eps0, double *psia, double *oma, double *bpa,
|
105
|
+
double *bqa, double *pia, double *bpia,
|
106
|
+
double *epsa, double *chia, double *za, double *zetaa,
|
107
|
+
double *thetaa, double *pa,
|
108
|
+
double *gam, double *phi, double *psi);
|
109
|
+
void iauPb06(double date1, double date2,
|
110
|
+
double *bzeta, double *bz, double *btheta);
|
111
|
+
void iauPfw06(double date1, double date2,
|
112
|
+
double *gamb, double *phib, double *psib, double *epsa);
|
113
|
+
void iauPmat00(double date1, double date2, double rbp[3][3]);
|
114
|
+
void iauPmat06(double date1, double date2, double rbp[3][3]);
|
115
|
+
void iauPmat76(double date1, double date2, double rmatp[3][3]);
|
116
|
+
void iauPn00(double date1, double date2, double dpsi, double deps,
|
117
|
+
double *epsa,
|
118
|
+
double rb[3][3], double rp[3][3], double rbp[3][3],
|
119
|
+
double rn[3][3], double rbpn[3][3]);
|
120
|
+
void iauPn00a(double date1, double date2,
|
121
|
+
double *dpsi, double *deps, double *epsa,
|
122
|
+
double rb[3][3], double rp[3][3], double rbp[3][3],
|
123
|
+
double rn[3][3], double rbpn[3][3]);
|
124
|
+
void iauPn00b(double date1, double date2,
|
125
|
+
double *dpsi, double *deps, double *epsa,
|
126
|
+
double rb[3][3], double rp[3][3], double rbp[3][3],
|
127
|
+
double rn[3][3], double rbpn[3][3]);
|
128
|
+
void iauPn06(double date1, double date2, double dpsi, double deps,
|
129
|
+
double *epsa,
|
130
|
+
double rb[3][3], double rp[3][3], double rbp[3][3],
|
131
|
+
double rn[3][3], double rbpn[3][3]);
|
132
|
+
void iauPn06a(double date1, double date2,
|
133
|
+
double *dpsi, double *deps, double *epsa,
|
134
|
+
double rb[3][3], double rp[3][3], double rbp[3][3],
|
135
|
+
double rn[3][3], double rbpn[3][3]);
|
136
|
+
void iauPnm00a(double date1, double date2, double rbpn[3][3]);
|
137
|
+
void iauPnm00b(double date1, double date2, double rbpn[3][3]);
|
138
|
+
void iauPnm06a(double date1, double date2, double rnpb[3][3]);
|
139
|
+
void iauPnm80(double date1, double date2, double rmatpn[3][3]);
|
140
|
+
void iauPom00(double xp, double yp, double sp, double rpom[3][3]);
|
141
|
+
void iauPr00(double date1, double date2, double *dpsipr, double *depspr);
|
142
|
+
void iauPrec76(double ep01, double ep02, double ep11, double ep12,
|
143
|
+
double *zeta, double *z, double *theta);
|
144
|
+
double iauS00(double date1, double date2, double x, double y);
|
145
|
+
double iauS00a(double date1, double date2);
|
146
|
+
double iauS00b(double date1, double date2);
|
147
|
+
double iauS06(double date1, double date2, double x, double y);
|
148
|
+
double iauS06a(double date1, double date2);
|
149
|
+
double iauSp00(double date1, double date2);
|
150
|
+
void iauXy06(double date1, double date2, double *x, double *y);
|
151
|
+
void iauXys00a(double date1, double date2,
|
152
|
+
double *x, double *y, double *s);
|
153
|
+
void iauXys00b(double date1, double date2,
|
154
|
+
double *x, double *y, double *s);
|
155
|
+
void iauXys06a(double date1, double date2,
|
156
|
+
double *x, double *y, double *s);
|
157
|
+
|
158
|
+
/* Astronomy/RotationAndTime */
|
159
|
+
double iauEe00(double date1, double date2, double epsa, double dpsi);
|
160
|
+
double iauEe00a(double date1, double date2);
|
161
|
+
double iauEe00b(double date1, double date2);
|
162
|
+
double iauEe06a(double date1, double date2);
|
163
|
+
double iauEect00(double date1, double date2);
|
164
|
+
double iauEqeq94(double date1, double date2);
|
165
|
+
double iauEra00(double dj1, double dj2);
|
166
|
+
double iauGmst00(double uta, double utb, double tta, double ttb);
|
167
|
+
double iauGmst06(double uta, double utb, double tta, double ttb);
|
168
|
+
double iauGmst82(double dj1, double dj2);
|
169
|
+
double iauGst00a(double uta, double utb, double tta, double ttb);
|
170
|
+
double iauGst00b(double uta, double utb);
|
171
|
+
double iauGst06(double uta, double utb, double tta, double ttb,
|
172
|
+
double rnpb[3][3]);
|
173
|
+
double iauGst06a(double uta, double utb, double tta, double ttb);
|
174
|
+
double iauGst94(double uta, double utb);
|
175
|
+
|
176
|
+
/* Astronomy/SpaceMotion */
|
177
|
+
int iauPvstar(double pv[2][3], double *ra, double *dec,
|
178
|
+
double *pmr, double *pmd, double *px, double *rv);
|
179
|
+
int iauStarpv(double ra, double dec,
|
180
|
+
double pmr, double pmd, double px, double rv,
|
181
|
+
double pv[2][3]);
|
182
|
+
|
183
|
+
/* Astronomy/StarCatalogs */
|
184
|
+
void iauFk52h(double r5, double d5,
|
185
|
+
double dr5, double dd5, double px5, double rv5,
|
186
|
+
double *rh, double *dh,
|
187
|
+
double *drh, double *ddh, double *pxh, double *rvh);
|
188
|
+
void iauFk5hip(double r5h[3][3], double s5h[3]);
|
189
|
+
void iauFk5hz(double r5, double d5, double date1, double date2,
|
190
|
+
double *rh, double *dh);
|
191
|
+
void iauH2fk5(double rh, double dh,
|
192
|
+
double drh, double ddh, double pxh, double rvh,
|
193
|
+
double *r5, double *d5,
|
194
|
+
double *dr5, double *dd5, double *px5, double *rv5);
|
195
|
+
void iauHfk5z(double rh, double dh, double date1, double date2,
|
196
|
+
double *r5, double *d5, double *dr5, double *dd5);
|
197
|
+
int iauStarpm(double ra1, double dec1,
|
198
|
+
double pmr1, double pmd1, double px1, double rv1,
|
199
|
+
double ep1a, double ep1b, double ep2a, double ep2b,
|
200
|
+
double *ra2, double *dec2,
|
201
|
+
double *pmr2, double *pmd2, double *px2, double *rv2);
|
202
|
+
|
203
|
+
/* Astronomy/Geodetic/Geocentric */
|
204
|
+
int iauEform(int n, double *a, double *f);
|
205
|
+
int iauGc2gd(int n, double xyz[3],
|
206
|
+
double *elong, double *phi, double *height);
|
207
|
+
int iauGc2gde(double a, double f, double xyz[3],
|
208
|
+
double *elong, double *phi, double *height);
|
209
|
+
int iauGd2gc(int n, double elong, double phi, double height,
|
210
|
+
double xyz[3]);
|
211
|
+
int iauGd2gce(double a, double f,
|
212
|
+
double elong, double phi, double height, double xyz[3]);
|
213
|
+
|
214
|
+
/* Astronomy/Timescales */
|
215
|
+
int iauD2dtf(const char *scale, int ndp, double d1, double d2,
|
216
|
+
int *iy, int *im, int *id, int ihmsf[4]);
|
217
|
+
int iauDat(int iy, int im, int id, double fd, double *deltat);
|
218
|
+
double iauDtdb(double date1, double date2,
|
219
|
+
double ut, double elong, double u, double v);
|
220
|
+
int iauDtf2d(const char *scale, int iy, int im, int id,
|
221
|
+
int ihr, int imn, double sec, double *d1, double *d2);
|
222
|
+
int iauTaitt(double tai1, double tai2, double *tt1, double *tt2);
|
223
|
+
int iauTaiut1(double tai1, double tai2, double dta,
|
224
|
+
double *ut11, double *ut12);
|
225
|
+
int iauTaiutc(double tai1, double tai2, double *utc1, double *utc2);
|
226
|
+
int iauTcbtdb(double tcb1, double tcb2, double *tdb1, double *tdb2);
|
227
|
+
int iauTcgtt(double tcg1, double tcg2, double *tt1, double *tt2);
|
228
|
+
int iauTdbtcb(double tdb1, double tdb2, double *tcb1, double *tcb2);
|
229
|
+
int iauTdbtt(double tdb1, double tdb2, double dtr,
|
230
|
+
double *tt1, double *tt2);
|
231
|
+
int iauTttai(double tt1, double tt2, double *tai1, double *tai2);
|
232
|
+
int iauTttcg(double tt1, double tt2, double *tcg1, double *tcg2);
|
233
|
+
int iauTttdb(double tt1, double tt2, double dtr,
|
234
|
+
double *tdb1, double *tdb2);
|
235
|
+
int iauTtut1(double tt1, double tt2, double dt,
|
236
|
+
double *ut11, double *ut12);
|
237
|
+
int iauUt1tai(double ut11, double ut12, double dta,
|
238
|
+
double *tai1, double *tai2);
|
239
|
+
int iauUt1tt(double ut11, double ut12, double dt,
|
240
|
+
double *tt1, double *tt2);
|
241
|
+
int iauUt1utc(double ut11, double ut12, double dut1,
|
242
|
+
double *utc1, double *utc2);
|
243
|
+
int iauUtctai(double utc1, double utc2, double *tai1, double *tai2);
|
244
|
+
int iauUtcut1(double utc1, double utc2, double dut1,
|
245
|
+
double *ut11, double *ut12);
|
246
|
+
|
247
|
+
/* VectorMatrix/AngleOps */
|
248
|
+
void iauA2af(int ndp, double angle, char *sign, int idmsf[4]);
|
249
|
+
void iauA2tf(int ndp, double angle, char *sign, int ihmsf[4]);
|
250
|
+
int iauAf2a(char s, int ideg, int iamin, double asec, double *rad);
|
251
|
+
double iauAnp(double a);
|
252
|
+
double iauAnpm(double a);
|
253
|
+
void iauD2tf(int ndp, double days, char *sign, int ihmsf[4]);
|
254
|
+
int iauTf2a(char s, int ihour, int imin, double sec, double *rad);
|
255
|
+
int iauTf2d(char s, int ihour, int imin, double sec, double *days);
|
256
|
+
|
257
|
+
/* VectorMatrix/BuildRotations */
|
258
|
+
void iauRx(double phi, double r[3][3]);
|
259
|
+
void iauRy(double theta, double r[3][3]);
|
260
|
+
void iauRz(double psi, double r[3][3]);
|
261
|
+
|
262
|
+
/* VectorMatrix/CopyExtendExtract */
|
263
|
+
void iauCp(double p[3], double c[3]);
|
264
|
+
void iauCpv(double pv[2][3], double c[2][3]);
|
265
|
+
void iauCr(double r[3][3], double c[3][3]);
|
266
|
+
void iauP2pv(double p[3], double pv[2][3]);
|
267
|
+
void iauPv2p(double pv[2][3], double p[3]);
|
268
|
+
|
269
|
+
/* VectorMatrix/Initialization */
|
270
|
+
void iauIr(double r[3][3]);
|
271
|
+
void iauZp(double p[3]);
|
272
|
+
void iauZpv(double pv[2][3]);
|
273
|
+
void iauZr(double r[3][3]);
|
274
|
+
|
275
|
+
/* VectorMatrix/MatrixOps */
|
276
|
+
void iauRxr(double a[3][3], double b[3][3], double atb[3][3]);
|
277
|
+
void iauTr(double r[3][3], double rt[3][3]);
|
278
|
+
|
279
|
+
/* VectorMatrix/MatrixVectorProducts */
|
280
|
+
void iauRxp(double r[3][3], double p[3], double rp[3]);
|
281
|
+
void iauRxpv(double r[3][3], double pv[2][3], double rpv[2][3]);
|
282
|
+
void iauTrxp(double r[3][3], double p[3], double trp[3]);
|
283
|
+
void iauTrxpv(double r[3][3], double pv[2][3], double trpv[2][3]);
|
284
|
+
|
285
|
+
/* VectorMatrix/RotationVectors */
|
286
|
+
void iauRm2v(double r[3][3], double w[3]);
|
287
|
+
void iauRv2m(double w[3], double r[3][3]);
|
288
|
+
|
289
|
+
/* VectorMatrix/SeparationAndAngle */
|
290
|
+
double iauPap(double a[3], double b[3]);
|
291
|
+
double iauPas(double al, double ap, double bl, double bp);
|
292
|
+
double iauSepp(double a[3], double b[3]);
|
293
|
+
double iauSeps(double al, double ap, double bl, double bp);
|
294
|
+
|
295
|
+
/* VectorMatrix/SphericalCartesian */
|
296
|
+
void iauC2s(double p[3], double *theta, double *phi);
|
297
|
+
void iauP2s(double p[3], double *theta, double *phi, double *r);
|
298
|
+
void iauPv2s(double pv[2][3],
|
299
|
+
double *theta, double *phi, double *r,
|
300
|
+
double *td, double *pd, double *rd);
|
301
|
+
void iauS2c(double theta, double phi, double c[3]);
|
302
|
+
void iauS2p(double theta, double phi, double r, double p[3]);
|
303
|
+
void iauS2pv(double theta, double phi, double r,
|
304
|
+
double td, double pd, double rd,
|
305
|
+
double pv[2][3]);
|
306
|
+
|
307
|
+
/* VectorMatrix/VectorOps */
|
308
|
+
double iauPdp(double a[3], double b[3]);
|
309
|
+
double iauPm(double p[3]);
|
310
|
+
void iauPmp(double a[3], double b[3], double amb[3]);
|
311
|
+
void iauPn(double p[3], double *r, double u[3]);
|
312
|
+
void iauPpp(double a[3], double b[3], double apb[3]);
|
313
|
+
void iauPpsp(double a[3], double s, double b[3], double apsb[3]);
|
314
|
+
void iauPvdpv(double a[2][3], double b[2][3], double adb[2]);
|
315
|
+
void iauPvm(double pv[2][3], double *r, double *s);
|
316
|
+
void iauPvmpv(double a[2][3], double b[2][3], double amb[2][3]);
|
317
|
+
void iauPvppv(double a[2][3], double b[2][3], double apb[2][3]);
|
318
|
+
void iauPvu(double dt, double pv[2][3], double upv[2][3]);
|
319
|
+
void iauPvup(double dt, double pv[2][3], double p[3]);
|
320
|
+
void iauPvxpv(double a[2][3], double b[2][3], double axb[2][3]);
|
321
|
+
void iauPxp(double a[3], double b[3], double axb[3]);
|
322
|
+
void iauS2xpv(double s1, double s2, double pv[2][3], double spv[2][3]);
|
323
|
+
void iauSxp(double s, double p[3], double sp[3]);
|
324
|
+
void iauSxpv(double s, double pv[2][3], double spv[2][3]);
|
325
|
+
|
326
|
+
#ifdef __cplusplus
|
327
|
+
}
|
328
|
+
#endif
|
329
|
+
|
330
|
+
#endif
|
331
|
+
|
332
|
+
/*----------------------------------------------------------------------
|
333
|
+
**
|
334
|
+
** Celes is a wrapper of the SOFA Library for Ruby.
|
335
|
+
**
|
336
|
+
** This file is redistributed and relicensed in accordance with
|
337
|
+
** the SOFA Software License (http://www.iausofa.org/tandc.html).
|
338
|
+
**
|
339
|
+
** The original library is available from IAU Standards of
|
340
|
+
** Fundamental Astronomy (http://www.iausofa.org/).
|
341
|
+
**
|
342
|
+
**
|
343
|
+
**
|
344
|
+
**
|
345
|
+
**
|
346
|
+
** Copyright (C) 2013, Naoki Arita
|
347
|
+
** All rights reserved.
|
348
|
+
**
|
349
|
+
** Redistribution and use in source and binary forms, with or without
|
350
|
+
** modification, are permitted provided that the following conditions
|
351
|
+
** are met:
|
352
|
+
**
|
353
|
+
** 1 Redistributions of source code must retain the above copyright
|
354
|
+
** notice, this list of conditions and the following disclaimer.
|
355
|
+
**
|
356
|
+
** 2 Redistributions in binary form must reproduce the above copyright
|
357
|
+
** notice, this list of conditions and the following disclaimer in
|
358
|
+
** the documentation and/or other materials provided with the
|
359
|
+
** distribution.
|
360
|
+
**
|
361
|
+
** 3 Neither the name of the Standards Of Fundamental Astronomy Board,
|
362
|
+
** the International Astronomical Union nor the names of its
|
363
|
+
** contributors may be used to endorse or promote products derived
|
364
|
+
** from this software without specific prior written permission.
|
365
|
+
**
|
366
|
+
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
367
|
+
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
368
|
+
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
369
|
+
** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
370
|
+
** COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
371
|
+
** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
372
|
+
** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
373
|
+
** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
374
|
+
** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
375
|
+
** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
376
|
+
** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
377
|
+
** POSSIBILITY OF SUCH DAMAGE.
|
378
|
+
**
|
379
|
+
**--------------------------------------------------------------------*/
|