BodiesElements.java

  1. /* Copyright 2002-2025 CS GROUP
  2.  * Licensed to CS GROUP (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.orekit.time.AbsoluteDate;

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

  25.     /** Mean Mercury longitude. */
  26.     private final double lMe;

  27.     /** Mean Mercury longitude time derivative. */
  28.     private final double lMeDot;

  29.     /** Mean Venus longitude. */
  30.     private final double lVe;

  31.     /** Mean Venus longitude time derivative. */
  32.     private final double lVeDot;

  33.     /** Mean Earth longitude. */
  34.     private final double lE;

  35.     /** Mean Earth longitude time derivative. */
  36.     private final double lEDot;

  37.     /** Mean Mars longitude. */
  38.     private final double lMa;

  39.     /** Mean Mars longitude time derivative. */
  40.     private final double lMaDot;

  41.     /** Mean Jupiter longitude. */
  42.     private final double lJu;

  43.     /** Mean Jupiter longitude time derivative. */
  44.     private final double lJuDot;

  45.     /** Mean Saturn longitude. */
  46.     private final double lSa;

  47.     /** Mean Saturn longitude time derivative. */
  48.     private final double lSaDot;

  49.     /** Mean Uranus longitude. */
  50.     private final double lUr;

  51.     /** Mean Uranus longitude time derivative. */
  52.     private final double lUrDot;

  53.     /** Mean Neptune longitude. */
  54.     private final double lNe;

  55.     /** Mean Neptune longitude time derivative. */
  56.     private final double lNeDot;

  57.     /** General accumulated precession in longitude. */
  58.     private final double pa;

  59.     /** General accumulated precession in longitude time derivative. */
  60.     private final double paDot;

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

  124.     /** Get the mean Mercury longitude.
  125.      * @return mean Mercury longitude.
  126.      */
  127.     public double getLMe() {
  128.         return lMe;
  129.     }

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

  136.     /** Get the mean Venus longitude.
  137.      * @return mean Venus longitude. */
  138.     public double getLVe() {
  139.         return lVe;
  140.     }

  141.     /** Get the mean Venus longitude time derivative.
  142.      * @return mean Venus longitude time derivative. */
  143.     public double getLVeDot() {
  144.         return lVeDot;
  145.     }

  146.     /** Get the mean Earth longitude.
  147.      * @return mean Earth longitude. */
  148.     public double getLE() {
  149.         return lE;
  150.     }

  151.     /** Get the mean Earth longitude time derivative.
  152.      * @return mean Earth longitude time derivative. */
  153.     public double getLEDot() {
  154.         return lEDot;
  155.     }

  156.     /** Get the mean Mars longitude.
  157.      * @return mean Mars longitude. */
  158.     public double getLMa() {
  159.         return lMa;
  160.     }

  161.     /** Get the mean Mars longitude time derivative.
  162.      * @return mean Mars longitude time derivative. */
  163.     public double getLMaDot() {
  164.         return lMaDot;
  165.     }

  166.     /** Get the mean Jupiter longitude.
  167.      * @return mean Jupiter longitude. */
  168.     public double getLJu() {
  169.         return lJu;
  170.     }

  171.     /** Get the mean Jupiter longitude time derivative.
  172.      * @return mean Jupiter longitude time derivative. */
  173.     public double getLJuDot() {
  174.         return lJuDot;
  175.     }

  176.     /** Get the mean Saturn longitude.
  177.      * @return mean Saturn longitude. */
  178.     public double getLSa() {
  179.         return lSa;
  180.     }

  181.     /** Get the mean Saturn longitude time derivative.
  182.      * @return mean Saturn longitude time derivative. */
  183.     public double getLSaDot() {
  184.         return lSaDot;
  185.     }

  186.     /** Get the mean Uranus longitude.
  187.      * @return mean Uranus longitude. */
  188.     public double getLUr() {
  189.         return lUr;
  190.     }

  191.     /** Get the mean Uranus longitude time derivative.
  192.      * @return mean Uranus longitude time derivative. */
  193.     public double getLUrDot() {
  194.         return lUrDot;
  195.     }

  196.     /** Get the mean Neptune longitude.
  197.      * @return mean Neptune longitude. */
  198.     public double getLNe() {
  199.         return lNe;
  200.     }

  201.     /** Get the mean Neptune longitude time derivative.
  202.      * @return mean Neptune longitude time derivative. */
  203.     public double getLNeDot() {
  204.         return lNeDot;
  205.     }

  206.     /** Get the general accumulated precession in longitude.
  207.      * @return general accumulated precession in longitude. */
  208.     public double getPa() {
  209.         return pa;
  210.     }

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

  216. }