fr.cnes.sirius.patrius.stela.forces.gravity
Class StelaTesseralAttraction

java.lang.Object
  extended by fr.cnes.sirius.patrius.stela.forces.AbstractStelaLagrangeContribution
      extended by fr.cnes.sirius.patrius.stela.forces.gravity.StelaTesseralAttraction
All Implemented Interfaces:
StelaForceModel

public final class StelaTesseralAttraction
extends AbstractStelaLagrangeContribution

This class represent the tesseral perturbations

Since:
1.3
Version:
$Id: StelaTesseralAttraction.java 12501 2015-03-05 15:47:35Z bignon $
Author:
Rami Houdroge
Concurrency :
not thread-safe
Concurrency comment :
not thread-safe due to use of mutable attributes

Field Summary
 
Fields inherited from class fr.cnes.sirius.patrius.stela.forces.AbstractStelaLagrangeContribution
dPot
 
Constructor Summary
StelaTesseralAttraction(PotentialCoefficientsProvider provider)
          Constructor.
StelaTesseralAttraction(PotentialCoefficientsProvider provider, int tesseralOrder, int qMax, double step, int nStep)
          Constructor.
 
Method Summary
 double[][] computePartialDerivatives(StelaEquinoctialOrbit orbit)
          Compute the partial derivatives for a given spacecraft state.
 double[] computePerturbation(StelaEquinoctialOrbit orbit)
          Compute the dE/dt force derivatives for a given spacecraft state.
 double[] computeShortPeriods(StelaEquinoctialOrbit orbit)
          Compute the short periodic variations for a given spacecraft state.
 List<TesseralQuad> getQuadsList()
          Getter for the quad list.
 void updateQuads(Orbit orbit)
          Compute quads (n, m, p, q).
 
Methods inherited from class fr.cnes.sirius.patrius.stela.forces.AbstractStelaLagrangeContribution
getdPot, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StelaTesseralAttraction

public StelaTesseralAttraction(PotentialCoefficientsProvider provider)
Constructor.

Parameters:
provider - potential coefficients provider

StelaTesseralAttraction

public StelaTesseralAttraction(PotentialCoefficientsProvider provider,
                               int tesseralOrder,
                               int qMax,
                               double step,
                               int nStep)
Constructor.

Parameters:
provider - potential coefficients provider
tesseralOrder - the max order in the Kaula developpement
qMax - the maximum value of Q in the Kaula formulation
step - integration step
nStep - number of integration step
Method Detail

computePerturbation

public double[] computePerturbation(StelaEquinoctialOrbit orbit)
                             throws OrekitException
Compute the dE/dt force derivatives for a given spacecraft state.

Specified by:
computePerturbation in class AbstractStelaLagrangeContribution
Parameters:
orbit - current orbit information: date, kinematics
Returns:
the perturbation dE/dt for the current force
Throws:
OrekitException - if perturbation computation fails

updateQuads

public void updateQuads(Orbit orbit)
Compute quads (n, m, p, q).

Parameters:
orbit - orbit

computeShortPeriods

public double[] computeShortPeriods(StelaEquinoctialOrbit orbit)
                             throws OrekitException
Compute the short periodic variations for a given spacecraft state.

Parameters:
orbit - current orbit information: date, kinematics
Returns:
the short periodic variations of the current force
Throws:
OrekitException - if short periods computation fails

computePartialDerivatives

public double[][] computePartialDerivatives(StelaEquinoctialOrbit orbit)
                                     throws OrekitException
Compute the partial derivatives for a given spacecraft state.

Parameters:
orbit - current orbit information: date, kinematics
Returns:
the partial derivatives of the current force
Throws:
OrekitException - if partial derivatives computation fails

getQuadsList

public List<TesseralQuad> getQuadsList()
Getter for the quad list.

Returns:
the quadsList


Copyright © 2016 CNES. All Rights Reserved.