org.orekit.forces.gravity.tides.coefficients
Class OceanTidesCoefficientsSet

java.lang.Object
  extended by org.orekit.forces.gravity.tides.coefficients.OceanTidesCoefficientsSet

public final class OceanTidesCoefficientsSet
extends Object

Represents a line from the ocean tides data file.
The proper way to use this it to call the getCoefficientProvider method. Indeed, the OceanTidesCoefficientsFactory will determine the best reader to use, depending on file available in the file system.

Since:
1.2
Version:
$Id: OceanTidesCoefficientsSet.java 13433 2015-05-19 12:04:49Z trapier $
Author:
Rami Houdroge
Concurrency :
immutable

Constructor Summary
OceanTidesCoefficientsSet(double nDoodson, int degree, int order, double cslmp, double cclmp, double cslmm, double cclmm, double clmp, double elmp, double clmm, double elmm)
          Constructor.
 
Method Summary
 double code()
          Get a hashcode for this set.
static double computeCode(double doodson, int l, int m)
          Computes code of data set.
 double getCcm()
           
 double getCcp()
           
 double getCm()
           
 double getCp()
           
 double getCsm()
           
 double getCsp()
           
 int getDegree()
           
 double getDoodson()
           
 double getEm()
           
 double getEp()
           
 int getOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OceanTidesCoefficientsSet

public OceanTidesCoefficientsSet(double nDoodson,
                                 int degree,
                                 int order,
                                 double cslmp,
                                 double cclmp,
                                 double cslmm,
                                 double cclmm,
                                 double clmp,
                                 double elmp,
                                 double clmm,
                                 double elmm)
Constructor. Create new OceanTidesCoefficientsSet from line of file

Parameters:
nDoodson - doodson number
degree - degree
order - order
cslmp - Csinlm+
cclmp - Ccoslm+
cslmm - Csinlm-
cclmm - Ccoslm-
clmp - Clm+
elmp - εlm+
clmm - Clm-
elmm - εlm-
Method Detail

getDoodson

public double getDoodson()
Returns:
the doodson number

getDegree

public int getDegree()
Returns:
the degree

getOrder

public int getOrder()
Returns:
the order

getCcp

public double getCcp()
Returns:
Clm+

getCcm

public double getCcm()
Returns:
Clm-

getCsp

public double getCsp()
Returns:
Slm+

getCsm

public double getCsm()
Returns:
Slm-

getCp

public double getCp()
Returns:
Clm+

getCm

public double getCm()
Returns:
Clm-

getEp

public double getEp()
Returns:
εlm+

getEm

public double getEm()
Returns:
εlm-

code

public double code()
Get a hashcode for this set.

Returns:
hashcode

computeCode

public static double computeCode(double doodson,
                                 int l,
                                 int m)
Computes code of data set. Assigns a unique Integer to a OceanTidesCoefficientsSet depending on Doodson number, degree and order.

Parameters:
doodson - doodson number
l - degree
m - order
Returns:
code


Copyright © 2016 CNES. All Rights Reserved.