1 /* Copyright 2002-2013 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 19 import java.io.Serializable; 20 21 import org.orekit.time.AbsoluteDate; 22 23 /** Elements of the bodies having an effect on nutation. 24 * <p>This class is a simple placeholder, 25 * it does not provide any processing method.</p> 26 * @author Luc Maisonobe 27 */ 28 public final class BodiesElements extends DelaunayArguments implements Serializable { 29 30 /** Serializable UID. */ 31 private static final long serialVersionUID = 20130418L; 32 33 /** Mean Mercury longitude. */ 34 private final double lMe; 35 36 /** Mean Venus longitude. */ 37 private final double lVe; 38 39 /** Mean Earth longitude. */ 40 private final double lE; 41 42 /** Mean Mars longitude. */ 43 private final double lMa; 44 45 /** Mean Jupiter longitude. */ 46 private final double lJu; 47 48 /** Mean Saturn longitude. */ 49 private final double lSa; 50 51 /** Mean Uranus longitude. */ 52 private final double lUr; 53 54 /** Mean Neptune longitude. */ 55 private final double lNe; 56 57 /** General accumulated precession in longitude. */ 58 private final double pa; 59 60 /** Simple constructor. 61 * @param date current date 62 * @param tc offset in Julian centuries 63 * @param gamma tide parameter γ = GMST + π 64 * @param l mean anomaly of the Moon 65 * @param lPrime mean anomaly of the Sun 66 * @param f L - Ω where L is the mean longitude of the Moon 67 * @param d mean elongation of the Moon from the Sun 68 * @param omega mean longitude of the ascending node of the Moon 69 * @param lMe mean Mercury longitude 70 * @param lVe mean Venus longitude 71 * @param lE mean Earth longitude 72 * @param lMa mean Mars longitude 73 * @param lJu mean Jupiter longitude 74 * @param lSa mean Saturn longitude 75 * @param lUr mean Uranus longitude 76 * @param lNe mean Neptune longitude 77 * @param pa general accumulated precession in longitude 78 */ 79 public BodiesElements(final AbsoluteDate date, final double tc, final double gamma, 80 final double l, final double lPrime, final double f, final double d, final double omega, 81 final double lMe, final double lVe, final double lE, final double lMa, final double lJu, 82 final double lSa, final double lUr, final double lNe, final double pa) { 83 super(date, tc, gamma, l, lPrime, f, d, omega); 84 this.lMe = lMe; 85 this.lVe = lVe; 86 this.lE = lE; 87 this.lMa = lMa; 88 this.lJu = lJu; 89 this.lSa = lSa; 90 this.lUr = lUr; 91 this.lNe = lNe; 92 this.pa = pa; 93 } 94 95 /** Get the mean Mercury longitude. 96 * @return mean Mercury longitude. 97 */ 98 public double getLMe() { 99 return lMe; 100 } 101 102 /** Get the mean Venus longitude. 103 * @return mean Venus longitude. */ 104 public double getLVe() { 105 return lVe; 106 } 107 108 /** Get the mean Earth longitude. 109 * @return mean Earth longitude. */ 110 public double getLE() { 111 return lE; 112 } 113 114 /** Get the mean Mars longitude. 115 * @return mean Mars longitude. */ 116 public double getLMa() { 117 return lMa; 118 } 119 120 /** Get the mean Jupiter longitude. 121 * @return mean Jupiter longitude. */ 122 public double getLJu() { 123 return lJu; 124 } 125 126 /** Get the mean Saturn longitude. 127 * @return mean Saturn longitude. */ 128 public double getLSa() { 129 return lSa; 130 } 131 132 /** Get the mean Uranus longitude. 133 * @return mean Uranus longitude. */ 134 public double getLUr() { 135 return lUr; 136 } 137 138 /** Get the mean Neptune longitude. 139 * @return mean Neptune longitude. */ 140 public double getLNe() { 141 return lNe; 142 } 143 144 /** Get the general accumulated precession in longitude. 145 * @return general accumulated precession in longitude. */ 146 public double getPa() { 147 return pa; 148 } 149 150 }