Class OceanTidesWave
- java.lang.Object
-
- org.orekit.forces.gravity.potential.OceanTidesWave
-
public class OceanTidesWave extends Object
Container for ocen tides coefficients for one tide wave.- Since:
- 6.1
- Author:
- Luc Maisonobe
- See Also:
OceanTides,OceanTidesReader
-
-
Constructor Summary
Constructors Constructor Description OceanTidesWave(int doodson, int degree, int order, double[][][] coefficients)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContribution(BodiesElements elements, double[][] cnm, double[][] snm)Add the contribution of the wave to Stokes coefficients.intgetDoodson()Get the Doodson number for the wave.intgetMaxDegree()Get the maximum supported degree.intgetMaxOrder()Get the maximum supported order.
-
-
-
Constructor Detail
-
OceanTidesWave
public OceanTidesWave(int doodson, int degree, int order, double[][][] coefficients)Simple constructor.- Parameters:
doodson- Doodson number for the wavedegree- max degree present in the coefficients arrayorder- max order present in the coefficients arraycoefficients- Cn,m+, Sn,m+, Cn,m- and Sn,m- coefficients
-
-
Method Detail
-
getMaxDegree
public int getMaxDegree()
Get the maximum supported degree.- Returns:
- maximum supported degree
-
getMaxOrder
public int getMaxOrder()
Get the maximum supported order.- Returns:
- maximum supported order
-
getDoodson
public int getDoodson()
Get the Doodson number for the wave.- Returns:
- Doodson number for the wave
-
addContribution
public void addContribution(BodiesElements elements, double[][] cnm, double[][] snm)
Add the contribution of the wave to Stokes coefficients.- Parameters:
elements- nutation elementscnm- spherical harmonic cosine coefficients table to add contribution toosnm- spherical harmonic sine coefficients table to add contribution too
-
-