AVR Libc Home Page AVRs AVR Libc Development Pages
Main Page User Manual Reference FAQ Example Projects

ephemera_common.8h

011/*
	022* (C)2012 Michael Duane Rice All rights reserved.
	033*
	044* Redistribution and use in source and binary forms, with or without
	055* modification, are permitted provided that the following conditions are
	066* met:
	077*
	088* Redistributions of source code must retain the above copyright notice, this
	099* list of conditions and the following disclaimer. Redistributions in binary
	1010* form must reproduce the above copyright notice, this list of conditions
	1111* and the following disclaimer in the documentation and/or other materials
	1212* provided with the distribution. Neither the name of the copyright holders
	1313* nor the names of contributors may be used to endorse or promote products
	1414* derived from this software without specific prior written permission.
	1515*
	1616* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
	1717* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
	1818* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
	1919* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
	2020* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
	2121* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
	2222* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
	2323* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
	2424* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
	2525* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
	2626* POSSIBILITY OF SUCH DAMAGE.
	2727*/
	2828
	2929/* $Id: ephemera_common.h 2345 2013-04-11 23:58:48Z swfltek $ */
	3030
	3131#ifndef EPHEMERA_PRIVATE_H
	3232#define EPHEMERA_PRIVATE_H
	3333
	3434#define TROP_YEAR 31556925
	3535#define ANOM_YEAR 31558433
	3636#define INCLINATION 0.409105176667471    /* Earths axial tilt at the epoch */
	3737#define PERIHELION 31316400    /* perihelion of 1999, 03 jan 13:00 UTC */
	3838#define SOLSTICE 836160        /* winter solstice of 1999, 22 Dec 07:44 UTC */
	3939#define TWO_PI 6.283185307179586
	4040#define TROP_CYCLE 5022440.6025
	4141#define ANOM_CYCLE 5022680.6082
	4242#define DELTA_V 0.03342044    /* 2x orbital eccentricity */
	4343
	4444#endif