COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
jpleph.h File Reference

JPL Ephemeris Support header file. More...

#include "support/configCosmos.h"
#include "support/cosmos-errno.h"
#include <stdio.h>
Include dependency graph for jpleph.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jpl_eph_data
 
struct  interpolation_info
 

Macros

#define DLL_FUNC
 
#define JPL_EPHEM_START_JD   0
 
#define JPL_EPHEM_END_JD   8
 
#define JPL_EPHEM_STEP   16
 
#define JPL_EPHEM_N_CONSTANTS   24
 
#define JPL_EPHEM_AU_IN_KM   28
 
#define JPL_EPHEM_EARTH_MOON_RATIO   36
 
#define JPL_EPHEM_EPHEMERIS_VERSION   200
 
#define JPL_EPHEM_KERNEL_SIZE   204
 
#define JPL_EPHEM_KERNEL_RECORD_SIZE   208
 
#define JPL_EPHEM_KERNEL_NCOEFF   212
 
#define JPL_EPHEM_KERNEL_SWAP_BYTES   216
 
#define MAX_KERNEL_SIZE   2036
 
#define JPL_HEADER_SIZE   (5 * sizeof( double) + 41 * sizeof( int32_t))
 

Functions

void * jpl_init_ephemeris (const char *ephemeris_filename, char nam[][6], double *val)
 
void jpl_close_ephemeris (void *ephem)
 
int jpl_state (void *ephem, const double et, const int list[12], double pv[][6], double nut[4], const int bary)
 
int jpl_pleph (void *ephem, const double et, const int ntarg, const int ncent, double rrd[], const int calc_velocity)
 
double jpl_get_double (const void *ephem, const int value)
 
double jpl_get_long (const void *ephem, const int value)
 
int make_sub_ephem (const void *ephem, const char *sub_filename, const double start_jd, const double end_jd)
 

Detailed Description

JPL Ephemeris Support header file.

Macro Definition Documentation

#define DLL_FUNC