| airmass.h | | airmass.h | |
| | | | |
| skipping to change at line 17 | | skipping to change at line 17 | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| * | | * | |
| * You should have received a copy of the GNU General Public License | | * You should have received a copy of the GNU General Public License | |
| * along with this program; if not, write to the Free Software | | * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | |
| * | | * | |
| * Copyright (C) 2000 - 2005 Petr Kubanek | | * Copyright (C) 2000 - 2005 Petr Kubanek | |
|
| | | * Copyright (C) 2011 Petr Kubanek, Institute of Physics <kubanek@fzu.cz> | |
| */ | | */ | |
| | | | |
| #ifndef _LN_AIRMASS_H | | #ifndef _LN_AIRMASS_H | |
| #define _LN_AIRMASS_H | | #define _LN_AIRMASS_H | |
| | | | |
| #include <libnova/ln_types.h> | | #include <libnova/ln_types.h> | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
| /*! \fn double ln_get_airmass (double alt, double airmass_scale); | | /*! \fn double ln_get_airmass (double alt, double airmass_scale); | |
| * \brief Calculate airmass in given altitude. | | * \brief Calculate airmass in given altitude. | |
| * \ingroup airmass | | * \ingroup airmass | |
| */ | | */ | |
| double LIBNOVA_EXPORT ln_get_airmass (double alt, double airmass_scale); | | double LIBNOVA_EXPORT ln_get_airmass (double alt, double airmass_scale); | |
| | | | |
|
| | | /*! \fn double ln_get_alt_from_airmass (double X, double airmass_scale) | |
| | | * \brief Calculate altitude for given airmass. | |
| | | * \ingroup airmass | |
| | | */ | |
| | | double LIBNOVA_EXPORT ln_get_alt_from_airmass (double X, double airmass_sca | |
| | | le); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| }; | | }; | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 8 lines changed or added | |
|
| libnova.h | | libnova.h | |
| | | | |
| skipping to change at line 19 | | skipping to change at line 19 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| * | | * | |
| * You should have received a copy of the GNU General Public License | | * You should have received a copy of the GNU General Public License | |
| * along with this program; if not, write to the Free Software | | * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | |
| * | | * | |
| * Copyright (C) 2000 - 2005 Liam Girdwood | | * Copyright (C) 2000 - 2005 Liam Girdwood | |
| */ | | */ | |
| | | | |
|
| #define LIBNOVA_VERSION "0.12.2" | | #define LIBNOVA_VERSION "0.15.0" | |
| | | | |
| /*! \mainpage libnova | | /*! \mainpage libnova | |
| * \image html libnova-logo.jpg | | * \image html libnova-logo.jpg | |
| * Celestial Mechanics, Astrometry and Astrodynamics Library | | * Celestial Mechanics, Astrometry and Astrodynamics Library | |
| * | | * | |
| * \section intro Introduction | | * \section intro Introduction | |
| * libnova is a general purpose, double precision, Celestial Mechanics, Astr
ometry and Astrodynamics library. | | * libnova is a general purpose, double precision, Celestial Mechanics, Astr
ometry and Astrodynamics library. | |
| * | | * | |
| * The intended audience of libnova is C / C++ programmers, astronomers and
anyone else interested in calculating positions of astronomical objects or
celestial mechanics. | | * The intended audience of libnova is C / C++ programmers, astronomers and
anyone else interested in calculating positions of astronomical objects or
celestial mechanics. | |
| * libnova is the calculation engine used by the <A href="http://nova.sf.net
">Nova</A> project and most importantly, is free software. | | * libnova is the calculation engine used by the <A href="http://nova.sf.net
">Nova</A> project and most importantly, is free software. | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| * - Lunar Position (using ELP82), phase angle. | | * - Lunar Position (using ELP82), phase angle. | |
| * - Elliptic Motion of bodies (Asteroid + Comet positional and orbit data) | | * - Elliptic Motion of bodies (Asteroid + Comet positional and orbit data) | |
| * - Asteroid + Comet magnitudes | | * - Asteroid + Comet magnitudes | |
| * - Parabolic Motion of bodies (Comet positional data) | | * - Parabolic Motion of bodies (Comet positional data) | |
| * - Orbit velocities and lengths | | * - Orbit velocities and lengths | |
| * - Atmospheric refraction | | * - Atmospheric refraction | |
| * - Rise, Set and Transit times. | | * - Rise, Set and Transit times. | |
| * - Semidiameters of the Sun, Moon, Planets and asteroids. | | * - Semidiameters of the Sun, Moon, Planets and asteroids. | |
| * - Angular separation of bodies | | * - Angular separation of bodies | |
| * - Hyperbolic motion of bodies | | * - Hyperbolic motion of bodies | |
|
| | | * - Heliocentric (barycentric) time correction | |
| * | | * | |
| * \section docs Documentation | | * \section docs Documentation | |
| * API documentation for libnova is included in the source. It can also be f
ound in this website and an offline tarball is available <A href="http://li
bnova.sf.net/libnovadocs.tar.gz">here</A>. | | * API documentation for libnova is included in the source. It can also be f
ound in this website and an offline tarball is available <A href="http://li
bnova.sf.net/libnovadocs.tar.gz">here</A>. | |
| * | | * | |
| * \section download Download | | * \section download Download | |
|
| * The latest released version of libnova is 0.12.2. | | * The latest released version of libnova is 0.13.0 | |
| * It is available for download <A href="http://sf.net/project/showfiles.php | | * It is available for download <A href="http://sourceforge.net/projects/lib | |
| ?group_id=57697">here.</A> | | nova/files/libnova/">here.</A> | |
| * | | * | |
| * \section cvs CVS | | * \section cvs CVS | |
| * The latest CVS version of libnova is available via CVS <A href="http://sf
.net/cvs/?group_id=57697">here.</A> | | * The latest CVS version of libnova is available via CVS <A href="http://sf
.net/cvs/?group_id=57697">here.</A> | |
| * | | * | |
| * \section licence Licence | | * \section licence Licence | |
| * libnova is released under the <A href="http://www.gnu.org">GNU</A> LGPL. | | * libnova is released under the <A href="http://www.gnu.org">GNU</A> LGPL. | |
| * | | * | |
| * \section help Help | | * \section help Help | |
| * If you are interested in helping in the future development of libnova, th
en please get in touch. | | * If you are interested in helping in the future development of libnova, th
en please get in touch. | |
| * Currently, we are needing help in the folowing areas. | | * Currently, we are needing help in the folowing areas. | |
| | | | |
End of changes. 3 change blocks. |
| 4 lines changed or deleted | | 5 lines changed or added | |
|
| ln_types.h | | ln_types.h | |
| | | | |
| skipping to change at line 32 | | skipping to change at line 32 | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
| #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || def
ined( __BCPLUSPLUS__) || defined( __MWERKS__) | | #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || def
ined( __BCPLUSPLUS__) || defined( __MWERKS__) | |
| # if defined( LIBNOVA_STATIC ) | | # if defined( LIBNOVA_STATIC ) | |
| # define LIBNOVA_EXPORT | | # define LIBNOVA_EXPORT | |
| # elif defined( LIBNOVA_SHARED ) | | # elif defined( LIBNOVA_SHARED ) | |
| # define LIBNOVA_EXPORT __declspec(dllexport) | | # define LIBNOVA_EXPORT __declspec(dllexport) | |
| # else | | # else | |
|
| # define LIBNOVA_EXPORT __declspec(dllimport) | | # define LIBNOVA_EXPORT | |
| # endif | | # endif | |
| #else | | #else | |
| # define LIBNOVA_EXPORT | | # define LIBNOVA_EXPORT | |
| #endif | | #endif | |
| | | | |
| /* define some useful constants if they are not already defined */ | | /* define some useful constants if they are not already defined */ | |
| #if(!defined(M_PI_2) && (!defined(_MSC_VER) || !defined(_USE_MATH_DEFINES))
) | | #if(!defined(M_PI_2) && (!defined(_MSC_VER) || !defined(_USE_MATH_DEFINES))
) | |
| #define M_PI_2 1.5707963267948966192313216916398 | | #define M_PI_2 1.5707963267948966192313216916398 | |
| #define M_PI_4 0.78539816339744830961566084581988 | | #define M_PI_4 0.78539816339744830961566084581988 | |
| #define M_PI 3.1415926535897932384626433832795 | | #define M_PI 3.1415926535897932384626433832795 | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|