Changeset 18711 for trunk/FACT++/erfa
- Timestamp:
- 01/06/17 11:48:17 (8 years ago)
- Location:
- trunk/FACT++/erfa
- Files:
-
- 228 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/erfa/README.rst
r18348 r18711 14 14 --------------------- 15 15 16 This version of ERFA (v1. 2.0) is based on SOFA version "20150209_a", with the16 This version of ERFA (v1.3.0) is based on SOFA version "20160503_a", with the 17 17 differences outlined below. 18 18 … … 35 35 addressing localized bugs or similar smaller issues: 36 36 37 * Currently no bugfixe changes relative to SOFA. 37 * ERFA 1.3.0 and SOFA "20160503_a" 38 39 + There are no differences between ERFA 1.3.0 and SOFA "20160503_a". 40 41 * ERFA 1.2.0 and SOFA "20150209_a" 42 43 + Typos have been corrected in the documentation of atco13 and atio13 (see https://github.com/liberfa/erfa/issues/29). 44 45 Note that issues identified in ERFA should generally also be reported upstream to SOFA at sofa@ukho.gov.uk. 38 46 39 47 Building and installing ERFA -
trunk/FACT++/erfa/RELEASE.rst
r18348 r18711 12 12 repository`_ in its own directory. That will create a directory called `erfa` 13 13 inside the `erfa-fetch` directory, and you should copy its contents to the 14 `src` directory of `erfa`. Use ``git diff`` in `erfa` to inspect the changes, 15 and then commit and push them to github. 14 `src` directory of `erfa`. Add any new C files or header files added by SOFA 15 to ``src/Makefile.am``, as appropriate. Use ``git diff`` in `erfa` to inspect 16 the changes, and then commit and push them to github. 16 17 17 18 * Update the version number in the `AC_INIT` macro of `configure.ac` to … … 41 42 will be placed in the working directory. 42 43 43 * Tag the current commit with the version number. A signed tag is preferred if you have an a signing key (e.g., do ``git tag -s v0.0.1``). 44 * Tag the current commit with the version number. A signed tag is preferred if 45 you have an a signing key (e.g., do ``git tag -s v0.0.1``). 44 46 45 47 * Push up your changes and the new tag to github: … … 52 54 made. 53 55 54 * Click on the "Draft release notes or downloads" button (or it might be "Edit release"). Put the version number as55 the title (e.g., ``v0.0.1``)and for the description put56 ``See `README.rst` for release notes.``56 * Click on the "Draft release notes or downloads" button (or it might be 57 "Edit release"). Put the version number as the title (e.g., ``v0.0.1``)and 58 for the description put ``See `README.rst` for release notes.`` 57 59 58 60 * Upload the tarball you created (e.g., `erfa-0.0.1.tar.gz`) by dropping it … … 128 130 * relevant bug reports in the github project page 129 131 130 The shared library version info is stored in three numbers called *current*, *revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO` in 131 the mentioned order. 132 The shared library version info is stored in three numbers called *current*, 133 *revision* and *age*. These numbers appear in the macro `ERFA_LIB_VERSION_INFO` 134 in the mentioned order. 132 135 133 136 If the version is given in the form CURRENT,REVISION,AGE then -
trunk/FACT++/erfa/configure.ac
r18348 r18711 3 3 AC_PREREQ([2.68]) 4 4 ## Follow the instructions in RELEASE.rst to change package version 5 AC_INIT([erfa],[1. 2.0])5 AC_INIT([erfa],[1.3.0]) 6 6 AC_CONFIG_SRCDIR([src/erfa.h]) 7 7 AC_CONFIG_HEADER([config.h]) … … 18 18 ## Revision is the version of the current interface 19 19 ## Follow the instructions in RELEASE.rst to change the version info 20 ERFA_LIB_VERSION_INFO( 3, 0, 2)20 ERFA_LIB_VERSION_INFO(4, 0, 3) 21 21 22 22 # Checks for libraries. -
trunk/FACT++/erfa/src/Makefile.am
r18348 r18711 7 7 c2ixy.c c2ixys.c c2s.c c2t00a.c c2t00b.c c2t06a.c c2tcio.c c2teqx.c \ 8 8 c2tpe.c c2txy.c cal2jd.c cp.c cpv.c cr.c d2dtf.c d2tf.c dat.c dtdb.c \ 9 dtf2d.c e e00a.c ee00b.c ee00.c ee06a.c eect00.c eform.c eo06a.c \10 e ors.c epb2jd.c epb.c epj2jd.c epj.c epv00.c eqeq94.c era00.c \11 fad03.c fae03.c faf03.c faju03.c fal03.c falp03.c fama03.c \9 dtf2d.c eceq06.c ee00a.c ee00.c eect00.c eo06a.c epb2jd.c epj2jd.c epv00.c \ 10 eqeq94.c ecm06.c ee00b.c ee06a.c eform.c eors.c epb.c epj.c eqec06.c \ 11 era00.c fad03.c fae03.c faf03.c faju03.c fal03.c falp03.c fama03.c \ 12 12 fame03.c fane03.c faom03.c fapa03.c fasa03.c faur03.c fave03.c \ 13 13 fk52h.c fk5hip.c fk5hz.c fw2m.c fw2xy.c g2icrs.c gc2gd.c gc2gde.c gd2gc.c \ 14 14 gd2gce.c gmst00.c gmst06.c gmst82.c gst00a.c gst00b.c gst06a.c \ 15 15 gst06.c gst94.c h2fk5.c hfk5z.c icrs2g.c ir.c jd2cal.c jdcalf.c ld.c \ 16 ldn.c ldsun.c num00a.c num00b.c num06a.c numat.c nut00a.c nut00b.c \ 16 ldn.c ldsun.c lteceq.c ltecm.c lteqec.c ltpb.c ltp.c ltpecl.c ltpequ.c \ 17 num00a.c num00b.c num06a.c numat.c nut00a.c nut00b.c \ 17 18 nut06a.c nut80.c nutm80.c obl06.c obl80.c p06e.c p2pv.c p2s.c pap.c \ 18 19 pas.c pb06.c pdp.c pfw06.c plan94.c pmat00.c pmat06.c pmat76.c \ -
trunk/FACT++/erfa/src/a2af.c
r18348 r18711 52 52 ** by testing for idmsf[0]=360 and setting idmsf[0-3] to zero. 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ … … 58 58 /* Hours to degrees * radians to turns */ 59 59 const double F = 15.0 / ERFA_D2PI; 60 60 61 61 62 /* Scale then use days to h,m,s function. */ … … 68 69 ** 69 70 ** 70 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.71 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 71 72 ** All rights reserved. 72 73 ** -
trunk/FACT++/erfa/src/a2tf.c
r18348 r18711 52 52 ** by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero. 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ … … 65 65 ** 66 66 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 68 ** All rights reserved. 69 69 ** -
trunk/FACT++/erfa/src/ab.c
r18348 r18711 49 49 ** eraPdp scalar product of two p-vectors 50 50 ** 51 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.51 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 52 52 ** Derived, with permission, from the SOFA library. See notes at end of file. 53 53 */ … … 55 55 int i; 56 56 double pdv, w1, w2, r2, w, p[3], r; 57 57 58 58 59 pdv = eraPdp(pnat, v); … … 76 77 ** 77 78 ** 78 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.79 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 79 80 ** All rights reserved. 80 81 ** -
trunk/FACT++/erfa/src/af2a.c
r18348 r18711 35 35 ** first, the smallest taking precedence. 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ … … 56 56 ** 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** All rights reserved. 60 60 ** -
trunk/FACT++/erfa/src/anp.c
r18348 r18711 15 15 ** double angle in range 0-2pi 16 16 ** 17 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.17 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 18 18 ** Derived, with permission, from the SOFA library. See notes at end of file. 19 19 */ 20 20 { 21 21 double w; 22 22 23 23 24 w = fmod(a, ERFA_D2PI); … … 30 31 ** 31 32 ** 32 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.33 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 33 34 ** All rights reserved. 34 35 ** -
trunk/FACT++/erfa/src/anpm.c
r18348 r18711 15 15 ** double angle in range +/-pi 16 16 ** 17 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.17 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 18 18 ** Derived, with permission, from the SOFA library. See notes at end of file. 19 19 */ 20 20 { 21 21 double w; 22 22 23 23 24 w = fmod(a, ERFA_D2PI); … … 30 31 ** 31 32 ** 32 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.33 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 33 34 ** All rights reserved. 34 35 ** -
trunk/FACT++/erfa/src/apcg.c
r18348 r18711 103 103 ** eraApcs astrometry parameters, ICRS-GCRS, space observer 104 104 ** 105 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.105 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 106 106 ** Derived, with permission, from the SOFA library. See notes at end of file. 107 107 */ … … 110 110 double pv[2][3] = { { 0.0, 0.0, 0.0 }, 111 111 { 0.0, 0.0, 0.0 } }; 112 112 113 113 114 /* Compute the star-independent astrometry parameters. */ … … 120 121 ** 121 122 ** 122 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.123 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 123 124 ** All rights reserved. 124 125 ** -
trunk/FACT++/erfa/src/apcg13.c
r18348 r18711 105 105 ** eraApcg astrometry parameters, ICRS-GCRS, geocenter 106 106 ** 107 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.107 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 108 108 ** Derived, with permission, from the SOFA library. See notes at end of file. 109 109 */ 110 110 { 111 111 double ehpv[2][3], ebpv[2][3]; 112 112 113 113 114 /* Earth barycentric & heliocentric position/velocity (au, au/d). */ … … 123 124 ** 124 125 ** 125 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.126 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 126 127 ** All rights reserved. 127 128 ** -
trunk/FACT++/erfa/src/apci.c
r18348 r18711 113 113 ** eraC2ixys celestial-to-intermediate matrix, given X,Y and s 114 114 ** 115 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.115 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 116 116 ** Derived, with permission, from the SOFA library. See notes at end of file. 117 117 */ … … 130 130 ** 131 131 ** 132 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.132 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 133 133 ** All rights reserved. 134 134 ** -
trunk/FACT++/erfa/src/apci13.c
r18348 r18711 111 111 ** eraEors equation of the origins, given NPB matrix and s 112 112 ** 113 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.113 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 114 114 ** Derived, with permission, from the SOFA library. See notes at end of file. 115 115 */ … … 117 117 double ehpv[2][3], ebpv[2][3], r[3][3], x, y, s; 118 118 119 119 120 /* Earth barycentric & heliocentric position/velocity (au, au/d). */ 120 121 (void) eraEpv00(date1, date2, ehpv, ebpv); … … 141 142 ** 142 143 ** 143 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.144 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 144 145 ** All rights reserved. 145 146 ** -
trunk/FACT++/erfa/src/apco.c
r18348 r18711 153 153 ** eraCr copy r-matrix 154 154 ** 155 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.155 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 156 156 ** Derived, with permission, from the SOFA library. See notes at end of file. 157 157 */ 158 158 { 159 159 double sl, cl, r[3][3], pvc[2][3], pv[2][3]; 160 160 161 161 162 /* Longitude with adjustment for TIO locator s'. */ … … 203 204 ** 204 205 ** 205 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.206 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 206 207 ** All rights reserved. 207 208 ** -
trunk/FACT++/erfa/src/apco13.c
r18348 r18711 174 174 ** eraEors equation of the origins, given NPB matrix and s 175 175 ** 176 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.176 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 177 177 ** Derived, with permission, from the SOFA library. See notes at end of file. 178 178 */ … … 182 182 r[3][3], x, y, s, theta, sp, refa, refb; 183 183 184 184 185 /* UTC to other time scales. */ 185 186 j = eraUtctai(utc1, utc2, &tai1, &tai2); … … 226 227 ** 227 228 ** 228 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.229 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 229 230 ** All rights reserved. 230 231 ** -
trunk/FACT++/erfa/src/apcs.c
r18348 r18711 123 123 ** eraIr initialize r-matrix to identity 124 124 ** 125 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.125 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 126 126 ** Derived, with permission, from the SOFA library. See notes at end of file. 127 127 */ … … 135 135 int i; 136 136 double dp, dv, pb[3], vb[3], ph[3], v2, w; 137 137 138 138 139 /* Time since reference epoch, years (for proper motion calculation). */ … … 172 173 ** 173 174 ** 174 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.175 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 175 176 ** All rights reserved. 176 177 ** -
trunk/FACT++/erfa/src/apcs13.c
r18348 r18711 112 112 ** eraApcs astrometry parameters, ICRS-GCRS, space observer 113 113 ** 114 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.114 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 115 115 ** Derived, with permission, from the SOFA library. See notes at end of file. 116 116 */ 117 117 { 118 118 double ehpv[2][3], ebpv[2][3]; 119 119 120 120 121 /* Earth barycentric & heliocentric position/velocity (au, au/d). */ … … 130 131 ** 131 132 ** 132 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.133 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 133 134 ** All rights reserved. 134 135 ** -
trunk/FACT++/erfa/src/aper.c
r18348 r18711 90 90 ** transformation), and atmospheric refraction. 91 91 ** 92 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.92 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 93 93 ** Derived, with permission, from the SOFA library. See notes at end of file. 94 94 */ … … 102 102 ** 103 103 ** 104 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.104 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 105 105 ** All rights reserved. 106 106 ** -
trunk/FACT++/erfa/src/aper13.c
r18348 r18711 109 109 ** eraEra00 Earth rotation angle, IAU 2000 110 110 ** 111 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.111 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 112 112 ** Derived, with permission, from the SOFA library. See notes at end of file. 113 113 */ … … 121 121 ** 122 122 ** 123 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.123 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 124 124 ** All rights reserved. 125 125 ** -
trunk/FACT++/erfa/src/apio.c
r18348 r18711 114 114 ** eraAper astrometry parameters: update ERA 115 115 ** 116 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.116 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 117 117 ** Derived, with permission, from the SOFA library. See notes at end of file. 118 118 */ 119 119 { 120 120 double sl, cl, pv[2][3]; 121 121 122 122 123 /* Longitude with adjustment for TIO locator s'. */ … … 152 153 ** 153 154 ** 154 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.155 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 155 156 ** All rights reserved. 156 157 ** -
trunk/FACT++/erfa/src/apio13.c
r18348 r18711 163 163 ** eraApio astrometry parameters, CIRS-observed 164 164 ** 165 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.165 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 166 166 ** Derived, with permission, from the SOFA library. See notes at end of file. 167 167 */ … … 169 169 int j; 170 170 double tai1, tai2, tt1, tt2, ut11, ut12, sp, theta, refa, refb; 171 171 172 172 173 /* UTC to other time scales. */ … … 198 199 ** 199 200 ** 200 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.201 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 201 202 ** All rights reserved. 202 203 ** -
trunk/FACT++/erfa/src/atci13.c
r18348 r18711 79 79 ** eraAtciq quick ICRS to CIRS 80 80 ** 81 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.81 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 82 82 ** Derived, with permission, from the SOFA library. See notes at end of file. 83 83 */ … … 85 85 /* Star-independent astrometry parameters */ 86 86 eraASTROM astrom; 87 87 88 88 89 /* The transformation parameters. */ … … 98 99 ** 99 100 ** 100 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.101 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 101 102 ** All rights reserved. 102 103 ** -
trunk/FACT++/erfa/src/atciq.c
r18348 r18711 65 65 ** eraAnp normalize angle into range 0 to 2pi 66 66 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 68 ** Derived, with permission, from the SOFA library. See notes at end of file. 69 69 */ 70 70 { 71 71 double pco[3], pnat[3], ppr[3], pi[3], w; 72 72 73 73 74 /* Proper motion and parallax, giving BCRS coordinate direction. */ … … 93 94 ** 94 95 ** 95 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.96 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 96 97 ** All rights reserved. 97 98 ** -
trunk/FACT++/erfa/src/atciqn.c
r18348 r18711 17 17 ** star-independent parameters can be obtained by calling one of the 18 18 ** functions eraApci[13], eraApcg[13], eraApco[13] or eraApcs[13]. 19 ** 19 20 ** 20 21 ** If the only light-deflecting body to be taken into account is the … … 101 102 ** eraAnp normalize angle into range 0 to 2pi 102 103 ** 103 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.104 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 104 105 ** Derived, with permission, from the SOFA library. See notes at end of file. 105 106 */ 106 107 { 107 108 double pco[3], pnat[3], ppr[3], pi[3], w; 109 108 110 109 111 /* Proper motion and parallax, giving BCRS coordinate direction. */ … … 129 131 ** 130 132 ** 131 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.133 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 132 134 ** All rights reserved. 133 135 ** -
trunk/FACT++/erfa/src/atciqz.c
r18348 r18711 64 64 ** eraAnp normalize angle into range +/- pi 65 65 ** 66 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.66 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 67 67 ** Derived, with permission, from the SOFA library. See notes at end of file. 68 68 */ 69 69 { 70 70 double pco[3], pnat[3], ppr[3], pi[3], w; 71 71 72 72 73 /* BCRS coordinate direction (unit vector). */ … … 92 93 ** 93 94 ** 94 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.95 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 95 96 ** All rights reserved. 96 97 ** -
trunk/FACT++/erfa/src/atco13.c
r18348 r18711 150 150 ** eraApco13 astrometry parameters, ICRS-observed, 2013 151 151 ** eraAtciq quick ICRS to CIRS 152 ** eraAtioq quick ICRS to observed153 ** 154 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.152 ** eraAtioq quick CIRS to observed 153 ** 154 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 155 155 ** Derived, with permission, from the SOFA library. See notes at end of file. 156 156 */ … … 160 160 double ri, di; 161 161 162 162 163 /* Star-independent astrometry parameters. */ 163 164 j = eraApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp, … … 182 183 ** 183 184 ** 184 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.185 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 185 186 ** All rights reserved. 186 187 ** -
trunk/FACT++/erfa/src/atic13.c
r18348 r18711 72 72 ** eraAticq quick CIRS to ICRS astrometric 73 73 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.74 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 75 ** Derived, with permission, from the SOFA library. See notes at end of file. 76 76 */ … … 78 78 /* Star-independent astrometry parameters */ 79 79 eraASTROM astrom; 80 80 81 81 82 /* Star-independent astrometry parameters. */ … … 91 92 ** 92 93 ** 93 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 94 95 ** All rights reserved. 95 96 ** -
trunk/FACT++/erfa/src/aticq.c
r18348 r18711 60 60 ** eraAnp normalize angle into range +/- pi 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** Derived, with permission, from the SOFA library. See notes at end of file. 64 64 */ … … 67 67 double pi[3], ppr[3], pnat[3], pco[3], w, d[3], before[3], r2, r, 68 68 after[3]; 69 69 70 70 71 /* CIRS RA,Dec to Cartesian. */ … … 138 139 ** 139 140 ** 140 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.141 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 141 142 ** All rights reserved. 142 143 ** -
trunk/FACT++/erfa/src/aticqn.c
r18348 r18711 98 98 ** eraAnp normalize angle into range +/- pi 99 99 ** 100 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.100 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 101 101 ** Derived, with permission, from the SOFA library. See notes at end of file. 102 102 */ … … 106 106 after[3]; 107 107 108 108 109 /* CIRS RA,Dec to Cartesian. */ 109 110 eraS2c(ri, di, pi); … … 176 177 ** 177 178 ** 178 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.179 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 179 180 ** All rights reserved. 180 181 ** -
trunk/FACT++/erfa/src/atio13.c
r18348 r18711 133 133 ** Called: 134 134 ** eraApio13 astrometry parameters, CIRS-observed, 2013 135 ** eraAtioq quick ICRS to observed136 ** 137 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.135 ** eraAtioq quick CIRS to observed 136 ** 137 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 138 138 ** Derived, with permission, from the SOFA library. See notes at end of file. 139 139 */ … … 142 142 eraASTROM astrom; 143 143 144 144 145 /* Star-independent astrometry parameters for CIRS->observed. */ 145 146 j = eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp, … … 161 162 ** 162 163 ** 163 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.164 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 164 165 ** All rights reserved. 165 166 ** -
trunk/FACT++/erfa/src/atioq.c
r18348 r18711 96 96 ** eraAnp normalize angle into range 0 to 2pi 97 97 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.98 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 99 ** Derived, with permission, from the SOFA library. See notes at end of file. 100 100 */ … … 108 108 xaeo, yaeo, zaeo, zdobs, hmobs, dcobs, raobs; 109 109 110 /*--------------------------------------------------------------------*/111 110 112 111 /* CIRS RA,Dec to Cartesian -HA,Dec. */ … … 184 183 ** 185 184 ** 186 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.185 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 187 186 ** All rights reserved. 188 187 ** -
trunk/FACT++/erfa/src/atoc13.c
r18348 r18711 142 142 ** eraAticq quick CIRS to ICRS 143 143 ** 144 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.144 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 145 145 ** Derived, with permission, from the SOFA library. See notes at end of file. 146 146 */ … … 150 150 double eo, ri, di; 151 151 152 152 153 /* Star-independent astrometry parameters. */ 153 154 j = eraApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp, … … 172 173 ** 173 174 ** 174 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.175 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 175 176 ** All rights reserved. 176 177 ** -
trunk/FACT++/erfa/src/atoi13.c
r18348 r18711 141 141 ** eraAtoiq quick observed to CIRS 142 142 ** 143 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.143 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 144 144 ** Derived, with permission, from the SOFA library. See notes at end of file. 145 145 */ … … 148 148 eraASTROM astrom; 149 149 150 150 151 /* Star-independent astrometry parameters for CIRS->observed. */ 151 152 j = eraApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp, … … 167 168 ** 168 169 ** 169 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.170 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 170 171 ** All rights reserved. 171 172 ** -
trunk/FACT++/erfa/src/atoiq.c
r18348 r18711 89 89 ** eraAnp normalize angle into range 0 to 2pi 90 90 ** 91 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.91 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 92 92 ** Derived, with permission, from the SOFA library. See notes at end of file. 93 93 */ … … 99 99 f, xhd, yhd, zhd, xpl, ypl, w, hma; 100 100 101 101 102 /* Coordinate type. */ 102 103 c = (int) type[0]; … … 199 200 ** 200 201 ** 201 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.202 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 202 203 ** All rights reserved. 203 204 ** -
trunk/FACT++/erfa/src/bi00.c
r18348 r18711 42 42 ** from ftp://maia.usno.navy.mil/conv2000/chapter5/IAU2000A. 43 43 ** 44 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 45 45 ** Derived, with permission, from the SOFA library. See notes at end of file. 46 46 */ … … 52 52 /* The ICRS RA of the J2000.0 equinox (Chapront et al., 2002) */ 53 53 const double DRA0 = -0.0146 * ERFA_DAS2R; 54 54 55 55 56 /* Return the results (which are fixed). */ … … 64 65 ** 65 66 ** 66 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 67 68 ** All rights reserved. 68 69 ** -
trunk/FACT++/erfa/src/bp00.c
r18348 r18711 71 71 ** intermediate origin" (CIO) by IAU 2006 Resolution 2. 72 72 ** 73 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.73 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 74 74 ** Derived, with permission, from the SOFA library. See notes at end of file. 75 75 */ … … 80 80 double t, dpsibi, depsbi, dra0, psia77, oma77, chia, 81 81 dpsipr, depspr, psia, oma, rbw[3][3]; 82 82 83 83 84 /* Interval between fundamental epoch J2000.0 and current date (JC). */ … … 120 121 ** 121 122 ** 122 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.123 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 123 124 ** All rights reserved. 124 125 ** -
trunk/FACT++/erfa/src/bp06.c
r18348 r18711 65 65 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 66 66 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 68 ** Derived, with permission, from the SOFA library. See notes at end of file. 69 69 */ 70 70 { 71 71 double gamb, phib, psib, epsa, rbpw[3][3], rbt[3][3]; 72 72 73 73 74 /* B matrix. */ … … 91 92 ** 92 93 ** 93 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 94 95 ** All rights reserved. 95 96 ** -
trunk/FACT++/erfa/src/bpn2xy.c
r18348 r18711 35 35 ** intermediate origin" (CIO) by IAU 2006 Resolution 2. 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ … … 49 49 ** 50 50 ** 51 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.51 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 52 52 ** All rights reserved. 53 53 ** -
trunk/FACT++/erfa/src/c2i00a.c
r18348 r18711 69 69 ** IERS Technical Note No. 32, BKG (2004) 70 70 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.71 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 72 ** Derived, with permission, from the SOFA library. See notes at end of file. 73 73 */ 74 74 { 75 75 double rbpn[3][3]; 76 76 77 77 78 /* Obtain the celestial-to-true matrix (IAU 2000A). */ … … 87 88 ** 88 89 ** 89 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.90 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 90 91 ** All rights reserved. 91 92 ** -
trunk/FACT++/erfa/src/c2i00b.c
r18348 r18711 69 69 ** IERS Technical Note No. 32, BKG (2004) 70 70 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.71 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 72 ** Derived, with permission, from the SOFA library. See notes at end of file. 73 73 */ 74 74 { 75 75 double rbpn[3][3]; 76 76 77 77 78 /* Obtain the celestial-to-true matrix (IAU 2000B). */ … … 87 88 ** 88 89 ** 89 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.90 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 90 91 ** All rights reserved. 91 92 ** -
trunk/FACT++/erfa/src/c2i06a.c
r18348 r18711 60 60 ** IERS Technical Note No. 32, BKG 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** Derived, with permission, from the SOFA library. See notes at end of file. 64 64 */ 65 65 { 66 66 double rbpn[3][3], x, y, s; 67 67 68 68 69 /* Obtain the celestial-to-true matrix (IAU 2006/2000A). */ … … 84 85 ** 85 86 ** 86 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.87 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 87 88 ** All rights reserved. 88 89 ** -
trunk/FACT++/erfa/src/c2ibpn.c
r18348 r18711 72 72 ** IERS Technical Note No. 32, BKG (2004) 73 73 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.74 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 75 ** Derived, with permission, from the SOFA library. See notes at end of file. 76 76 */ 77 77 { 78 78 double x, y; 79 79 80 80 81 /* Extract the X,Y coordinates. */ … … 90 91 ** 91 92 ** 92 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.93 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 93 94 ** All rights reserved. 94 95 ** -
trunk/FACT++/erfa/src/c2ixy.c
r18348 r18711 66 66 ** IERS Technical Note No. 32, BKG (2004) 67 67 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.68 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 69 ** Derived, with permission, from the SOFA library. See notes at end of file. 70 70 */ … … 80 80 ** 81 81 ** 82 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.82 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 83 83 ** All rights reserved. 84 84 ** -
trunk/FACT++/erfa/src/c2ixys.c
r18348 r18711 48 48 ** IERS Technical Note No. 32, BKG (2004) 49 49 ** 50 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 51 51 ** Derived, with permission, from the SOFA library. See notes at end of file. 52 52 */ … … 72 72 ** 73 73 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.74 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 75 ** All rights reserved. 76 76 ** -
trunk/FACT++/erfa/src/c2s.c
r18348 r18711 24 24 ** 3) At either pole, zero theta is returned. 25 25 ** 26 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.26 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 27 27 ** Derived, with permission, from the SOFA library. See notes at end of file. 28 28 */ 29 29 { 30 30 double x, y, z, d2; 31 31 32 32 33 x = p[0]; … … 44 45 ** 45 46 ** 46 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.47 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 47 48 ** All rights reserved. 48 49 ** -
trunk/FACT++/erfa/src/c2t00a.c
r18348 r18711 75 75 ** IERS Technical Note No. 32, BKG (2004) 76 76 ** 77 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.77 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 78 78 ** Derived, with permission, from the SOFA library. See notes at end of file. 79 79 */ 80 80 { 81 81 double rc2i[3][3], era, sp, rpom[3][3]; 82 82 83 83 84 /* Form the celestial-to-intermediate matrix for this TT (IAU 2000A). */ … … 102 103 ** 103 104 ** 104 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.105 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 105 106 ** All rights reserved. 106 107 ** -
trunk/FACT++/erfa/src/c2t00b.c
r18348 r18711 74 74 ** IERS Technical Note No. 32, BKG (2004) 75 75 ** 76 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.76 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 77 77 ** Derived, with permission, from the SOFA library. See notes at end of file. 78 78 */ 79 79 { 80 80 double rc2i[3][3], era, rpom[3][3]; 81 81 82 82 83 /* Form the celestial-to-intermediate matrix for this TT (IAU 2000B). */ … … 98 99 ** 99 100 ** 100 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.101 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 101 102 ** All rights reserved. 102 103 ** -
trunk/FACT++/erfa/src/c2t06a.c
r18348 r18711 73 73 ** IERS Technical Note No. 32, BKG 74 74 ** 75 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.75 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 76 76 ** Derived, with permission, from the SOFA library. See notes at end of file. 77 77 */ 78 78 { 79 79 double rc2i[3][3], era, sp, rpom[3][3]; 80 80 81 81 82 /* Form the celestial-to-intermediate matrix for this TT. */ … … 100 101 ** 101 102 ** 102 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.103 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 103 104 ** All rights reserved. 104 105 ** -
trunk/FACT++/erfa/src/c2tcio.c
r18348 r18711 53 53 ** IERS Technical Note No. 32, BKG 54 54 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 56 ** Derived, with permission, from the SOFA library. See notes at end of file. 57 57 */ 58 58 { 59 59 double r[3][3]; 60 60 61 61 62 /* Construct the matrix. */ … … 70 71 ** 71 72 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.73 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 74 ** All rights reserved. 74 75 ** -
trunk/FACT++/erfa/src/c2teqx.c
r18348 r18711 53 53 ** IERS Technical Note No. 32, BKG (2004) 54 54 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 56 ** Derived, with permission, from the SOFA library. See notes at end of file. 57 57 */ 58 58 { 59 59 double r[3][3]; 60 60 61 61 62 /* Construct the matrix. */ … … 70 71 ** 71 72 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.73 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 74 ** All rights reserved. 74 75 ** -
trunk/FACT++/erfa/src/c2tpe.c
r18348 r18711 84 84 ** IERS Technical Note No. 32, BKG (2004) 85 85 ** 86 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.86 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 87 87 ** Derived, with permission, from the SOFA library. See notes at end of file. 88 88 */ … … 90 90 double epsa, rb[3][3], rp[3][3], rbp[3][3], rn[3][3], 91 91 rbpn[3][3], gmst, ee, sp, rpom[3][3]; 92 92 93 93 94 /* Form the celestial-to-true matrix for this TT. */ … … 115 116 ** 116 117 ** 117 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.118 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 118 119 ** All rights reserved. 119 120 ** -
trunk/FACT++/erfa/src/c2txy.c
r18348 r18711 80 80 ** IERS Technical Note No. 32, BKG (2004) 81 81 ** 82 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.82 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 83 83 ** Derived, with permission, from the SOFA library. See notes at end of file. 84 84 */ 85 85 { 86 86 double rc2i[3][3], era, sp, rpom[3][3]; 87 87 88 88 89 /* Form the celestial-to-intermediate matrix for this TT. */ … … 107 108 ** 108 109 ** 109 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.110 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 110 111 ** All rights reserved. 111 112 ** -
trunk/FACT++/erfa/src/cal2jd.c
r18348 r18711 44 44 ** Section 12.92 (p604). 45 45 ** 46 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.46 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 47 47 ** Derived, with permission, from the SOFA library. See notes at end of file. 48 48 */ … … 57 57 static const int mtab[] 58 58 = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; 59 59 60 60 61 /* Preset status. */ … … 87 88 ** 88 89 ** 89 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.90 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 90 91 ** All rights reserved. 91 92 ** -
trunk/FACT++/erfa/src/cp.c
r18348 r18711 15 15 ** c double[3] copy 16 16 ** 17 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.17 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 18 18 ** Derived, with permission, from the SOFA library. See notes at end of file. 19 19 */ … … 29 29 ** 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** All rights reserved. 33 33 ** -
trunk/FACT++/erfa/src/cpv.c
r18348 r18711 18 18 ** eraCp copy p-vector 19 19 ** 20 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.20 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 21 21 ** Derived, with permission, from the SOFA library. See notes at end of file. 22 22 */ … … 31 31 ** 32 32 ** 33 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.33 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 34 34 ** All rights reserved. 35 35 ** -
trunk/FACT++/erfa/src/cr.c
r18348 r18711 13 13 ** 14 14 ** Returned: 15 ** char[]double[3][3] copy15 ** c double[3][3] copy 16 16 ** 17 17 ** Called: 18 18 ** eraCp copy p-vector 19 19 ** 20 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.20 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 21 21 ** Derived, with permission, from the SOFA library. See notes at end of file. 22 22 */ … … 32 32 ** 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** All rights reserved. 36 36 ** -
trunk/FACT++/erfa/src/d2dtf.c
r18348 r18711 72 72 ** eraDat delta(AT) = TAI-UTC 73 73 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.74 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 75 ** Derived, with permission, from the SOFA library. See notes at end of file. 76 76 */ … … 80 80 int iy1, im1, id1, js, iy2, im2, id2, ihmsf1[4], i; 81 81 double a1, b1, fd, dat0, dat12, w, dat24, dleap; 82 82 83 83 84 /* The two-part JD. */ … … 184 185 ** 185 186 ** 186 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.187 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 187 188 ** All rights reserved. 188 189 ** -
trunk/FACT++/erfa/src/d2tf.c
r18348 r18711 49 49 ** by testing for ihmsf[0]=24 and setting ihmsf[0-3] to zero. 50 50 ** 51 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.51 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 52 52 ** Derived, with permission, from the SOFA library. See notes at end of file. 53 53 */ … … 55 55 int nrs, n; 56 56 double rs, rm, rh, a, w, ah, am, as, af; 57 57 58 58 59 /* Handle sign. */ … … 108 109 ** 109 110 ** 110 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.111 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 111 112 ** All rights reserved. 112 113 ** -
trunk/FACT++/erfa/src/dat.c
r18348 r18711 37 37 ** : added. : 38 38 ** : : 39 ** : Latest leap second: 201 5 June 30:39 ** : Latest leap second: 2016 December 31 : 40 40 ** : : 41 41 ** :__________________________________________: … … 116 116 ** eraCal2jd Gregorian calendar to JD 117 117 ** 118 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.118 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 119 119 ** Derived, with permission, from the SOFA library. See notes at end of file. 120 120 */ 121 121 { 122 122 /* Release year for this version of eraDat */ 123 enum { IYV = 201 5};123 enum { IYV = 2016}; 124 124 125 125 /* Reference dates (MJD) and drift rates (s/day), pre leap seconds */ … … 189 189 { 2009, 1, 34.0 }, 190 190 { 2012, 7, 35.0 }, 191 { 2015, 7, 36.0 } 191 { 2015, 7, 36.0 }, 192 { 2017, 1, 37.0 } 192 193 }; 193 194 … … 245 246 ** 246 247 ** 247 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.248 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 248 249 ** All rights reserved. 249 250 ** -
trunk/FACT++/erfa/src/dtdb.c
r18348 r18711 158 158 ** Francou, G. & Laskar, J., Astron.Astrophys., 282, 663-683 (1994). 159 159 ** 160 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.160 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 161 161 ** Derived, with permission, from the SOFA library. See notes at end of file. 162 162 */ … … 1062 1062 }; 1063 1063 1064 1064 1065 /* Time since J2000.0 in Julian millennia. */ 1065 1066 t = ((date1 - ERFA_DJ00) + date2) / ERFA_DJM; … … 1161 1162 ** 1162 1163 ** 1163 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.1164 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 1164 1165 ** All rights reserved. 1165 1166 ** -
trunk/FACT++/erfa/src/dtf2d.c
r18348 r18711 76 76 ** eraJd2cal JD to Gregorian calendar 77 77 ** 78 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.78 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 79 79 ** Derived, with permission, from the SOFA library. See notes at end of file. 80 80 */ … … 82 82 int js, iy2, im2, id2; 83 83 double dj, w, day, seclim, dat0, dat12, dat24, dleap, time; 84 84 85 85 86 /* Today's Julian Day Number. */ … … 151 152 ** 152 153 ** 153 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.154 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 154 155 ** All rights reserved. 155 156 ** -
trunk/FACT++/erfa/src/ee00.c
r18348 r18711 61 61 ** IERS Technical Note No. 32, BKG (2004) 62 62 ** 63 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.63 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 64 64 ** Derived, with permission, from the SOFA library. See notes at end of file. 65 65 */ 66 66 { 67 67 double ee; 68 68 69 69 70 /* Equation of the equinoxes. */ … … 76 77 ** 77 78 ** 78 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.79 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 79 80 ** All rights reserved. 80 81 ** -
trunk/FACT++/erfa/src/ee00a.c
r18348 r18711 59 59 ** IERS Technical Note No. 32, BKG (2004). 60 60 ** 61 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 62 62 ** Derived, with permission, from the SOFA library. See notes at end of file. 63 63 */ 64 64 { 65 65 double dpsipr, depspr, epsa, dpsi, deps, ee; 66 66 67 67 68 /* IAU 2000 precession-rate adjustments. */ … … 83 84 ** 84 85 ** 85 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.86 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 86 87 ** All rights reserved. 87 88 ** -
trunk/FACT++/erfa/src/ee00b.c
r18348 r18711 65 65 ** IERS Technical Note No. 32, BKG (2004) 66 66 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 68 ** Derived, with permission, from the SOFA library. See notes at end of file. 69 69 */ 70 70 { 71 71 double dpsipr, depspr, epsa, dpsi, deps, ee; 72 72 73 73 74 /* IAU 2000 precession-rate adjustments. */ … … 89 90 ** 90 91 ** 91 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.92 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 92 93 ** All rights reserved. 93 94 ** -
trunk/FACT++/erfa/src/ee06a.c
r18348 r18711 51 51 ** IERS Technical Note No. 32, BKG 52 52 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 54 ** Derived, with permission, from the SOFA library. See notes at end of file. 55 55 */ 56 56 { 57 57 double gst06a, gmst06, ee; 58 58 59 59 60 /* Apparent and mean sidereal times. */ … … 70 71 ** 71 72 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.73 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 74 ** All rights reserved. 74 75 ** -
trunk/FACT++/erfa/src/eect00.c
r18348 r18711 92 92 ** IERS Technical Note No. 32, BKG (2004) 93 93 ** 94 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 95 95 ** Derived, with permission, from the SOFA library. See notes at end of file. 96 96 */ … … 231 231 ** 232 232 ** 233 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.233 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 234 234 ** All rights reserved. 235 235 ** -
trunk/FACT++/erfa/src/eform.c
r18348 r18711 56 56 ** p220. 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** Derived, with permission, from the SOFA library. See notes at end of file. 60 60 */ … … 95 95 ** 96 96 ** 97 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.97 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 98 98 ** All rights reserved. 99 99 ** -
trunk/FACT++/erfa/src/eo06a.c
r18348 r18711 55 55 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 56 56 ** 57 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.57 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 58 58 ** Derived, with permission, from the SOFA library. See notes at end of file. 59 59 */ 60 60 { 61 61 double r[3][3], x, y, s, eo; 62 62 63 63 64 /* Classical nutation x precession x bias matrix. */ … … 79 80 ** 80 81 ** 81 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.82 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 82 83 ** All rights reserved. 83 84 ** -
trunk/FACT++/erfa/src/eors.c
r18348 r18711 34 34 ** Wallace, P. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** Derived, with permission, from the SOFA library. See notes at end of file. 38 38 */ 39 39 { 40 40 double x, ax, xs, ys, zs, p, q, eo; 41 41 42 42 43 /* Evaluate Wallace & Capitaine (2006) expression (16). */ … … 56 57 ** 57 58 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.59 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 60 ** All rights reserved. 60 61 ** -
trunk/FACT++/erfa/src/epb.c
r18348 r18711 27 27 ** Lieske, J.H., 1979. Astron.Astrophys., 73, 282. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ … … 40 40 ** 41 41 ** 42 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.42 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 43 43 ** All rights reserved. 44 44 ** -
trunk/FACT++/erfa/src/epb2jd.c
r18348 r18711 27 27 ** Lieske, J.H., 1979, Astron.Astrophys. 73, 282. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ … … 40 40 ** 41 41 ** 42 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.42 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 43 43 ** All rights reserved. 44 44 ** -
trunk/FACT++/erfa/src/epj.c
r18348 r18711 27 27 ** Lieske, J.H., 1979, Astron.Astrophys. 73, 282. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ 32 32 { 33 33 double epj; 34 34 35 35 36 epj = 2000.0 + ((dj1 - ERFA_DJ00) + dj2) / ERFA_DJY; … … 41 42 ** 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** All rights reserved. 45 46 ** -
trunk/FACT++/erfa/src/epj2jd.c
r18348 r18711 27 27 ** Lieske, J.H., 1979, Astron.Astrophys. 73, 282. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ … … 40 40 ** 41 41 ** 42 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.42 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 43 43 ** All rights reserved. 44 44 ** -
trunk/FACT++/erfa/src/epv00.c
r18348 r18711 95 95 ** will receive the barycentric values. 96 96 ** 97 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.97 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 98 98 ** Derived, with permission, from the SOFA library. See notes at end of file. 99 99 */ … … 2538 2538 ** 2539 2539 ** 2540 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.2540 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 2541 2541 ** All rights reserved. 2542 2542 ** -
trunk/FACT++/erfa/src/eqeq94.c
r18348 r18711 52 52 ** 645-650. 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ 57 57 { 58 58 double t, om, dpsi, deps, eps0, ee; 59 59 60 60 61 /* Interval between fundamental epoch J2000.0 and given date (JC). */ … … 80 81 ** 81 82 ** 82 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.83 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 83 84 ** All rights reserved. 84 85 ** -
trunk/FACT++/erfa/src/era00.c
r18348 r18711 55 55 ** IERS Technical Note No. 32, BKG (2004) 56 56 ** 57 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.57 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 58 58 ** Derived, with permission, from the SOFA library. See notes at end of file. 59 59 */ 60 60 { 61 61 double d1, d2, t, f, theta; 62 62 63 63 64 /* Days since fundamental epoch. */ … … 84 85 ** 85 86 ** 86 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.87 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 87 88 ** All rights reserved. 88 89 ** -
trunk/FACT++/erfa/src/erfa.h
r18348 r18711 9 9 ** Prototype function declarations for ERFA library. 10 10 ** 11 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.11 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 12 12 ** Derived, with permission, from the SOFA library. See notes at end of file. 13 13 */ … … 193 193 void eraFw2xy(double gamb, double phib, double psi, double eps, 194 194 double *x, double *y); 195 void eraLtp(double epj, double rp[3][3]); 196 void eraLtpb(double epj, double rpb[3][3]); 197 void eraLtpecl(double epj, double vec[3]); 198 void eraLtpequ(double epj, double veq[3]); 195 199 void eraNum00a(double date1, double date2, double rmatn[3][3]); 196 200 void eraNum00b(double date1, double date2, double rmatn[3][3]); … … 306 310 double *pmr2, double *pmd2, double *px2, double *rv2); 307 311 312 /* Astronomy/EclipticCoordinates */ 313 void eraEceq06(double date1, double date2, double dl, double db, 314 double *dr, double *dd); 315 void eraEcm06(double date1, double date2, double rm[3][3]); 316 void eraEqec06(double date1, double date2, double dr, double dd, 317 double *dl, double *db); 318 void eraLteceq(double epj, double dl, double db, double *dr, double *dd); 319 void eraLtecm(double epj, double rm[3][3]); 320 void eraLteqec(double epj, double dr, double dd, double *dl, double *db); 321 308 322 /* Astronomy/GalacticCoordinates */ 309 void eraG2icrs ( double dl, double db, double *dr, double *dd);310 void eraIcrs2g ( double dr, double dd, double *dl, double *db);323 void eraG2icrs(double dl, double db, double *dr, double *dd); 324 void eraIcrs2g(double dr, double dd, double *dl, double *db); 311 325 312 326 /* Astronomy/GeodeticGeocentric */ … … 443 457 ** 444 458 ** 445 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.459 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 446 460 ** All rights reserved. 447 461 ** -
trunk/FACT++/erfa/src/erfam.h
r18348 r18711 9 9 ** Macros used by ERFA library. 10 10 ** 11 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.11 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 12 12 ** Derived, with permission, from the SOFA library. See notes at end of file. 13 13 */ … … 148 148 ** 149 149 ** 150 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.150 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 151 151 ** All rights reserved. 152 152 ** -
trunk/FACT++/erfa/src/fad03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean elongation of the Moon from the Sun (IERS Conventions 2003). */ … … 51 52 ** 52 53 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 55 ** All rights reserved. 55 56 ** -
trunk/FACT++/erfa/src/fae03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Earth (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/faf03.c
r18348 r18711 33 33 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 34 34 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.35 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 36 ** Derived, with permission, from the SOFA library. See notes at end of file. 37 37 */ 38 38 { 39 39 double a; 40 40 41 41 42 /* Mean longitude of the Moon minus that of the ascending node */ … … 49 50 return a; 50 51 52 51 53 } 52 54 /*---------------------------------------------------------------------- 53 55 ** 54 56 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.57 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 58 ** All rights reserved. 57 59 ** -
trunk/FACT++/erfa/src/faju03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Jupiter (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/fal03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean anomaly of the Moon (IERS Conventions 2003). */ … … 51 52 ** 52 53 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 55 ** All rights reserved. 55 56 ** -
trunk/FACT++/erfa/src/falp03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean anomaly of the Sun (IERS Conventions 2003). */ … … 51 52 ** 52 53 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 55 ** All rights reserved. 55 56 ** -
trunk/FACT++/erfa/src/fama03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Mars (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/fame03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Mercury (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/fane03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean longitude of Neptune (IERS Conventions 2003). */ … … 47 48 ** 48 49 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 51 ** All rights reserved. 51 52 ** -
trunk/FACT++/erfa/src/faom03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean longitude of the Moon's ascending node */ … … 52 53 ** 53 54 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 56 ** All rights reserved. 56 57 ** -
trunk/FACT++/erfa/src/fapa03.c
r18348 r18711 36 36 ** IERS Technical Note No. 32, BKG (2004) 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** Derived, with permission, from the SOFA library. See notes at end of file. 40 40 */ 41 41 { 42 42 double a; 43 43 44 44 45 /* General accumulated precession in longitude. */ … … 51 52 ** 52 53 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 55 ** All rights reserved. 55 56 ** -
trunk/FACT++/erfa/src/fasa03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Saturn (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/faur03.c
r18348 r18711 32 32 ** Francou, G., Laskar, J. 1994, Astron.Astrophys. 282, 663-683 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** Derived, with permission, from the SOFA library. See notes at end of file. 36 36 */ 37 37 { 38 38 double a; 39 39 40 40 41 /* Mean longitude of Uranus (IERS Conventions 2003). */ … … 47 48 ** 48 49 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 51 ** All rights reserved. 51 52 ** -
trunk/FACT++/erfa/src/fave03.c
r18348 r18711 35 35 ** Astron.Astrophys.Supp.Ser. 135, 111 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double a; 42 42 43 43 44 /* Mean longitude of Venus (IERS Conventions 2003). */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/fk52h.c
r18348 r18711 54 54 ** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000). 55 55 ** 56 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.56 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 57 57 ** Derived, with permission, from the SOFA library. See notes at end of file. 58 58 */ … … 60 60 int i; 61 61 double pv5[2][3], r5h[3][3], s5h[3], wxp[3], vv[3], pvh[2][3]; 62 62 63 63 64 /* FK5 barycentric position/velocity pv-vector (normalized). */ … … 91 92 ** 92 93 ** 93 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 94 95 ** All rights reserved. 95 96 ** -
trunk/FACT++/erfa/src/fk5hip.c
r18348 r18711 37 37 ** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000). 38 38 ** 39 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.39 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 40 40 ** Derived, with permission, from the SOFA library. See notes at end of file. 41 41 */ … … 46 46 double epx, epy, epz; 47 47 double omx, omy, omz; 48 48 49 49 50 epx = -19.9e-3 * ERFA_DAS2R; … … 74 75 ** 75 76 ** 76 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.77 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 77 78 ** All rights reserved. 78 79 ** -
trunk/FACT++/erfa/src/fk5hz.c
r18348 r18711 70 70 ** F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739. 71 71 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 73 ** Derived, with permission, from the SOFA library. See notes at end of file. 74 74 */ … … 76 76 double t, p5e[3], r5h[3][3], s5h[3], vst[3], rst[3][3], p5[3], 77 77 ph[3], w; 78 78 79 79 80 /* Interval from given date to fundamental epoch J2000.0 (JY). */ … … 108 109 ** 109 110 ** 110 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.111 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 111 112 ** All rights reserved. 112 113 ** -
trunk/FACT++/erfa/src/fw2m.c
r18348 r18711 66 66 ** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351 67 67 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.68 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 69 ** Derived, with permission, from the SOFA library. See notes at end of file. 70 70 */ … … 83 83 ** 84 84 ** 85 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.85 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 86 86 ** All rights reserved. 87 87 ** -
trunk/FACT++/erfa/src/fw2xy.c
r18348 r18711 51 51 ** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351 52 52 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 54 ** Derived, with permission, from the SOFA library. See notes at end of file. 55 55 */ 56 56 { 57 57 double r[3][3]; 58 58 59 59 60 /* Form NxPxB matrix. */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/g2icrs.c
r18348 r18711 62 62 ** Publications Division, Noordwijk, Netherlands. 63 63 ** 64 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.64 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 65 65 ** Derived, with permission, from the SOFA library. See notes at end of file. 66 66 */ … … 110 110 ** 111 111 ** 112 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.112 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 113 113 ** All rights reserved. 114 114 ** -
trunk/FACT++/erfa/src/gc2gd.c
r18348 r18711 52 52 ** eraGc2gde geocentric to geodetic transformation, general 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ … … 58 58 int j; 59 59 double a, f; 60 60 61 61 62 /* Obtain reference ellipsoid parameters. */ … … 82 83 ** 83 84 ** 84 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.85 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 85 86 ** All rights reserved. 86 87 ** -
trunk/FACT++/erfa/src/gc2gde.c
r18348 r18711 57 57 ** 79: 689-693 58 58 ** 59 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.59 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 60 60 ** Derived, with permission, from the SOFA library. See notes at end of file. 61 61 */ … … 148 148 ** 149 149 ** 150 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.150 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 151 151 ** All rights reserved. 152 152 ** -
trunk/FACT++/erfa/src/gd2gc.c
r18348 r18711 55 55 ** eraZp zero p-vector 56 56 ** 57 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.57 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 58 58 ** Derived, with permission, from the SOFA library. See notes at end of file. 59 59 */ … … 61 61 int j; 62 62 double a, f; 63 63 64 64 65 /* Obtain reference ellipsoid parameters. */ … … 81 82 ** 82 83 ** 83 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.84 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 84 85 ** All rights reserved. 85 86 ** -
trunk/FACT++/erfa/src/gd2gce.c
r18348 r18711 56 56 ** Section 4.22, p202. 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** Derived, with permission, from the SOFA library. See notes at end of file. 60 60 */ 61 61 { 62 62 double sp, cp, w, d, ac, as, r; 63 63 64 64 65 /* Functions of geodetic latitude. */ … … 85 86 ** 86 87 ** 87 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.88 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 88 89 ** All rights reserved. 89 90 ** -
trunk/FACT++/erfa/src/gmst00.c
r18348 r18711 69 69 ** IERS Technical Note No. 32, BKG (2004) 70 70 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.71 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 72 ** Derived, with permission, from the SOFA library. See notes at end of file. 73 73 */ 74 74 { 75 75 double t, gmst; 76 76 77 77 78 /* TT Julian centuries since J2000.0. */ … … 93 94 ** 94 95 ** 95 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.96 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 96 97 ** All rights reserved. 97 98 ** -
trunk/FACT++/erfa/src/gmst06.c
r18348 r18711 59 59 ** Astron.Astrophys. 432, 355 60 60 ** 61 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 62 62 ** Derived, with permission, from the SOFA library. See notes at end of file. 63 63 */ 64 64 { 65 65 double t, gmst; 66 66 67 67 68 /* TT Julian centuries since J2000.0. */ … … 84 85 ** 85 86 ** 86 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.87 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 87 88 ** All rights reserved. 88 89 ** -
trunk/FACT++/erfa/src/gmst82.c
r18348 r18711 61 61 ** Aoki et al., Astron. Astrophys. 105, 359-361 (1982). 62 62 ** 63 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.63 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 64 64 ** Derived, with permission, from the SOFA library. See notes at end of file. 65 65 */ … … 76 76 77 77 double d1, d2, t, f, gmst; 78 78 79 79 80 /* Julian centuries since fundamental epoch. */ … … 99 100 ** 100 101 ** 101 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.102 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 102 103 ** All rights reserved. 103 104 ** -
trunk/FACT++/erfa/src/gst00a.c
r18348 r18711 70 70 ** IERS Technical Note No. 32, BKG (2004) 71 71 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 73 ** Derived, with permission, from the SOFA library. See notes at end of file. 74 74 */ 75 75 { 76 76 double gmst00, ee00a, gst; 77 77 78 78 79 gmst00 = eraGmst00(uta, utb, tta, ttb); … … 86 87 ** 87 88 ** 88 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.89 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 89 90 ** All rights reserved. 90 91 ** -
trunk/FACT++/erfa/src/gst00b.c
r18348 r18711 78 78 ** IERS Technical Note No. 32, BKG (2004) 79 79 ** 80 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.80 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 81 81 ** Derived, with permission, from the SOFA library. See notes at end of file. 82 82 */ 83 83 { 84 84 double gmst00, ee00b, gst; 85 85 86 86 87 gmst00 = eraGmst00(uta, utb, uta, utb); … … 94 95 ** 95 96 ** 96 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.97 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 97 98 ** All rights reserved. 98 99 ** -
trunk/FACT++/erfa/src/gst06.c
r18348 r18711 65 65 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 66 66 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.67 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 68 ** Derived, with permission, from the SOFA library. See notes at end of file. 69 69 */ 70 70 { 71 71 double x, y, s, era, eors, gst; 72 72 73 73 74 /* Extract CIP coordinates. */ … … 88 89 ** 89 90 ** 90 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.91 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 91 92 ** All rights reserved. 92 93 ** -
trunk/FACT++/erfa/src/gst06a.c
r18348 r18711 61 61 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 62 62 ** 63 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.63 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 64 64 ** Derived, with permission, from the SOFA library. See notes at end of file. 65 65 */ 66 66 { 67 67 double rnpb[3][3], gst; 68 68 69 69 70 /* Classical nutation x precession x bias matrix, IAU 2000A. */ … … 79 80 ** 80 81 ** 81 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.82 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 82 83 ** All rights reserved. 83 84 ** -
trunk/FACT++/erfa/src/gst94.c
r18348 r18711 63 63 ** IAU Resolution C7, Recommendation 3 (1994) 64 64 ** 65 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.65 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 66 66 ** Derived, with permission, from the SOFA library. See notes at end of file. 67 67 */ 68 68 { 69 69 double gmst82, eqeq94, gst; 70 70 71 71 72 gmst82 = eraGmst82(uta, utb); … … 79 80 ** 80 81 ** 81 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.82 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 82 83 ** All rights reserved. 83 84 ** -
trunk/FACT++/erfa/src/h2fk5.c
r18348 r18711 56 56 ** F.Mignard & M.Froeschle, Astron. Astrophys. 354, 732-739 (2000). 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** Derived, with permission, from the SOFA library. See notes at end of file. 60 60 */ … … 62 62 int i; 63 63 double pvh[2][3], r5h[3][3], s5h[3], sh[3], wxp[3], vv[3], pv5[2][3]; 64 64 65 65 66 /* Hipparcos barycentric position/velocity pv-vector (normalized). */ … … 96 97 ** 97 98 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.99 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 100 ** All rights reserved. 100 101 ** -
trunk/FACT++/erfa/src/hfk5z.c
r18348 r18711 75 75 ** F.Mignard & M.Froeschle, 2000, Astron.Astrophys. 354, 732-739. 76 76 ** 77 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.77 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 78 78 ** Derived, with permission, from the SOFA library. See notes at end of file. 79 79 */ … … 82 82 rst[3][3], r5ht[3][3], pv5e[2][3], vv[3], 83 83 w, r, v; 84 84 85 85 86 /* Time interval from fundamental epoch J2000.0 to given date (JY). */ … … 123 124 ** 124 125 ** 125 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.126 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 126 127 ** All rights reserved. 127 128 ** -
trunk/FACT++/erfa/src/icrs2g.c
r18348 r18711 62 62 ** Publications Division, Noordwijk, Netherlands. 63 63 ** 64 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.64 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 65 65 ** Derived, with permission, from the SOFA library. See notes at end of file. 66 66 */ … … 110 110 ** 111 111 ** 112 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.112 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 113 113 ** All rights reserved. 114 114 ** -
trunk/FACT++/erfa/src/ir.c
r18348 r18711 12 12 ** r double[3][3] r-matrix 13 13 ** 14 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.14 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 15 15 ** Derived, with permission, from the SOFA library. See notes at end of file. 16 16 */ … … 32 32 ** 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** All rights reserved. 36 36 ** -
trunk/FACT++/erfa/src/jd2cal.c
r18348 r18711 51 51 ** Section 12.92 (p604). 52 52 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 54 ** Derived, with permission, from the SOFA library. See notes at end of file. 55 55 */ … … 61 61 long jd, l, n, i, k; 62 62 double dj, d1, d2, f1, f2, f, d; 63 63 64 64 65 /* Verify date is acceptable. */ … … 103 104 ** 104 105 ** 105 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.106 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 106 107 ** All rights reserved. 107 108 ** -
trunk/FACT++/erfa/src/jdcalf.c
r18348 r18711 56 56 ** Section 12.92 (p604). 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** Derived, with permission, from the SOFA library. See notes at end of file. 60 60 */ … … 62 62 int j, js; 63 63 double denom, d1, d2, f1, f2, f; 64 64 65 65 66 /* Denominator of fraction (e.g. 100 for 2 decimal places). */ … … 109 110 ** 110 111 ** 111 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.112 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 112 113 ** All rights reserved. 113 114 ** -
trunk/FACT++/erfa/src/ld.c
r18348 r18711 69 69 ** eraPxp vector product of two p-vectors 70 70 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.71 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 72 ** Derived, with permission, from the SOFA library. See notes at end of file. 73 73 */ … … 75 75 int i; 76 76 double qpe[3], qdqpe, w, eq[3], peq[3]; 77 77 78 78 79 /* q . (q + e). */ … … 100 101 ** 101 102 ** 102 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.103 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 103 104 ** All rights reserved. 104 105 ** -
trunk/FACT++/erfa/src/ldn.c
r18348 r18711 79 79 ** eraLd light deflection by a solar-system body 80 80 ** 81 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.81 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 82 82 ** Derived, with permission, from the SOFA library. See notes at end of file. 83 83 */ … … 88 88 int i; 89 89 double v[3], dt, ev[3], em, e[3]; 90 90 91 91 92 /* Star direction prior to deflection. */ … … 122 123 ** 123 124 ** 124 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.125 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 125 126 ** All rights reserved. 126 127 ** -
trunk/FACT++/erfa/src/ldsun.c
r18348 r18711 24 24 ** 25 25 ** 2) The deflection is restrained when the angle between the star and 26 ** the center of the Sun is less than about 9 arcsec, falling to 27 ** zero for zero separation. (The chosen threshold is within the 28 ** solar limb for all solar-system applications.) 26 ** the center of the Sun is less than a threshold value, falling to 27 ** zero deflection for zero separation. The chosen threshold value 28 ** is within the solar limb for all solar-system applications, and 29 ** is about 5 arcminutes for the case of a terrestrial observer. 29 30 ** 30 31 ** 3) The arguments p and p1 can be the same array. … … 33 34 ** eraLd light deflection by a solar-system body 34 35 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 37 ** Derived, with permission, from the SOFA library. See notes at end of file. 37 38 */ 38 39 { 39 eraLd(1.0, p, p, e, em, 1e-9, p1); 40 double em2, dlim; 41 42 43 /* Deflection limiter (smaller for distant observers). */ 44 em2 = em*em; 45 if ( em2 < 1.0 ) em2 = 1.0; 46 dlim = 1e-6 / (em2 > 1.0 ? em2 : 1.0); 47 48 /* Apply the deflection. */ 49 eraLd(1.0, p, p, e, em, dlim, p1); 40 50 41 51 /* Finished. */ … … 45 55 ** 46 56 ** 47 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.57 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 48 58 ** All rights reserved. 49 59 ** -
trunk/FACT++/erfa/src/num00a.c
r18348 r18711 53 53 ** Section 3.222-3 (p114). 54 54 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 56 ** Derived, with permission, from the SOFA library. See notes at end of file. 57 57 */ 58 58 { 59 59 double dpsi, deps, epsa, rb[3][3], rp[3][3], rbp[3][3], rbpn[3][3]; 60 60 61 61 62 /* Obtain the required matrix (discarding other results). */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/num00b.c
r18348 r18711 53 53 ** Section 3.222-3 (p114). 54 54 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 56 ** Derived, with permission, from the SOFA library. See notes at end of file. 57 57 */ 58 58 { 59 59 double dpsi, deps, epsa, rb[3][3], rp[3][3], rbp[3][3], rbpn[3][3]; 60 60 61 61 62 /* Obtain the required matrix (discarding other results). */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/num06a.c
r18348 r18711 52 52 ** Section 3.222-3 (p114). 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ 57 57 { 58 58 double eps, dp, de; 59 59 60 60 61 /* Mean obliquity. */ … … 73 74 ** 74 75 ** 75 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.76 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 76 77 ** All rights reserved. 77 78 ** -
trunk/FACT++/erfa/src/numat.c
r18348 r18711 17 17 ** 18 18 ** Notes: 19 ** 19 20 ** 20 21 ** 1) The supplied mean obliquity epsa, must be consistent with the … … 41 42 ** Section 3.222-3 (p114). 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** Derived, with permission, from the SOFA library. See notes at end of file. 45 46 */ … … 57 58 ** 58 59 ** 59 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.60 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 60 61 ** All rights reserved. 61 62 ** -
trunk/FACT++/erfa/src/nut00a.c
r18348 r18711 149 149 ** Resolutions", in IERS Workshop 5.1 (2002) 150 150 ** 151 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.151 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 152 152 ** Derived, with permission, from the SOFA library. See notes at end of file. 153 153 */ … … 1996 1996 ** 1997 1997 ** 1998 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.1998 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 1999 1999 ** All rights reserved. 2000 2000 ** -
trunk/FACT++/erfa/src/nut00b.c
r18348 r18711 117 117 ** Francou, G., Laskar, J., Astron.Astrophys. 282, 663-683 (1994) 118 118 ** 119 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.119 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 120 120 ** Derived, with permission, from the SOFA library. See notes at end of file. 121 121 */ … … 321 321 ** 322 322 ** 323 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.323 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 324 324 ** All rights reserved. 325 325 ** -
trunk/FACT++/erfa/src/nut06a.c
r18348 r18711 76 76 ** Resolutions", in IERS Workshop 5.1 (2002) 77 77 ** 78 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.78 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 79 79 ** Derived, with permission, from the SOFA library. See notes at end of file. 80 80 */ 81 81 { 82 82 double t, fj2, dp, de; 83 83 84 84 85 /* Interval between fundamental date J2000.0 and given date (JC). */ … … 101 102 ** 102 103 ** 103 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.104 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 104 105 ** All rights reserved. 105 106 ** -
trunk/FACT++/erfa/src/nut80.c
r18348 r18711 49 49 ** Section 3.222 (p111). 50 50 ** 51 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.51 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 52 52 ** Derived, with permission, from the SOFA library. See notes at end of file. 53 53 */ … … 274 274 ** 275 275 ** 276 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.276 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 277 277 ** All rights reserved. 278 278 ** -
trunk/FACT++/erfa/src/nutm80.c
r18348 r18711 46 46 ** eraNumat form nutation matrix 47 47 ** 48 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.48 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 49 49 ** Derived, with permission, from the SOFA library. See notes at end of file. 50 50 */ 51 51 { 52 52 double dpsi, deps, epsa; 53 53 54 54 55 /* Nutation components and mean obliquity. */ … … 65 66 ** 66 67 ** 67 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.68 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 68 69 ** All rights reserved. 69 70 ** -
trunk/FACT++/erfa/src/obl06.c
r18348 r18711 43 43 ** Hilton, J. et al., 2006, Celest.Mech.Dyn.Astron. 94, 351 44 44 ** 45 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.45 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 46 46 ** Derived, with permission, from the SOFA library. See notes at end of file. 47 47 */ 48 48 { 49 49 double t, eps0; 50 50 51 51 52 /* Interval between fundamental date J2000.0 and given date (JC). */ … … 66 67 ** 67 68 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 70 ** All rights reserved. 70 71 ** -
trunk/FACT++/erfa/src/obl80.c
r18348 r18711 45 45 ** Expression 3.222-1 (p114). 46 46 ** 47 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.47 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 48 48 ** Derived, with permission, from the SOFA library. See notes at end of file. 49 49 */ 50 50 { 51 51 double t, eps0; 52 52 53 53 54 /* Interval between fundamental epoch J2000.0 and given date (JC). */ … … 66 67 ** 67 68 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 70 ** All rights reserved. 70 71 ** -
trunk/FACT++/erfa/src/p06e.c
r18348 r18711 121 121 ** eraObl06 mean obliquity, IAU 2006 122 122 ** 123 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.123 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 124 124 ** Derived, with permission, from the SOFA library. See notes at end of file. 125 125 */ 126 126 { 127 127 double t; 128 128 129 129 130 /* Interval between fundamental date J2000.0 and given date (JC). */ … … 269 270 ** 270 271 ** 271 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.272 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 272 273 ** All rights reserved. 273 274 ** -
trunk/FACT++/erfa/src/p2pv.c
r18348 r18711 19 19 ** eraZp zero p-vector 20 20 ** 21 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.21 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 22 22 ** Derived, with permission, from the SOFA library. See notes at end of file. 23 23 */ … … 32 32 ** 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** All rights reserved. 36 36 ** -
trunk/FACT++/erfa/src/p2s.c
r18348 r18711 27 27 ** eraPm modulus of p-vector 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ … … 40 40 ** 41 41 ** 42 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.42 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 43 43 ** All rights reserved. 44 44 ** -
trunk/FACT++/erfa/src/pap.c
r18348 r18711 38 38 ** eraPdp scalar product of two p-vectors 39 39 ** 40 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.40 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 41 41 ** Derived, with permission, from the SOFA library. See notes at end of file. 42 42 */ 43 43 { 44 44 double am, au[3], bm, st, ct, xa, ya, za, eta[3], xi[3], a2b[3], pa; 45 45 46 46 47 /* Modulus and direction of the a vector. */ … … 87 88 ** 88 89 ** 89 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.90 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 90 91 ** All rights reserved. 91 92 ** -
trunk/FACT++/erfa/src/pas.c
r18348 r18711 27 27 ** 2) Zero is returned if the two points are coincident. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ 32 32 { 33 33 double dl, x, y, pa; 34 34 35 35 36 dl = bl - al; … … 44 45 ** 45 46 ** 46 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.47 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 47 48 ** All rights reserved. 48 49 ** -
trunk/FACT++/erfa/src/pb06.c
r18348 r18711 64 64 ** eraRz rotate around Z-axis 65 65 ** 66 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.66 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 67 67 ** Derived, with permission, from the SOFA library. See notes at end of file. 68 68 */ 69 69 { 70 70 double r[3][3], r31, r32; 71 71 72 72 73 /* Precession matrix via Fukushima-Williams angles. */ … … 92 93 ** 93 94 ** 94 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.95 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 95 96 ** All rights reserved. 96 97 ** -
trunk/FACT++/erfa/src/pdp.c
r18348 r18711 16 16 ** double a . b 17 17 ** 18 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.18 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 19 19 ** Derived, with permission, from the SOFA library. See notes at end of file. 20 20 */ 21 21 { 22 22 double w; 23 23 24 24 25 w = a[0] * b[0] … … 32 33 ** 33 34 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.35 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 36 ** All rights reserved. 36 37 ** -
trunk/FACT++/erfa/src/pfw06.c
r18348 r18711 74 74 ** eraObl06 mean obliquity, IAU 2006 75 75 ** 76 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.76 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 77 77 ** Derived, with permission, from the SOFA library. See notes at end of file. 78 78 */ 79 79 { 80 80 double t; 81 81 82 82 83 /* Interval between fundamental date J2000.0 and given date (JC). */ … … 113 114 ** 114 115 ** 115 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.116 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 116 117 ** All rights reserved. 117 118 ** -
trunk/FACT++/erfa/src/plan94.c
r18348 r18711 158 158 ** Astron. Astrophys. 282, 663 (1994). 159 159 ** 160 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.160 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 161 161 ** Derived, with permission, from the SOFA library. See notes at end of file. 162 162 */ … … 463 463 ** 464 464 ** 465 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.465 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 466 466 ** All rights reserved. 467 467 ** -
trunk/FACT++/erfa/src/pm.c
r18348 r18711 15 15 ** double modulus 16 16 ** 17 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.17 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 18 18 ** Derived, with permission, from the SOFA library. See notes at end of file. 19 19 */ … … 25 25 ** 26 26 ** 27 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.27 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 28 28 ** All rights reserved. 29 29 ** -
trunk/FACT++/erfa/src/pmat00.c
r18348 r18711 51 51 ** (2000) 52 52 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 54 ** Derived, with permission, from the SOFA library. See notes at end of file. 55 55 */ 56 56 { 57 57 double rb[3][3], rp[3][3]; 58 58 59 59 60 /* Obtain the required matrix (discarding others). */ … … 66 67 ** 67 68 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 70 ** All rights reserved. 70 71 ** -
trunk/FACT++/erfa/src/pmat06.c
r18348 r18711 52 52 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 53 53 ** 54 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 55 55 ** Derived, with permission, from the SOFA library. See notes at end of file. 56 56 */ 57 57 { 58 58 double gamb, phib, psib, epsa; 59 59 60 60 61 /* Bias-precession Fukushima-Williams angles. */ … … 70 71 ** 71 72 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.73 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 74 ** All rights reserved. 74 75 ** -
trunk/FACT++/erfa/src/pmat76.c
r18348 r18711 67 67 ** Kaplan,G.H., 1981. USNO circular no. 163, pA2. 68 68 ** 69 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 70 70 ** Derived, with permission, from the SOFA library. See notes at end of file. 71 71 */ 72 72 { 73 73 double zeta, z, theta, wmat[3][3]; 74 74 75 75 76 /* Precession Euler angles, J2000.0 to specified date. */ … … 89 90 ** 90 91 ** 91 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.92 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 92 93 ** All rights reserved. 93 94 ** -
trunk/FACT++/erfa/src/pmp.c
r18348 r18711 20 20 ** arguments. 21 21 ** 22 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.22 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 23 23 ** Derived, with permission, from the SOFA library. See notes at end of file. 24 24 */ … … 34 34 ** 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** All rights reserved. 38 38 ** -
trunk/FACT++/erfa/src/pmpx.c
r18348 r18711 47 47 ** eraPn decompose p-vector into modulus and direction 48 48 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.49 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 50 ** Derived, with permission, from the SOFA library. See notes at end of file. 51 51 */ … … 59 59 int i; 60 60 double sr, cr, sd, cd, x, y, z, p[3], dt, pxr, w, pdz, pm[3]; 61 61 62 62 63 /* Spherical coordinates to unit vector (and useful functions). */ … … 92 93 ** 93 94 ** 94 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.95 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 95 96 ** All rights reserved. 96 97 ** -
trunk/FACT++/erfa/src/pmsafe.c
r18348 r18711 106 106 ** eraStarpm update star catalog data for space motion 107 107 ** 108 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.108 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 109 109 ** Derived, with permission, from the SOFA library. See notes at end of file. 110 110 */ … … 119 119 int jpx, j; 120 120 double pm, px1a; 121 121 122 122 123 /* Proper motion in one year (radians). */ … … 145 146 ** 146 147 ** 147 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.148 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 148 149 ** All rights reserved. 149 150 ** -
trunk/FACT++/erfa/src/pn.c
r18348 r18711 29 29 ** eraSxp multiply p-vector by scalar 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** Derived, with permission, from the SOFA library. See notes at end of file. 33 33 */ 34 34 { 35 35 double w; 36 36 37 37 38 /* Obtain the modulus and test for zero. */ … … 57 58 ** 58 59 ** 59 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.60 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 60 61 ** All rights reserved. 61 62 ** -
trunk/FACT++/erfa/src/pn00.c
r18348 r18711 96 96 ** intermediate origin" (CIO) by IAU 2006 Resolution 2. 97 97 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.98 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 99 ** Derived, with permission, from the SOFA library. See notes at end of file. 100 100 */ 101 101 { 102 102 double dpsipr, depspr, rbpw[3][3], rnw[3][3]; 103 103 104 104 105 /* IAU 2000 precession-rate adjustments. */ … … 125 126 ** 126 127 ** 127 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.128 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 128 129 ** All rights reserved. 129 130 ** -
trunk/FACT++/erfa/src/pn00a.c
r18348 r18711 96 96 ** intermediate origin" (CIO) by IAU 2006 Resolution 2. 97 97 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.98 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 99 ** Derived, with permission, from the SOFA library. See notes at end of file. 100 100 */ … … 112 112 ** 113 113 ** 114 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.114 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 115 115 ** All rights reserved. 116 116 ** -
trunk/FACT++/erfa/src/pn00b.c
r18348 r18711 96 96 ** intermediate origin" (CIO) by IAU 2006 Resolution 2. 97 97 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.98 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 99 ** Derived, with permission, from the SOFA library. See notes at end of file. 100 100 */ … … 112 112 ** 113 113 ** 114 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.114 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 115 115 ** All rights reserved. 116 116 ** -
trunk/FACT++/erfa/src/pn06.c
r18348 r18711 94 94 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 95 95 ** 96 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.96 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 97 97 ** Derived, with permission, from the SOFA library. See notes at end of file. 98 98 */ 99 99 { 100 100 double gamb, phib, psib, eps, r1[3][3], r2[3][3], rt[3][3]; 101 101 102 102 103 /* Bias-precession Fukushima-Williams angles of J2000.0 = frame bias. */ … … 135 136 ** 136 137 ** 137 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.138 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 138 139 ** All rights reserved. 139 140 ** -
trunk/FACT++/erfa/src/pn06a.c
r18348 r18711 86 86 ** Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855 87 87 ** 88 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.88 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 89 89 ** Derived, with permission, from the SOFA library. See notes at end of file. 90 90 */ … … 102 102 ** 103 103 ** 104 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.104 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 105 105 ** All rights reserved. 106 106 ** -
trunk/FACT++/erfa/src/pnm00a.c
r18348 r18711 54 54 ** (2000) 55 55 ** 56 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.56 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 57 57 ** Derived, with permission, from the SOFA library. See notes at end of file. 58 58 */ 59 59 { 60 60 double dpsi, deps, epsa, rb[3][3], rp[3][3], rbp[3][3], rn[3][3]; 61 61 62 62 63 /* Obtain the required matrix (discarding other results). */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/pnm00b.c
r18348 r18711 54 54 ** (2000) 55 55 ** 56 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.56 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 57 57 ** Derived, with permission, from the SOFA library. See notes at end of file. 58 58 */ 59 59 { 60 60 double dpsi, deps, epsa, rb[3][3], rp[3][3], rbp[3][3], rn[3][3]; 61 61 62 62 63 /* Obtain the required matrix (discarding other results). */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/pnm06a.c
r18348 r18711 51 51 ** Capitaine, N. & Wallace, P.T., 2006, Astron.Astrophys. 450, 855. 52 52 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 54 ** Derived, with permission, from the SOFA library. See notes at end of file. 55 55 */ 56 56 { 57 57 double gamb, phib, psib, epsa, dp, de; 58 58 59 59 60 /* Fukushima-Williams angles for frame bias and precession. */ … … 72 73 ** 73 74 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.75 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 76 ** All rights reserved. 76 77 ** -
trunk/FACT++/erfa/src/pnm80.c
r18348 r18711 53 53 ** Section 3.3 (p145). 54 54 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.55 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 56 ** Derived, with permission, from the SOFA library. See notes at end of file. 57 57 */ 58 58 { 59 59 double rmatp[3][3], rmatn[3][3]; 60 60 61 61 62 /* Precession matrix, J2000.0 to date. */ … … 74 75 ** 75 76 ** 76 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.77 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 77 78 ** All rights reserved. 78 79 ** -
trunk/FACT++/erfa/src/pom00.c
r18348 r18711 47 47 ** IERS Technical Note No. 32, BKG (2004) 48 48 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.49 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 50 ** Derived, with permission, from the SOFA library. See notes at end of file. 51 51 */ … … 64 64 ** 65 65 ** 66 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.66 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 67 67 ** All rights reserved. 68 68 ** -
trunk/FACT++/erfa/src/ppp.c
r18348 r18711 20 20 ** arguments. 21 21 ** 22 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.22 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 23 23 ** Derived, with permission, from the SOFA library. See notes at end of file. 24 24 */ … … 34 34 ** 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** All rights reserved. 38 38 ** -
trunk/FACT++/erfa/src/ppsp.c
r18348 r18711 24 24 ** eraPpp p-vector plus p-vector 25 25 ** 26 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.26 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 27 27 ** Derived, with permission, from the SOFA library. See notes at end of file. 28 28 */ 29 29 { 30 30 double sb[3]; 31 31 32 32 33 /* s*b. */ … … 42 43 ** 43 44 ** 44 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.45 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 45 46 ** All rights reserved. 46 47 ** -
trunk/FACT++/erfa/src/pr00.c
r18348 r18711 67 67 ** Resolutions", in IERS Workshop 5.1 (2002). 68 68 ** 69 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 70 70 ** Derived, with permission, from the SOFA library. See notes at end of file. 71 71 */ … … 76 76 static const double PRECOR = -0.29965 * ERFA_DAS2R, 77 77 OBLCOR = -0.02524 * ERFA_DAS2R; 78 78 79 79 80 /* Interval between fundamental epoch J2000.0 and given date (JC). */ … … 90 91 ** 91 92 ** 92 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.93 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 93 94 ** All rights reserved. 94 95 ** -
trunk/FACT++/erfa/src/prec76.c
r18348 r18711 67 67 ** (6) & (7), p283. 68 68 ** 69 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 70 70 ** Derived, with permission, from the SOFA library. See notes at end of file. 71 71 */ 72 72 { 73 73 double t0, t, tas2r, w; 74 74 75 75 76 /* Interval between fundamental epoch J2000.0 and start date (JC). */ … … 96 97 ** 97 98 ** 98 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.99 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 99 100 ** All rights reserved. 100 101 ** -
trunk/FACT++/erfa/src/pv2p.c
r18348 r18711 18 18 ** eraCp copy p-vector 19 19 ** 20 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.20 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 21 21 ** Derived, with permission, from the SOFA library. See notes at end of file. 22 22 */ … … 30 30 ** 31 31 ** 32 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.32 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 33 33 ** All rights reserved. 34 34 ** -
trunk/FACT++/erfa/src/pv2s.c
r18348 r18711 35 35 ** In such cases zeroes are returned for all three. 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double x, y, z, xd, yd, zd, rxy2, rxy, r2, rtrue, rw, xyp; 42 42 43 43 44 /* Components of position/velocity vector. */ … … 92 93 ** 93 94 ** 94 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.95 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 95 96 ** All rights reserved. 96 97 ** -
trunk/FACT++/erfa/src/pvdpv.c
r18348 r18711 26 26 ** eraPdp scalar product of two p-vectors 27 27 ** 28 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.28 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 29 29 ** Derived, with permission, from the SOFA library. See notes at end of file. 30 30 */ 31 31 { 32 32 double adbd, addb; 33 33 34 34 35 /* a . b = constant part of result. */ … … 50 51 ** 51 52 ** 52 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.53 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 53 54 ** All rights reserved. 54 55 ** -
trunk/FACT++/erfa/src/pvm.c
r18348 r18711 19 19 ** eraPm modulus of p-vector 20 20 ** 21 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.21 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 22 22 ** Derived, with permission, from the SOFA library. See notes at end of file. 23 23 */ … … 35 35 ** 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** All rights reserved. 39 39 ** -
trunk/FACT++/erfa/src/pvmpv.c
r18348 r18711 23 23 ** eraPmp p-vector minus p-vector 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ … … 36 36 ** 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** All rights reserved. 40 40 ** -
trunk/FACT++/erfa/src/pvppv.c
r18348 r18711 23 23 ** eraPpp p-vector plus p-vector 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ … … 36 36 ** 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** All rights reserved. 40 40 ** -
trunk/FACT++/erfa/src/pvstar.c
r18348 r18711 94 94 ** Stumpff, P., 1985, Astron.Astrophys. 144, 232-240. 95 95 ** 96 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.96 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 97 97 ** Derived, with permission, from the SOFA library. See notes at end of file. 98 98 */ … … 101 101 usr[3], ust[3], a, rad, decd, rd; 102 102 103 103 104 /* Isolate the radial component of the velocity (AU/day, inertial). */ 104 105 eraPn(pv[0], &r, x); … … 155 156 ** 156 157 ** 157 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.158 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 158 159 ** All rights reserved. 159 160 ** -
trunk/FACT++/erfa/src/pvtob.c
r18348 r18711 62 62 ** eraTrxp product of transpose of r-matrix and p-vector 63 63 ** 64 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.64 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 65 65 ** Derived, with permission, from the SOFA library. See notes at end of file. 66 66 */ … … 70 70 71 71 double xyzm[3], rpm[3][3], xyz[3], x, y, z, s, c; 72 72 73 73 74 /* Geodetic to geocentric transformation (ERFA_WGS84). */ … … 101 102 ** 102 103 ** 103 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.104 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 104 105 ** All rights reserved. 105 106 ** -
trunk/FACT++/erfa/src/pvu.c
r18348 r18711 29 29 ** eraCp copy p-vector 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** Derived, with permission, from the SOFA library. See notes at end of file. 33 33 */ … … 42 42 ** 43 43 ** 44 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 45 45 ** All rights reserved. 46 46 ** -
trunk/FACT++/erfa/src/pvup.c
r18348 r18711 23 23 ** 2) The time units of dt must match those of the velocity. 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ … … 37 37 ** 38 38 ** 39 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.39 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 40 40 ** All rights reserved. 41 41 ** -
trunk/FACT++/erfa/src/pvxpv.c
r18348 r18711 31 31 ** eraPpp p-vector plus p-vector 32 32 ** 33 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.33 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 34 34 ** Derived, with permission, from the SOFA library. See notes at end of file. 35 35 */ 36 36 { 37 37 double wa[2][3], wb[2][3], axbd[3], adxb[3]; 38 38 39 39 40 /* Make copies of the inputs. */ … … 55 56 ** 56 57 ** 57 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 58 59 ** All rights reserved. 59 60 ** -
trunk/FACT++/erfa/src/pxp.c
r18348 r18711 20 20 ** arguments. 21 21 ** 22 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.22 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 23 23 ** Derived, with permission, from the SOFA library. See notes at end of file. 24 24 */ 25 25 { 26 26 double xa, ya, za, xb, yb, zb; 27 27 28 28 29 xa = a[0]; … … 42 43 ** 43 44 ** 44 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.45 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 45 46 ** All rights reserved. 46 47 ** -
trunk/FACT++/erfa/src/refco.c
r18348 r18711 146 146 ** Stone, Ronald C., P.A.S.P. 108, 1051-1058, 1996. 147 147 ** 148 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.148 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 149 149 ** Derived, with permission, from the SOFA library. See notes at end of file. 150 150 */ … … 152 152 int optic; 153 153 double p, t, r, w, ps, pw, tk, wlsq, gamma, beta; 154 154 155 155 156 /* Decide whether optical/IR or radio case: switch at 100 microns. */ … … 201 202 ** 202 203 ** 203 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.204 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 204 205 ** All rights reserved. 205 206 ** -
trunk/FACT++/erfa/src/rm2v.c
r18348 r18711 30 30 ** the rotation vector from the origin. 31 31 ** 32 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.32 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 33 33 ** Derived, with permission, from the SOFA library. See notes at end of file. 34 34 */ … … 60 60 ** 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** All rights reserved. 64 64 ** -
trunk/FACT++/erfa/src/rv2m.c
r18348 r18711 27 27 ** rotation vector from the origin. 28 28 ** 29 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.29 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 30 30 ** Derived, with permission, from the SOFA library. See notes at end of file. 31 31 */ … … 67 67 ** 68 68 ** 69 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 70 70 ** All rights reserved. 71 71 ** -
trunk/FACT++/erfa/src/rx.c
r18348 r18711 29 29 ** ( 0 - sin(phi) + cos(phi) ) 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** Derived, with permission, from the SOFA library. See notes at end of file. 33 33 */ 34 34 { 35 35 double s, c, a10, a11, a12, a20, a21, a22; 36 36 37 37 38 s = sin(phi); … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/rxp.c
r18348 r18711 22 22 ** eraCp copy p-vector 23 23 ** 24 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.24 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 25 25 ** Derived, with permission, from the SOFA library. See notes at end of file. 26 26 */ … … 28 28 double w, wrp[3]; 29 29 int i, j; 30 30 31 31 32 /* Matrix r * vector p. */ … … 47 48 ** 48 49 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 51 ** All rights reserved. 51 52 ** -
trunk/FACT++/erfa/src/rxpv.c
r18348 r18711 22 22 ** eraRxp product of r-matrix and p-vector 23 23 ** 24 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.24 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 25 25 ** Derived, with permission, from the SOFA library. See notes at end of file. 26 26 */ … … 35 35 ** 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** All rights reserved. 39 39 ** -
trunk/FACT++/erfa/src/rxr.c
r18348 r18711 23 23 ** eraCr copy r-matrix 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ … … 29 29 int i, j, k; 30 30 double w, wm[3][3]; 31 31 32 32 33 for (i = 0; i < 3; i++) { … … 47 48 ** 48 49 ** 49 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 50 51 ** All rights reserved. 51 52 ** -
trunk/FACT++/erfa/src/ry.c
r18348 r18711 29 29 ** ( + sin(theta) 0 + cos(theta) ) 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** Derived, with permission, from the SOFA library. See notes at end of file. 33 33 */ 34 34 { 35 35 double s, c, a00, a01, a02, a20, a21, a22; 36 36 37 37 38 s = sin(theta); … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/rz.c
r18348 r18711 29 29 ** ( 0 0 1 ) 30 30 ** 31 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.31 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 32 32 ** Derived, with permission, from the SOFA library. See notes at end of file. 33 33 */ 34 34 { 35 35 double s, c, a00, a01, a02, a10, a11, a12; 36 36 37 37 38 s = sin(psi); … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/s00.c
r18348 r18711 77 77 ** IERS Technical Note No. 32, BKG (2004) 78 78 ** 79 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.79 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 80 80 ** Derived, with permission, from the SOFA library. See notes at end of file. 81 81 */ … … 320 320 ** 321 321 ** 322 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.322 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 323 323 ** All rights reserved. 324 324 ** -
trunk/FACT++/erfa/src/s00a.c
r18348 r18711 70 70 ** IERS Technical Note No. 32, BKG (2004) 71 71 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 73 ** Derived, with permission, from the SOFA library. See notes at end of file. 74 74 */ 75 75 { 76 76 double rbpn[3][3], x, y, s; 77 77 78 78 79 /* Bias-precession-nutation-matrix, IAU 2000A. */ … … 91 92 ** 92 93 ** 93 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 94 95 ** All rights reserved. 95 96 ** -
trunk/FACT++/erfa/src/s00b.c
r18348 r18711 70 70 ** IERS Technical Note No. 32, BKG (2004) 71 71 ** 72 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 73 73 ** Derived, with permission, from the SOFA library. See notes at end of file. 74 74 */ 75 75 { 76 76 double rbpn[3][3], x, y, s; 77 77 78 78 79 /* Bias-precession-nutation-matrix, IAU 2000B. */ … … 91 92 ** 92 93 ** 93 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.94 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 94 95 ** All rights reserved. 95 96 ** -
trunk/FACT++/erfa/src/s06.c
r18348 r18711 74 74 ** IERS Technical Note No. 32, BKG 75 75 ** 76 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.76 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 77 77 ** Derived, with permission, from the SOFA library. See notes at end of file. 78 78 */ … … 317 317 ** 318 318 ** 319 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.319 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 320 320 ** All rights reserved. 321 321 ** -
trunk/FACT++/erfa/src/s06a.c
r18348 r18711 72 72 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 73 73 ** 74 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.74 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 75 75 ** Derived, with permission, from the SOFA library. See notes at end of file. 76 76 */ 77 77 { 78 78 double rnpb[3][3], x, y, s; 79 79 80 80 81 /* Bias-precession-nutation-matrix, IAU 20006/2000A. */ … … 93 94 ** 94 95 ** 95 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.96 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 96 97 ** All rights reserved. 97 98 ** -
trunk/FACT++/erfa/src/s2c.c
r18348 r18711 16 16 ** c double[3] direction cosines 17 17 ** 18 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.18 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 19 19 ** Derived, with permission, from the SOFA library. See notes at end of file. 20 20 */ 21 21 { 22 22 double cp; 23 23 24 24 25 cp = cos(phi); … … 33 34 ** 34 35 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 37 ** All rights reserved. 37 38 ** -
trunk/FACT++/erfa/src/s2p.c
r18348 r18711 21 21 ** eraSxp multiply p-vector by scalar 22 22 ** 23 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.23 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 24 24 ** Derived, with permission, from the SOFA library. See notes at end of file. 25 25 */ 26 26 { 27 27 double u[3]; 28 28 29 29 30 eraS2c(theta, phi, u); … … 36 37 ** 37 38 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.39 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 40 ** All rights reserved. 40 41 ** -
trunk/FACT++/erfa/src/s2pv.c
r18348 r18711 22 22 ** pv double[2][3] pv-vector 23 23 ** 24 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.24 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 25 25 ** Derived, with permission, from the SOFA library. See notes at end of file. 26 26 */ 27 27 { 28 28 double st, ct, sp, cp, rcp, x, y, rpd, w; 29 29 30 30 31 st = sin(theta); … … 51 52 ** 52 53 ** 53 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.54 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 54 55 ** All rights reserved. 55 56 ** -
trunk/FACT++/erfa/src/s2xpv.c
r18348 r18711 23 23 ** eraSxp multiply p-vector by scalar 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ … … 36 36 ** 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** All rights reserved. 40 40 ** -
trunk/FACT++/erfa/src/sepp.c
r18348 r18711 31 31 ** eraPdp scalar product of two p-vectors 32 32 ** 33 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.33 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 34 34 ** Derived, with permission, from the SOFA library. See notes at end of file. 35 35 */ 36 36 { 37 37 double axb[3], ss, cs, s; 38 38 39 39 40 /* Sine of angle between the vectors, multiplied by the two moduli. */ … … 53 54 ** 54 55 ** 55 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.56 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 56 57 ** All rights reserved. 57 58 ** -
trunk/FACT++/erfa/src/seps.c
r18348 r18711 22 22 ** eraSepp angular separation between two p-vectors 23 23 ** 24 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.24 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 25 25 ** Derived, with permission, from the SOFA library. See notes at end of file. 26 26 */ 27 27 { 28 28 double ac[3], bc[3], s; 29 29 30 30 31 /* Spherical to Cartesian. */ … … 41 42 ** 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** All rights reserved. 45 46 ** -
trunk/FACT++/erfa/src/sp00.c
r18348 r18711 48 48 ** IERS Technical Note No. 32, BKG (2004) 49 49 ** 50 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 51 51 ** Derived, with permission, from the SOFA library. See notes at end of file. 52 52 */ 53 53 { 54 54 double t, sp; 55 55 56 56 57 /* Interval between fundamental epoch J2000.0 and current date (JC). */ … … 66 67 ** 67 68 ** 68 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.69 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 69 70 ** All rights reserved. 70 71 ** -
trunk/FACT++/erfa/src/starpm.c
r18348 r18711 107 107 ** eraPvstar space motion pv-vector to star catalog data 108 108 ** 109 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.109 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 110 110 ** Derived, with permission, from the SOFA library. See notes at end of file. 111 111 */ … … 114 114 pv2[2][3]; 115 115 int j1, j2, j; 116 116 117 117 118 /* RA,Dec etc. at the "before" epoch to space motion pv-vector. */ … … 153 154 ** 154 155 ** 155 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.156 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 156 157 ** All rights reserved. 157 158 ** -
trunk/FACT++/erfa/src/starpv.c
r18348 r18711 114 114 ** Stumpff, P., 1985, Astron.Astrophys. 144, 232-240. 115 115 ** 116 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.116 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 117 117 ** Derived, with permission, from the SOFA library. See notes at end of file. 118 118 */ … … 134 134 odd = 0.0, oddel = 0.0, /* compiler */ 135 135 od = 0.0, odel = 0.0; /* warnings */ 136 136 137 137 138 /* Distance (AU). */ … … 212 213 ** 213 214 ** 214 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.215 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 215 216 ** All rights reserved. 216 217 ** -
trunk/FACT++/erfa/src/sxp.c
r18348 r18711 19 19 ** It is permissible for p and sp to be the same array. 20 20 ** 21 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.21 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 22 22 ** Derived, with permission, from the SOFA library. See notes at end of file. 23 23 */ … … 33 33 ** 34 34 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.35 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 36 ** All rights reserved. 37 37 ** -
trunk/FACT++/erfa/src/sxpv.c
r18348 r18711 22 22 ** eraS2xpv multiply pv-vector by two scalars 23 23 ** 24 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.24 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 25 25 ** Derived, with permission, from the SOFA library. See notes at end of file. 26 26 */ … … 34 34 ** 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** All rights reserved. 38 38 ** -
trunk/FACT++/erfa/src/t_erfa_c.c
r18348 r18711 18 18 ** All messages go to stdout. 19 19 ** 20 ** This revision: 201 5 January 3020 ** This revision: 2016 July 11 21 21 ** 22 22 */ … … 77 77 ** status int set to TRUE if test fails 78 78 ** 79 ** This revision: 201 3 August 779 ** This revision: 2016 April 21 80 80 */ 81 81 { … … 84 84 85 85 a = val - valok; 86 if ( fabs(a) > dval) {86 if (a != 0.0 && fabs(a) > fabs(dval)) { 87 87 f = fabs(valok / a); 88 88 *status = 1; … … 2903 2903 ** Called: eraDat, vvd, viv 2904 2904 ** 2905 ** This revision: 201 5 January 302905 ** This revision: 2016 July 11 2906 2906 */ 2907 2907 { … … 2920 2920 viv(j, 0, "eraDat", "j2", status); 2921 2921 2922 j = eraDat(201 5, 9, 1, 0.0, &deltat);2923 2924 vvd(deltat, 3 6.0, 0.0, "eraDat", "d3", status);2922 j = eraDat(2017, 9, 1, 0.0, &deltat); 2923 2924 vvd(deltat, 37.0, 0.0, "eraDat", "d3", status); 2925 2925 viv(j, 0, "eraDat", "j3", status); 2926 2926 … … 2979 2979 } 2980 2980 2981 static void t_eceq06(int *status) 2982 /* 2983 ** - - - - - 2984 ** t _ e c e q 0 6 2985 ** - - - - - 2986 ** 2987 ** Test eraEceq06 function. 2988 ** 2989 ** Returned: 2990 ** status int FALSE = success, TRUE = fail 2991 ** 2992 ** Called: eraEceq06, vvd 2993 ** 2994 ** This revision: 2016 March 12 2995 */ 2996 { 2997 double date1, date2, dl, db, dr, dd; 2998 2999 3000 date1 = 2456165.5; 3001 date2 = 0.401182685; 3002 dl = 5.1; 3003 db = -0.9; 3004 3005 eraEceq06(date1, date2, dl, db, &dr, &dd); 3006 3007 vvd(dr, 5.533459733613627767, 1e-14, "eraEceq06", "dr", status); 3008 vvd(dd, -1.246542932554480576, 1e-14, "eraEceq06", "dd", status); 3009 3010 } 3011 3012 static void t_ecm06(int *status) 3013 /* 3014 ** - - - - - - - - 3015 ** t _ e c m 0 6 3016 ** - - - - - - - - 3017 ** 3018 ** Test eraEcm06 function. 3019 ** 3020 ** Returned: 3021 ** status int FALSE = success, TRUE = fail 3022 ** 3023 ** Called: eraEcm06, vvd 3024 ** 3025 ** This revision: 2016 March 12 3026 */ 3027 { 3028 double date1, date2, rm[3][3]; 3029 3030 3031 date1 = 2456165.5; 3032 date2 = 0.401182685; 3033 3034 eraEcm06(date1, date2, rm); 3035 3036 vvd(rm[0][0], 0.9999952427708701137, 1e-14, 3037 "eraEcm06", "rm11", status); 3038 vvd(rm[0][1], -0.2829062057663042347e-2, 1e-14, 3039 "eraEcm06", "rm12", status); 3040 vvd(rm[0][2], -0.1229163741100017629e-2, 1e-14, 3041 "eraEcm06", "rm13", status); 3042 vvd(rm[1][0], 0.3084546876908653562e-2, 1e-14, 3043 "eraEcm06", "rm21", status); 3044 vvd(rm[1][1], 0.9174891871550392514, 1e-14, 3045 "eraEcm06", "rm22", status); 3046 vvd(rm[1][2], 0.3977487611849338124, 1e-14, 3047 "eraEcm06", "rm23", status); 3048 vvd(rm[2][0], 0.2488512951527405928e-5, 1e-14, 3049 "eraEcm06", "rm31", status); 3050 vvd(rm[2][1], -0.3977506604161195467, 1e-14, 3051 "eraEcm06", "rm32", status); 3052 vvd(rm[2][2], 0.9174935488232863071, 1e-14, 3053 "eraEcm06", "rm33", status); 3054 3055 } 3056 2981 3057 static void t_ee00(int *status) 2982 3058 /* … … 3119 3195 ** Called: eraEform, viv, vvd 3120 3196 ** 3121 ** This revision: 201 3 August 73197 ** This revision: 2016 March 12 3122 3198 */ 3123 3199 { … … 3133 3209 viv(j, 0, "eraEform", "j1", status); 3134 3210 vvd(a, 6378137.0, 1e-10, "eraEform", "a1", status); 3135 vvd(f, 0. 0033528106647474807, 1e-18, "eraEform", "f1", status);3211 vvd(f, 0.3352810664747480720e-2, 1e-18, "eraEform", "f1", status); 3136 3212 3137 3213 j = eraEform(ERFA_GRS80, &a, &f); … … 3139 3215 viv(j, 0, "eraEform", "j2", status); 3140 3216 vvd(a, 6378137.0, 1e-10, "eraEform", "a2", status); 3141 vvd(f, 0. 0033528106811823189, 1e-18, "eraEform", "f2", status);3217 vvd(f, 0.3352810681182318935e-2, 1e-18, "eraEform", "f2", status); 3142 3218 3143 3219 j = eraEform(ERFA_WGS72, &a, &f); … … 3145 3221 viv(j, 0, "eraEform", "j2", status); 3146 3222 vvd(a, 6378135.0, 1e-10, "eraEform", "a3", status); 3147 vvd(f, 0. 0033527794541675049, 1e-18, "eraEform", "f3", status);3223 vvd(f, 0.3352779454167504862e-2, 1e-18, "eraEform", "f3", status); 3148 3224 3149 3225 j = eraEform(4, &a, &f); … … 3372 3448 3373 3449 viv(j, 0, "eraEpv00", "j", status); 3450 3451 } 3452 3453 static void t_eqec06(int *status) 3454 /* 3455 ** - - - - - - - - - 3456 ** t _ e q e c 0 6 3457 ** - - - - - - - - - 3458 ** 3459 ** Test eraEqec06 function. 3460 ** 3461 ** Returned: 3462 ** status int FALSE = success, TRUE = fail 3463 ** 3464 ** Called: eraEqec06, vvd 3465 ** 3466 ** This revision: 2016 March 12 3467 */ 3468 { 3469 double date1, date2, dr, dd, dl, db; 3470 3471 3472 date1 = 1234.5; 3473 date2 = 2440000.5; 3474 dr = 1.234; 3475 dd = 0.987; 3476 3477 eraEqec06(date1, date2, dr, dd, &dl, &db); 3478 3479 vvd(dl, 1.342509918994654619, 1e-14, "eraEqec06", "dl", status); 3480 vvd(db, 0.5926215259704608132, 1e-14, "eraEqec06", "db", status); 3374 3481 3375 3482 } … … 3945 4052 ** Called: eraGc2gd, viv, vvd 3946 4053 ** 3947 ** This revision: 201 3 August 74054 ** This revision: 2016 March 12 3948 4055 */ 3949 4056 { … … 3959 4066 3960 4067 viv(j, 0, "eraGc2gd", "j1", status); 3961 vvd(e, 0.9827937232473290 7, 1e-14, "eraGc2gd", "e1", status);4068 vvd(e, 0.9827937232473290680, 1e-14, "eraGc2gd", "e1", status); 3962 4069 vvd(p, 0.97160184819075459, 1e-14, "eraGc2gd", "p1", status); 3963 vvd(h, 331.4172461426059 9, 1e-8, "eraGc2gd", "h1", status);4070 vvd(h, 331.4172461426059892, 1e-8, "eraGc2gd", "h1", status); 3964 4071 3965 4072 j = eraGc2gd(ERFA_GRS80, xyz, &e, &p, &h); 3966 4073 3967 4074 viv(j, 0, "eraGc2gd", "j2", status); 3968 vvd(e, 0.9827937232473290 7, 1e-14, "eraGc2gd", "e2", status);4075 vvd(e, 0.9827937232473290680, 1e-14, "eraGc2gd", "e2", status); 3969 4076 vvd(p, 0.97160184820607853, 1e-14, "eraGc2gd", "p2", status); 3970 4077 vvd(h, 331.41731754844348, 1e-8, "eraGc2gd", "h2", status); … … 3973 4080 3974 4081 viv(j, 0, "eraGc2gd", "j3", status); 3975 vvd(e, 0.9827937232473290 7, 1e-14, "eraGc2gd", "e3", status);3976 vvd(p, 0.97160181811015119 , 1e-14, "eraGc2gd", "p3", status);3977 vvd(h, 333.27707261303181 , 1e-8, "eraGc2gd", "h3", status);4082 vvd(e, 0.9827937232473290680, 1e-14, "eraGc2gd", "e3", status); 4083 vvd(p, 0.9716018181101511937, 1e-14, "eraGc2gd", "p3", status); 4084 vvd(h, 333.2770726130318123, 1e-8, "eraGc2gd", "h3", status); 3978 4085 3979 4086 j = eraGc2gd(4, xyz, &e, &p, &h); … … 3995 4102 ** Called: eraGc2gde, viv, vvd 3996 4103 ** 3997 ** This revision: 201 3 August 74104 ** This revision: 2016 March 12 3998 4105 */ 3999 4106 { … … 4006 4113 4007 4114 viv(j, 0, "eraGc2gde", "j", status); 4008 vvd(e, 0.9827937232473290 7, 1e-14, "eraGc2gde", "e", status);4009 vvd(p, 0.97160183775704115 , 1e-14, "eraGc2gde", "p", status);4115 vvd(e, 0.9827937232473290680, 1e-14, "eraGc2gde", "e", status); 4116 vvd(p, 0.9716018377570411532, 1e-14, "eraGc2gde", "p", status); 4010 4117 vvd(h, 332.36862495764397, 1e-8, "eraGc2gde", "h", status); 4011 4118 } … … 4024 4131 ** Called: eraGd2gc, viv, vvd 4025 4132 ** 4026 ** This revision: 201 3 August 74133 ** This revision: 2016 March 12 4027 4134 */ 4028 4135 { … … 4038 4145 4039 4146 viv(j, 0, "eraGd2gc", "j1", status); 4040 vvd(xyz[0], -5599000.5577049947, 1e-7, "eraGd2gc", " 0/1", status);4041 vvd(xyz[1], 233011.67223479203, 1e-7, "eraGd2gc", " 1/1", status);4042 vvd(xyz[2], -3040909.4706983363, 1e-7, "eraGd2gc", " 2/1", status);4147 vvd(xyz[0], -5599000.5577049947, 1e-7, "eraGd2gc", "1/1", status); 4148 vvd(xyz[1], 233011.67223479203, 1e-7, "eraGd2gc", "2/1", status); 4149 vvd(xyz[2], -3040909.4706983363, 1e-7, "eraGd2gc", "3/1", status); 4043 4150 4044 4151 j = eraGd2gc(ERFA_GRS80, e, p, h, xyz); 4045 4152 4046 4153 viv(j, 0, "eraGd2gc", "j2", status); 4047 vvd(xyz[0], -5599000.5577260984, 1e-7, "eraGd2gc", " 0/2", status);4048 vvd(xyz[1], 233011.672235670 3, 1e-7, "eraGd2gc", "1/2", status);4049 vvd(xyz[2], -3040909.4706095476, 1e-7, "eraGd2gc", " 2/2", status);4154 vvd(xyz[0], -5599000.5577260984, 1e-7, "eraGd2gc", "1/2", status); 4155 vvd(xyz[1], 233011.6722356702949, 1e-7, "eraGd2gc", "2/2", status); 4156 vvd(xyz[2], -3040909.4706095476, 1e-7, "eraGd2gc", "3/2", status); 4050 4157 4051 4158 j = eraGd2gc(ERFA_WGS72, e, p, h, xyz); 4052 4159 4053 4160 viv(j, 0, "eraGd2gc", "j3", status); 4054 vvd(xyz[0], -5598998.7626301490, 1e-7, "eraGd2gc", " 0/3", status);4055 vvd(xyz[1], 233011.5975297822 , 1e-7, "eraGd2gc", "1/3", status);4056 vvd(xyz[2], -3040908.6861467111, 1e-7, "eraGd2gc", " 2/3", status);4161 vvd(xyz[0], -5598998.7626301490, 1e-7, "eraGd2gc", "1/3", status); 4162 vvd(xyz[1], 233011.5975297822211, 1e-7, "eraGd2gc", "2/3", status); 4163 vvd(xyz[2], -3040908.6861467111, 1e-7, "eraGd2gc", "3/3", status); 4057 4164 4058 4165 j = eraGd2gc(4, e, p, h, xyz); … … 4074 4181 ** Called: eraGd2gce, viv, vvd 4075 4182 ** 4076 ** This revision: 201 3 August 74183 ** This revision: 2016 March 12 4077 4184 */ 4078 4185 { … … 4085 4192 4086 4193 viv(j, 0, "eraGd2gce", "j", status); 4087 vvd(xyz[0], -5598999.6665116328, 1e-7, "eraGd2gce", " 0", status);4088 vvd(xyz[1], 233011.6351463057 2, 1e-7, "eraGd2gce", "1", status);4089 vvd(xyz[2], -3040909.0517314132, 1e-7, "eraGd2gce", " 2", status);4194 vvd(xyz[0], -5598999.6665116328, 1e-7, "eraGd2gce", "1", status); 4195 vvd(xyz[1], 233011.6351463057189, 1e-7, "eraGd2gce", "2", status); 4196 vvd(xyz[2], -3040909.0517314132, 1e-7, "eraGd2gce", "3", status); 4090 4197 } 4091 4198 … … 4663 4770 vvd(p1[2], -0.2167355419322321302, 1e-12, 4664 4771 "eraLdsun", "3", status); 4772 4773 } 4774 4775 static void t_lteceq(int *status) 4776 /* 4777 ** - - - - - - - - - 4778 ** t _ l t e c e q 4779 ** - - - - - - - - - 4780 ** 4781 ** Test eraLteceq function. 4782 ** 4783 ** Returned: 4784 ** status int FALSE = success, TRUE = fail 4785 ** 4786 ** Called: eraLteceq, vvd 4787 ** 4788 ** This revision: 2016 March 12 4789 */ 4790 { 4791 double epj, dl, db, dr, dd; 4792 4793 4794 epj = 2500.0; 4795 dl = 1.5; 4796 db = 0.6; 4797 4798 eraLteceq(epj, dl, db, &dr, &dd); 4799 4800 vvd(dr, 1.275156021861921167, 1e-14, "eraLteceq", "dr", status); 4801 vvd(dd, 0.9966573543519204791, 1e-14, "eraLteceq", "dd", status); 4802 4803 } 4804 4805 static void t_ltecm(int *status) 4806 /* 4807 ** - - - - - - - - 4808 ** t _ l t e c m 4809 ** - - - - - - - - 4810 ** 4811 ** Test eraLtecm function. 4812 ** 4813 ** Returned: 4814 ** status int FALSE = success, TRUE = fail 4815 ** 4816 ** Called: eraLtecm, vvd 4817 ** 4818 ** This revision: 2016 March 12 4819 */ 4820 { 4821 double epj, rm[3][3]; 4822 4823 4824 epj = -3000.0; 4825 4826 eraLtecm(epj, rm); 4827 4828 vvd(rm[0][0], 0.3564105644859788825, 1e-14, 4829 "eraLtecm", "rm11", status); 4830 vvd(rm[0][1], 0.8530575738617682284, 1e-14, 4831 "eraLtecm", "rm12", status); 4832 vvd(rm[0][2], 0.3811355207795060435, 1e-14, 4833 "eraLtecm", "rm13", status); 4834 vvd(rm[1][0], -0.9343283469640709942, 1e-14, 4835 "eraLtecm", "rm21", status); 4836 vvd(rm[1][1], 0.3247830597681745976, 1e-14, 4837 "eraLtecm", "rm22", status); 4838 vvd(rm[1][2], 0.1467872751535940865, 1e-14, 4839 "eraLtecm", "rm23", status); 4840 vvd(rm[2][0], 0.1431636191201167793e-2, 1e-14, 4841 "eraLtecm", "rm31", status); 4842 vvd(rm[2][1], -0.4084222566960599342, 1e-14, 4843 "eraLtecm", "rm32", status); 4844 vvd(rm[2][2], 0.9127919865189030899, 1e-14, 4845 "eraLtecm", "rm33", status); 4846 4847 } 4848 4849 static void t_lteqec(int *status) 4850 /* 4851 ** - - - - - - - - - 4852 ** t _ l t e q e c 4853 ** - - - - - - - - - 4854 ** 4855 ** Test eraLteqec function. 4856 ** 4857 ** Returned: 4858 ** status int FALSE = success, TRUE = fail 4859 ** 4860 ** Called: eraLteqec, vvd 4861 ** 4862 ** This revision: 2016 March 12 4863 */ 4864 { 4865 double epj, dr, dd, dl, db; 4866 4867 4868 epj = -1500.0; 4869 dr = 1.234; 4870 dd = 0.987; 4871 4872 eraLteqec(epj, dr, dd, &dl, &db); 4873 4874 vvd(dl, 0.5039483649047114859, 1e-14, "eraLteqec", "dl", status); 4875 vvd(db, 0.5848534459726224882, 1e-14, "eraLteqec", "db", status); 4876 4877 } 4878 4879 static void t_ltp(int *status) 4880 /* 4881 ** - - - - - - 4882 ** t _ l t p 4883 ** - - - - - - 4884 ** 4885 ** Test eraLtp function. 4886 ** 4887 ** Returned: 4888 ** status int FALSE = success, TRUE = fail 4889 ** 4890 ** Called: eraLtp, vvd 4891 ** 4892 ** This revision: 2016 March 12 4893 */ 4894 { 4895 double epj, rp[3][3]; 4896 4897 4898 epj = 1666.666; 4899 4900 eraLtp(epj, rp); 4901 4902 vvd(rp[0][0], 0.9967044141159213819, 1e-14, 4903 "eraLtp", "rp11", status); 4904 vvd(rp[0][1], 0.7437801893193210840e-1, 1e-14, 4905 "eraLtp", "rp12", status); 4906 vvd(rp[0][2], 0.3237624409345603401e-1, 1e-14, 4907 "eraLtp", "rp13", status); 4908 vvd(rp[1][0], -0.7437802731819618167e-1, 1e-14, 4909 "eraLtp", "rp21", status); 4910 vvd(rp[1][1], 0.9972293894454533070, 1e-14, 4911 "eraLtp", "rp22", status); 4912 vvd(rp[1][2], -0.1205768842723593346e-2, 1e-14, 4913 "eraLtp", "rp23", status); 4914 vvd(rp[2][0], -0.3237622482766575399e-1, 1e-14, 4915 "eraLtp", "rp31", status); 4916 vvd(rp[2][1], -0.1206286039697609008e-2, 1e-14, 4917 "eraLtp", "rp32", status); 4918 vvd(rp[2][2], 0.9994750246704010914, 1e-14, 4919 "eraLtp", "rp33", status); 4920 4921 } 4922 4923 static void t_ltpb(int *status) 4924 /* 4925 ** - - - - - - - 4926 ** t _ l t p b 4927 ** - - - - - - - 4928 ** 4929 ** Test eraLtpb function. 4930 ** 4931 ** Returned: 4932 ** status int FALSE = success, TRUE = fail 4933 ** 4934 ** Called: eraLtpb, vvd 4935 ** 4936 ** This revision: 2016 March 12 4937 */ 4938 { 4939 double epj, rpb[3][3]; 4940 4941 4942 epj = 1666.666; 4943 4944 eraLtpb(epj, rpb); 4945 4946 vvd(rpb[0][0], 0.9967044167723271851, 1e-14, 4947 "eraLtpb", "rpb11", status); 4948 vvd(rpb[0][1], 0.7437794731203340345e-1, 1e-14, 4949 "eraLtpb", "rpb12", status); 4950 vvd(rpb[0][2], 0.3237632684841625547e-1, 1e-14, 4951 "eraLtpb", "rpb13", status); 4952 vvd(rpb[1][0], -0.7437795663437177152e-1, 1e-14, 4953 "eraLtpb", "rpb21", status); 4954 vvd(rpb[1][1], 0.9972293947500013666, 1e-14, 4955 "eraLtpb", "rpb22", status); 4956 vvd(rpb[1][2], -0.1205741865911243235e-2, 1e-14, 4957 "eraLtpb", "rpb23", status); 4958 vvd(rpb[2][0], -0.3237630543224664992e-1, 1e-14, 4959 "eraLtpb", "rpb31", status); 4960 vvd(rpb[2][1], -0.1206316791076485295e-2, 1e-14, 4961 "eraLtpb", "rpb32", status); 4962 vvd(rpb[2][2], 0.9994750220222438819, 1e-14, 4963 "eraLtpb", "rpb33", status); 4964 4965 } 4966 4967 static void t_ltpecl(int *status) 4968 /* 4969 ** - - - - - - - - - 4970 ** t _ l t p e c l 4971 ** - - - - - - - - - 4972 ** 4973 ** Test eraLtpecl function. 4974 ** 4975 ** Returned: 4976 ** status int FALSE = success, TRUE = fail 4977 ** 4978 ** Called: eraLtpecl, vvd 4979 ** 4980 ** This revision: 2016 March 12 4981 */ 4982 { 4983 double epj, vec[3]; 4984 4985 4986 epj = -1500.0; 4987 4988 eraLtpecl(epj, vec); 4989 4990 vvd(vec[0], 0.4768625676477096525e-3, 1e-14, 4991 "eraLtpecl", "vec1", status); 4992 vvd(vec[1], -0.4052259533091875112, 1e-14, 4993 "eraLtpecl", "vec2", status); 4994 vvd(vec[2], 0.9142164401096448012, 1e-14, 4995 "eraLtpecl", "vec3", status); 4996 4997 } 4998 4999 static void t_ltpequ(int *status) 5000 /* 5001 ** - - - - - - - - - 5002 ** t _ l t p e q u 5003 ** - - - - - - - - - 5004 ** 5005 ** Test eraLtpequ function. 5006 ** 5007 ** Returned: 5008 ** status int FALSE = success, TRUE = fail 5009 ** 5010 ** Called: eraLtpequ, vvd 5011 ** 5012 ** This revision: 2016 March 12 5013 */ 5014 { 5015 double epj, veq[3]; 5016 5017 5018 epj = -2500.0; 5019 5020 eraLtpequ(epj, veq); 5021 5022 vvd(veq[0], -0.3586652560237326659, 1e-14, 5023 "eraLtpequ", "veq1", status); 5024 vvd(veq[1], -0.1996978910771128475, 1e-14, 5025 "eraLtpequ", "veq2", status); 5026 vvd(veq[2], 0.9118552442250819624, 1e-14, 5027 "eraLtpequ", "veq3", status); 4665 5028 4666 5029 } … … 9060 9423 ** - - - - - 9061 9424 ** 9062 ** This revision: 201 3 October 39425 ** This revision: 2016 March 12 9063 9426 */ 9064 9427 { … … 9134 9497 t_dtdb(&status); 9135 9498 t_dtf2d(&status); 9499 t_eceq06(&status); 9500 t_ecm06(&status); 9136 9501 t_ee00(&status); 9137 9502 t_ee00a(&status); … … 9147 9512 t_epj2jd(&status); 9148 9513 t_epv00(&status); 9514 t_eqec06(&status); 9149 9515 t_eqeq94(&status); 9150 9516 t_era00(&status); … … 9190 9556 t_ldn(&status); 9191 9557 t_ldsun(&status); 9558 t_lteceq(&status); 9559 t_ltecm(&status); 9560 t_lteqec(&status); 9561 t_ltp(&status); 9562 t_ltpb(&status); 9563 t_ltpecl(&status); 9564 t_ltpequ(&status); 9192 9565 t_num00a(&status); 9193 9566 t_num00b(&status); … … 9309 9682 ** 9310 9683 ** 9311 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.9684 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 9312 9685 ** All rights reserved. 9313 9686 ** -
trunk/FACT++/erfa/src/taitt.c
r18348 r18711 34 34 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** Derived, with permission, from the SOFA library. See notes at end of file. 38 38 */ … … 41 41 /* TT minus TAI (days). */ 42 42 static const double dtat = ERFA_TTMTAI/ERFA_DAYSEC; 43 43 44 44 45 /* Result, safeguarding precision. */ … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/taiut1.c
r18348 r18711 36 36 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** Derived, with permission, from the SOFA library. See notes at end of file. 40 40 */ 41 41 { 42 42 double dtad; 43 43 44 44 45 /* Result, safeguarding precision. */ … … 59 60 ** 60 61 ** 61 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 62 63 ** All rights reserved. 63 64 ** -
trunk/FACT++/erfa/src/taiutc.c
r18348 r18711 57 57 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 58 58 ** 59 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.59 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 60 60 ** Derived, with permission, from the SOFA library. See notes at end of file. 61 61 */ … … 64 64 int i, j; 65 65 double a1, a2, u1, u2, g1, g2; 66 66 67 67 68 /* Put the two parts of the TAI into big-first order. */ … … 107 108 ** 108 109 ** 109 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.110 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 110 111 ** All rights reserved. 111 112 ** -
trunk/FACT++/erfa/src/tcbtdb.c
r18348 r18711 48 48 ** IAU 2006 Resolution B3 49 49 ** 50 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 51 51 ** Derived, with permission, from the SOFA library. See notes at end of file. 52 52 */ … … 61 61 62 62 double d; 63 63 64 64 65 /* Result, safeguarding precision. */ … … 80 81 ** 81 82 ** 82 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.83 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 83 84 ** All rights reserved. 84 85 ** -
trunk/FACT++/erfa/src/tcgtt.c
r18348 r18711 33 33 ** IAU 2000 Resolution B1.9 34 34 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.35 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 36 ** Derived, with permission, from the SOFA library. See notes at end of file. 37 37 */ … … 40 40 /* 1977 Jan 1 00:00:32.184 TT, as MJD */ 41 41 static const double t77t = ERFA_DJM77 + ERFA_TTMTAI/ERFA_DAYSEC; 42 42 43 43 44 /* Result, safeguarding precision. */ … … 57 58 ** 58 59 ** 59 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.60 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 60 61 ** All rights reserved. 61 62 ** -
trunk/FACT++/erfa/src/tdbtcb.c
r18348 r18711 48 48 ** IAU 2006 Resolution B3 49 49 ** 50 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.50 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 51 51 ** Derived, with permission, from the SOFA library. See notes at end of file. 52 52 */ … … 64 64 65 65 double d, f; 66 66 67 67 68 /* Result, preserving date format but safeguarding precision. */ … … 85 86 ** 86 87 ** 87 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.88 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 88 89 ** All rights reserved. 89 90 ** -
trunk/FACT++/erfa/src/tdbtt.c
r18348 r18711 46 46 ** IAU 2006 Resolution 3 47 47 ** 48 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.48 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 49 49 ** Derived, with permission, from the SOFA library. See notes at end of file. 50 50 */ 51 51 { 52 52 double dtrd; 53 53 54 54 55 /* Result, safeguarding precision. */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/tf2a.c
r18348 r18711 35 35 ** first, the smallest taking precedence. 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ … … 56 56 ** 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** All rights reserved. 60 60 ** -
trunk/FACT++/erfa/src/tf2d.c
r18348 r18711 35 35 ** first, the smallest taking precedence. 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ … … 56 56 ** 57 57 ** 58 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.58 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 59 59 ** All rights reserved. 60 60 ** -
trunk/FACT++/erfa/src/tr.c
r18348 r18711 21 21 ** eraCr copy r-matrix 22 22 ** 23 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.23 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 24 24 ** Derived, with permission, from the SOFA library. See notes at end of file. 25 25 */ … … 27 27 double wm[3][3]; 28 28 int i, j; 29 29 30 30 31 for (i = 0; i < 3; i++) { … … 41 42 ** 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** All rights reserved. 45 46 ** -
trunk/FACT++/erfa/src/trxp.c
r18348 r18711 23 23 ** eraRxp product of r-matrix and p-vector 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ 28 28 { 29 29 double tr[3][3]; 30 30 31 31 32 /* Transpose of matrix r. */ … … 41 42 ** 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** All rights reserved. 45 46 ** -
trunk/FACT++/erfa/src/trxpv.c
r18348 r18711 23 23 ** eraRxpv product of r-matrix and pv-vector 24 24 ** 25 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.25 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 26 26 ** Derived, with permission, from the SOFA library. See notes at end of file. 27 27 */ 28 28 { 29 29 double tr[3][3]; 30 30 31 31 32 /* Transpose of matrix r. */ … … 41 42 ** 42 43 ** 43 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.44 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 44 45 ** All rights reserved. 45 46 ** -
trunk/FACT++/erfa/src/tttai.c
r18348 r18711 34 34 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 35 35 ** 36 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.36 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 37 37 ** Derived, with permission, from the SOFA library. See notes at end of file. 38 38 */ … … 41 41 /* TT minus TAI (days). */ 42 42 static const double dtat = ERFA_TTMTAI/ERFA_DAYSEC; 43 43 44 44 45 /* Result, safeguarding precision. */ … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/tttcg.c
r18348 r18711 33 33 ** IAU 2000 Resolution B1.9 34 34 ** 35 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.35 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 36 36 ** Derived, with permission, from the SOFA library. See notes at end of file. 37 37 */ … … 43 43 /* TT to TCG rate */ 44 44 static const double elgg = ERFA_ELG/(1.0-ERFA_ELG); 45 45 46 46 47 /* Result, safeguarding precision. */ … … 60 61 ** 61 62 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.63 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 64 ** All rights reserved. 64 65 ** -
trunk/FACT++/erfa/src/tttdb.c
r18348 r18711 46 46 ** IAU 2006 Resolution 3 47 47 ** 48 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.48 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 49 49 ** Derived, with permission, from the SOFA library. See notes at end of file. 50 50 */ 51 51 { 52 52 double dtrd; 53 53 54 54 55 /* Result, safeguarding precision. */ … … 69 70 ** 70 71 ** 71 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.72 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 72 73 ** All rights reserved. 73 74 ** -
trunk/FACT++/erfa/src/ttut1.c
r18348 r18711 35 35 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double dtd; 42 42 43 43 44 /* Result, safeguarding precision. */ … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/ut1tai.c
r18348 r18711 36 36 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 37 37 ** 38 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.38 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 39 39 ** Derived, with permission, from the SOFA library. See notes at end of file. 40 40 */ 41 41 { 42 42 double dtad; 43 43 44 44 45 /* Result, safeguarding precision. */ … … 59 60 ** 60 61 ** 61 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 62 63 ** All rights reserved. 63 64 ** -
trunk/FACT++/erfa/src/ut1tt.c
r18348 r18711 35 35 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 36 36 ** 37 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.37 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 38 38 ** Derived, with permission, from the SOFA library. See notes at end of file. 39 39 */ 40 40 { 41 41 double dtd; 42 42 43 43 44 /* Result, safeguarding precision. */ … … 58 59 ** 59 60 ** 60 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 61 62 ** All rights reserved. 62 63 ** -
trunk/FACT++/erfa/src/ut1utc.c
r18348 r18711 63 63 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 64 64 ** 65 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.65 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 66 66 ** Derived, with permission, from the SOFA library. See notes at end of file. 67 67 */ … … 70 70 int i, iy, im, id, js; 71 71 double duts, u1, u2, d1, dats1, d2, fd, dats2, ddats, us1, us2, du; 72 72 73 73 74 /* UT1-UTC in seconds. */ … … 141 142 ** 142 143 ** 143 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.144 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 144 145 ** All rights reserved. 145 146 ** -
trunk/FACT++/erfa/src/utctai.c
r18348 r18711 59 59 ** P. Kenneth Seidelmann (ed), University Science Books (1992) 60 60 ** 61 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.61 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 62 62 ** Derived, with permission, from the SOFA library. See notes at end of file. 63 63 */ … … 66 66 int iy, im, id, j, iyt, imt, idt; 67 67 double u1, u2, fd, dat0, dat12, w, dat24, dlod, dleap, z1, z2, a2; 68 68 69 69 70 /* Put the two parts of the UTC into big-first order. */ … … 125 126 ** 126 127 ** 127 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.128 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 128 129 ** All rights reserved. 129 130 ** -
trunk/FACT++/erfa/src/utcut1.c
r18348 r18711 64 64 ** eraTaiut1 TAI to UT1 65 65 ** 66 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.66 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 67 67 ** Derived, with permission, from the SOFA library. See notes at end of file. 68 68 */ … … 70 70 int iy, im, id, js, jw; 71 71 double w, dat, dta, tai1, tai2; 72 72 73 73 74 /* Look up TAI-UTC. */ … … 95 96 ** 96 97 ** 97 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.98 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 98 99 ** All rights reserved. 99 100 ** -
trunk/FACT++/erfa/src/xy06.c
r18348 r18711 86 86 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 87 87 ** 88 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.88 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 89 89 ** Derived, with permission, from the SOFA library. See notes at end of file. 90 90 */ … … 2707 2707 ** 2708 2708 ** 2709 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.2709 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 2710 2710 ** All rights reserved. 2711 2711 ** -
trunk/FACT++/erfa/src/xys00a.c
r18348 r18711 60 60 ** IERS Technical Note No. 32, BKG (2004) 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** Derived, with permission, from the SOFA library. See notes at end of file. 64 64 */ 65 65 { 66 66 double rbpn[3][3]; 67 67 68 68 69 /* Form the bias-precession-nutation matrix, IAU 2000A. */ … … 81 82 ** 82 83 ** 83 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.84 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 84 85 ** All rights reserved. 85 86 ** -
trunk/FACT++/erfa/src/xys00b.c
r18348 r18711 60 60 ** IERS Technical Note No. 32, BKG (2004) 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** Derived, with permission, from the SOFA library. See notes at end of file. 64 64 */ 65 65 { 66 66 double rbpn[3][3]; 67 67 68 68 69 /* Form the bias-precession-nutation matrix, IAU 2000A. */ … … 81 82 ** 82 83 ** 83 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.84 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 84 85 ** All rights reserved. 85 86 ** -
trunk/FACT++/erfa/src/xys06a.c
r18348 r18711 60 60 ** Wallace, P.T. & Capitaine, N., 2006, Astron.Astrophys. 459, 981 61 61 ** 62 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.62 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 63 63 ** Derived, with permission, from the SOFA library. See notes at end of file. 64 64 */ 65 65 { 66 66 double rbpn[3][3]; 67 67 68 68 69 /* Form the bias-precession-nutation matrix, IAU 2006/2000A. */ … … 81 82 ** 82 83 ** 83 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.84 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 84 85 ** All rights reserved. 85 86 ** -
trunk/FACT++/erfa/src/zp.c
r18348 r18711 12 12 ** p double[3] p-vector 13 13 ** 14 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.14 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 15 15 ** Derived, with permission, from the SOFA library. See notes at end of file. 16 16 */ … … 26 26 ** 27 27 ** 28 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.28 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 29 29 ** All rights reserved. 30 30 ** -
trunk/FACT++/erfa/src/zpv.c
r18348 r18711 15 15 ** eraZp zero p-vector 16 16 ** 17 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.17 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 18 18 ** Derived, with permission, from the SOFA library. See notes at end of file. 19 19 */ … … 28 28 ** 29 29 ** 30 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.30 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 31 31 ** All rights reserved. 32 32 ** -
trunk/FACT++/erfa/src/zr.c
r18348 r18711 12 12 ** r double[3][3] r-matrix 13 13 ** 14 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.14 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 15 15 ** Derived, with permission, from the SOFA library. See notes at end of file. 16 16 */ … … 32 32 ** 33 33 ** 34 ** Copyright (C) 2013-201 5, NumFOCUS Foundation.34 ** Copyright (C) 2013-2016, NumFOCUS Foundation. 35 35 ** All rights reserved. 36 36 **
Note:
See TracChangeset
for help on using the changeset viewer.