~ubuntu-branches/ubuntu/warty/xplanet/warty

« back to all changes in this revision

Viewing changes to src/libplanet/libephemeris/jpl_int.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:14:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040824071400-2dr4qnjbjmm8z3ia
Tags: 1.0.6-1ubuntu1
Build-depend: libtiff4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Right now,  DEs 403 and 405 have the maximum kernel size,  of 2036.    */
 
2
/* This value may need to be updated the next time JPL releases a new DE: */
 
3
 
 
4
#define MAX_KERNEL_SIZE 2036
 
5
 
 
6
/***** THERE IS NO NEED TO MODIFY THE REST OF THIS SOURCE (I hope) *********/
 
7
 
 
8
 
 
9
            /* A JPL binary ephemeris header contains five doubles and */
 
10
            /* (up to) 41 long integers,  so:                          */
 
11
#define JPL_HEADER_SIZE (5 * sizeof( double) + 41 * sizeof( long))
 
12
 
 
13
#pragma pack(1)
 
14
 
 
15
struct jpl_eph_data {
 
16
   double ephem_start, ephem_end, ephem_step;
 
17
   long ncon;
 
18
   double au;
 
19
   double emrat;
 
20
   long ipt[13][3];
 
21
   long ephemeris_version;
 
22
   long kernel_size, recsize, ncoeff;
 
23
   long swap_bytes;
 
24
   long curr_cache_loc;
 
25
   double pvsun[6];
 
26
   double *cache;
 
27
   void *iinfo;
 
28
   FILE *ifile;
 
29
   };
 
30
 
 
31
struct interpolation_info
 
32
   {
 
33
   double pc[18],vc[18], twot;
 
34
   int np, nv;
 
35
   };
 
36
 
 
37
#pragma pack()