Exemple #1
0
 public void Reset()
 {
     fidat   = Enumerable.Range(0, SEI_NEPHFILES).Select(i => new file_data()).ToArray();
     savedat = Enumerable.Range(0, SwissEph.SE_NPLANETS + 1).Select(i => new save_positions()).ToArray();
     pldat   = Enumerable.Range(0, SEI_NPLANETS).Select(i => new plan_data()).ToArray();
     nddat   = Enumerable.Range(0, SEI_NNODE_ETC).Select(i => new plan_data()).ToArray();
     topd    = new topo_data();
     dpsi    = new double[36525];
     deps    = new double[36525];
     nut     = new nut();
     nut2000 = new nut();
     nutv    = new nut();
     oec     = new epsilon();
     oec2000 = new epsilon();
 }
Exemple #2
0
 public void Reset(bool full)
 {
     if (full)
     {
         fidat   = Enumerable.Range(0, SEI_NEPHFILES).Select(i => new file_data()).ToArray();
         savedat = Enumerable.Range(0, SwissEph.SE_NPLANETS + 1).Select(i => new save_positions()).ToArray();
         pldat   = Enumerable.Range(0, SEI_NPLANETS).Select(i => new plan_data()).ToArray();
         nddat   = Enumerable.Range(0, SEI_NNODE_ETC).Select(i => new plan_data()).ToArray();
         topd    = new topo_data();
         //dpsi = new double[36525];
         //deps = new double[36525];
         astro_models = new Int32[Sweph.SEI_NMODELS];
     }
     oec     = new epsilon();
     oec2000 = new epsilon();
     nut     = new nut();
     nut2000 = new nut();
     nutv    = new nut();
 }
Exemple #3
0
 public void Reset(bool full)
 {
     if (full)
     {
         fidat = Enumerable.Range(0, SEI_NEPHFILES).Select(i => new file_data()).ToArray();
         savedat = Enumerable.Range(0, SwissEph.SE_NPLANETS + 1).Select(i => new save_positions()).ToArray();
         pldat = Enumerable.Range(0, SEI_NPLANETS).Select(i => new plan_data()).ToArray();
         nddat = Enumerable.Range(0, SEI_NNODE_ETC).Select(i => new plan_data()).ToArray();
         topd = new topo_data();
         //dpsi = new double[36525];
         //deps = new double[36525];
         astro_models = new Int32[Sweph.SEI_NMODELS];
     }
     oec = new epsilon();
     oec2000 = new epsilon();
     nut = new nut();
     nut2000 = new nut();
     nutv = new nut();
 }