BodiesElements.java

  1. /* Copyright 2002-2018 CS Systèmes d'Information
  2.  * Licensed to CS Systèmes d'Information (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */
  17. package org.orekit.data;

  18. import java.io.Serializable;

  19. import org.orekit.time.AbsoluteDate;

  20. /** Elements of the bodies having an effect on nutation.
  21.  * <p>This class is a simple placeholder,
  22.  * it does not provide any processing method.</p>
  23.  * @author Luc Maisonobe
  24.  */
  25. public final class BodiesElements extends  DelaunayArguments implements Serializable {

  26.     /** Serializable UID. */
  27.     private static final long serialVersionUID = 20170106L;

  28.     /** Mean Mercury longitude. */
  29.     private final double lMe;

  30.     /** Mean Mercury longitude time derivative. */
  31.     private final double lMeDot;

  32.     /** Mean Venus longitude. */
  33.     private final double lVe;

  34.     /** Mean Venus longitude time derivative. */
  35.     private final double lVeDot;

  36.     /** Mean Earth longitude. */
  37.     private final double lE;

  38.     /** Mean Earth longitude time derivative. */
  39.     private final double lEDot;

  40.     /** Mean Mars longitude. */
  41.     private final double lMa;

  42.     /** Mean Mars longitude time derivative. */
  43.     private final double lMaDot;

  44.     /** Mean Jupiter longitude. */
  45.     private final double lJu;

  46.     /** Mean Jupiter longitude time derivative. */
  47.     private final double lJuDot;

  48.     /** Mean Saturn longitude. */
  49.     private final double lSa;

  50.     /** Mean Saturn longitude time derivative. */
  51.     private final double lSaDot;

  52.     /** Mean Uranus longitude. */
  53.     private final double lUr;

  54.     /** Mean Uranus longitude time derivative. */
  55.     private final double lUrDot;

  56.     /** Mean Neptune longitude. */
  57.     private final double lNe;

  58.     /** Mean Neptune longitude time derivative. */
  59.     private final double lNeDot;

  60.     /** General accumulated precession in longitude. */
  61.     private final double pa;

  62.     /** General accumulated precession in longitude time derivative. */
  63.     private final double paDot;

  64.     /** Simple constructor.
  65.      * @param date current date
  66.      * @param tc offset in Julian centuries
  67.      * @param gamma tide parameter γ = GMST + π
  68.      * @param gammaDot tide parameter γ = GMST + π time derivative
  69.      * @param l mean anomaly of the Moon
  70.      * @param lDot mean anomaly of the Moon time derivative
  71.      * @param lPrime mean anomaly of the Sun
  72.      * @param lPrimeDot mean anomaly of the Sun time derivative
  73.      * @param f L - Ω where L is the mean longitude of the Moon
  74.      * @param fDot L - Ω where L is the mean longitude of the Moon time derivative
  75.      * @param d mean elongation of the Moon from the Sun
  76.      * @param dDot mean elongation of the Moon from the Sun time derivative
  77.      * @param omega mean longitude of the ascending node of the Moon
  78.      * @param omegaDot mean longitude of the ascending node of the Moon time derivative
  79.      * @param lMe mean Mercury longitude
  80.      * @param lMeDot mean Mercury longitude time derivative
  81.      * @param lVe mean Venus longitude
  82.      * @param lVeDot mean Venus longitude time derivative
  83.      * @param lE mean Earth longitude
  84.      * @param lEDot mean Earth longitude time derivative
  85.      * @param lMa mean Mars longitude
  86.      * @param lMaDot mean Mars longitude time derivative
  87.      * @param lJu mean Jupiter longitude
  88.      * @param lJuDot mean Jupiter longitude time derivative
  89.      * @param lSa mean Saturn longitude
  90.      * @param lSaDot mean Saturn longitude time derivative
  91.      * @param lUr mean Uranus longitude
  92.      * @param lUrDot mean Uranus longitude time derivative
  93.      * @param lNe mean Neptune longitude
  94.      * @param lNeDot mean Neptune longitude time derivative
  95.      * @param pa general accumulated precession in longitude
  96.      * @param paDot general accumulated precession in longitude time derivative
  97.      */
  98.     public BodiesElements(final AbsoluteDate date, final double tc, final double gamma, final double gammaDot,
  99.                           final double l, final double lDot, final double lPrime, final double lPrimeDot,
  100.                           final double f, final double fDot, final double d, final double dDot,
  101.                           final double omega, final double omegaDot,
  102.                           final double lMe, final double lMeDot, final double lVe, final double lVeDot,
  103.                           final double lE, final double lEDot, final double lMa, final double lMaDot,
  104.                           final double lJu, final double lJuDot, final double lSa, final double lSaDot,
  105.                           final double lUr, final double lUrDot, final double lNe, final double lNeDot,
  106.                           final double pa, final double paDot) {
  107.         super(date, tc, gamma, gammaDot, l, lDot, lPrime, lPrimeDot, f, fDot, d, dDot, omega, omegaDot);
  108.         this.lMe    = lMe;
  109.         this.lMeDot = lMeDot;
  110.         this.lVe    = lVe;
  111.         this.lVeDot = lVeDot;
  112.         this.lE     = lE;
  113.         this.lEDot  = lEDot;
  114.         this.lMa    = lMa;
  115.         this.lMaDot = lMaDot;
  116.         this.lJu    = lJu;
  117.         this.lJuDot = lJuDot;
  118.         this.lSa    = lSa;
  119.         this.lSaDot = lSaDot;
  120.         this.lUr    = lUr;
  121.         this.lUrDot = lUrDot;
  122.         this.lNe    = lNe;
  123.         this.lNeDot = lNeDot;
  124.         this.pa     = pa;
  125.         this.paDot  = paDot;
  126.     }

  127.     /** Get the mean Mercury longitude.
  128.      * @return mean Mercury longitude.
  129.      */
  130.     public double getLMe() {
  131.         return lMe;
  132.     }

  133.     /** Get the mean Mercury longitude time derivative.
  134.      * @return mean Mercury longitude time derivative.
  135.      */
  136.     public double getLMeDot() {
  137.         return lMeDot;
  138.     }

  139.     /** Get the mean Venus longitude.
  140.      * @return mean Venus longitude. */
  141.     public double getLVe() {
  142.         return lVe;
  143.     }

  144.     /** Get the mean Venus longitude time derivative.
  145.      * @return mean Venus longitude time derivative. */
  146.     public double getLVeDot() {
  147.         return lVeDot;
  148.     }

  149.     /** Get the mean Earth longitude.
  150.      * @return mean Earth longitude. */
  151.     public double getLE() {
  152.         return lE;
  153.     }

  154.     /** Get the mean Earth longitude time derivative.
  155.      * @return mean Earth longitude time derivative. */
  156.     public double getLEDot() {
  157.         return lEDot;
  158.     }

  159.     /** Get the mean Mars longitude.
  160.      * @return mean Mars longitude. */
  161.     public double getLMa() {
  162.         return lMa;
  163.     }

  164.     /** Get the mean Mars longitude time derivative.
  165.      * @return mean Mars longitude time derivative. */
  166.     public double getLMaDot() {
  167.         return lMaDot;
  168.     }

  169.     /** Get the mean Jupiter longitude.
  170.      * @return mean Jupiter longitude. */
  171.     public double getLJu() {
  172.         return lJu;
  173.     }

  174.     /** Get the mean Jupiter longitude time derivative.
  175.      * @return mean Jupiter longitude time derivative. */
  176.     public double getLJuDot() {
  177.         return lJuDot;
  178.     }

  179.     /** Get the mean Saturn longitude.
  180.      * @return mean Saturn longitude. */
  181.     public double getLSa() {
  182.         return lSa;
  183.     }

  184.     /** Get the mean Saturn longitude time derivative.
  185.      * @return mean Saturn longitude time derivative. */
  186.     public double getLSaDot() {
  187.         return lSaDot;
  188.     }

  189.     /** Get the mean Uranus longitude.
  190.      * @return mean Uranus longitude. */
  191.     public double getLUr() {
  192.         return lUr;
  193.     }

  194.     /** Get the mean Uranus longitude time derivative.
  195.      * @return mean Uranus longitude time derivative. */
  196.     public double getLUrDot() {
  197.         return lUrDot;
  198.     }

  199.     /** Get the mean Neptune longitude.
  200.      * @return mean Neptune longitude. */
  201.     public double getLNe() {
  202.         return lNe;
  203.     }

  204.     /** Get the mean Neptune longitude time derivative.
  205.      * @return mean Neptune longitude time derivative. */
  206.     public double getLNeDot() {
  207.         return lNeDot;
  208.     }

  209.     /** Get the general accumulated precession in longitude.
  210.      * @return general accumulated precession in longitude. */
  211.     public double getPa() {
  212.         return pa;
  213.     }

  214.     /** Get the general accumulated precession in longitude time derivative.
  215.      * @return general accumulated precession in longitude time derivative. */
  216.     public double getPaDot() {
  217.         return paDot;
  218.     }

  219. }