Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/tass17_8h_source.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:27:08 2014
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п п
Stellarium: core/planetsephems/tass17.h Source File
Stellarium 0.12.3
tass17.h
1 /************************************************************************
2 
3 The TASS 1.7 theory of the Saturnian satellites including HYPERION
4 by Alain VIENNE and Luc DURIEZ can be found at
5 ftp://ftp.imcce.fr/pub/ephem/satel/tass17
6 
7 I (Johannes Gajdosik) have just taken the Fortran code and data
8 obtained from above and rearranged it into this piece of software.
9 
10 I can neigther allow nor forbid the usage of the TASS 1.7 theory.
11 The copyright notice below covers not the work of Alain VIENNE and Luc DURIEZ
12 but just my work, that is the compilation of the TASS 1.7 theory
13 into the software supplied in this file.
14 
15 
16 Copyright (c) 2005 Johannes Gajdosik
17 
18 Permission is hereby granted, free of charge, to any person obtaining a
19 copy of this software and associated documentation files (the "Software"),
20 to deal in the Software without restriction, including without limitation
21 the rights to use, copy, modify, merge, publish, distribute, sublicense,
22 and/or sell copies of the Software, and to permit persons to whom the
23 Software is furnished to do so, subject to the following conditions:
24 
25 The above copyright notice and this permission notice shall be included
26 in all copies or substantial portions of the Software.
27 
28 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34 SOFTWARE.
35 
36 This is an implementation of the TASS 1.7 theory.
37 My modifications are:
38 1) do not calculate constant terms at runtime but beforehand
39 2) unite terms with the same frequencies
40 3) rearrange the terms so that calculation of the argument becomes easier
41 4) substitute so that the independent variable becomes T=jd-2444240
42  for all satellites (including hyperion)
43 5) do not calculate a satellites "rmu" at runtime but beforehand
44 6) use a rotation matrix for Transformation to J2000
45  instead of AIA, OMA and inclination of earth axis
46 7) exchange indices of hyperion and iapetus
47 8) calculate the orbital elements not for every new jd but rather reuse
48  the previousely calculated elements if possible
49 
50 ****************************************************************/
51 
52 
53 #ifndef _TASS17_H_
54 #define _TASS17_H_
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
60 #define TASS17_MIMAS 0
61 #define TASS17_ENCELADUS 1
62 #define TASS17_TETHYS 2
63 #define TASS17_DIONE 3
64 #define TASS17_RHEA 4
65 #define TASS17_TITAN 5
66 #define TASS17_HYPERION 7
67 #define TASS17_IAPETUS 6
68 
69 void GetTass17Coor(double jd,int body,double *xyz);
70 void GetTass17OsculatingCoor(const double jd0,const double jd, const int body,double *xyz);
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif