FieldBodiesElements.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 org.hipparchus.RealFieldElement;
  19. import org.orekit.time.FieldAbsoluteDate;

  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.  * @param <T> the type of the field elements
  24.  * @see BodiesElements
  25.  * @author Luc Maisonobe
  26.  * @since 6.1
  27.  */
  28. public final class FieldBodiesElements<T extends RealFieldElement<T>> extends  FieldDelaunayArguments<T> {

  29.     /** Mean Mercury longitude. */
  30.     private final T lMe;

  31.     /** Mean Mercury longitude time derivative. */
  32.     private final T lMeDot;

  33.     /** Mean Venus longitude. */
  34.     private final T lVe;

  35.     /** Mean Venus longitude time derivative. */
  36.     private final T lVeDot;

  37.     /** Mean Earth longitude. */
  38.     private final T lE;

  39.     /** Mean Earth longitude time derivative. */
  40.     private final T lEDot;

  41.     /** Mean Mars longitude. */
  42.     private final T lMa;

  43.     /** Mean Mars longitude time derivative. */
  44.     private final T lMaDot;

  45.     /** Mean Jupiter longitude. */
  46.     private final T lJu;

  47.     /** Mean Jupiter longitude time derivative. */
  48.     private final T lJuDot;

  49.     /** Mean Saturn longitude. */
  50.     private final T lSa;

  51.     /** Mean Saturn longitude time derivative. */
  52.     private final T lSaDot;

  53.     /** Mean Uranus longitude. */
  54.     private final T lUr;

  55.     /** Mean Uranus longitude time derivative. */
  56.     private final T lUrDot;

  57.     /** Mean Neptune longitude. */
  58.     private final T lNe;

  59.     /** Mean Neptune longitude time derivative. */
  60.     private final T lNeDot;

  61.     /** General accumulated precession in longitude. */
  62.     private final T pa;

  63.     /** General accumulated precession in longitude time derivative. */
  64.     private final T paDot;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  220. }