fr.cnes.sirius.patrius.stela.forces
Class AbstractStelaLagrangeContribution

java.lang.Object
  extended by fr.cnes.sirius.patrius.stela.forces.AbstractStelaLagrangeContribution
All Implemented Interfaces:
StelaForceModel
Direct Known Subclasses:
SolidTidesAcc, SRPPotential, StelaTesseralAttraction, StelaThirdBodyAttraction, StelaZonalAttraction

public abstract class AbstractStelaLagrangeContribution
extends Object
implements StelaForceModel

This abstract class represents a force with Lagrange attribute, to be used in a StelaGTOPropagator.

Since:
1.3
Version:
$Id: AbstractStelaLagrangeContribution.java 17584 2017-05-10 13:26:39Z bignon $
Author:
Cédric Dental
Concurrency :
immutable

Field Summary
protected  double[] dPot
          Value of the potential derivative
 
Constructor Summary
AbstractStelaLagrangeContribution()
          Constructor of the class
 
Method Summary
abstract  double[] computePerturbation(StelaEquinoctialOrbit orbit)
          Compute the dE/dt force derivatives for a given spacecraft state.
 double[] getdPot()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.cnes.sirius.patrius.stela.forces.StelaForceModel
computePartialDerivatives, computeShortPeriods
 

Field Detail

dPot

protected double[] dPot
Value of the potential derivative

Constructor Detail

AbstractStelaLagrangeContribution

public AbstractStelaLagrangeContribution()
Constructor of the class

Method Detail

getType

public String getType()
Specified by:
getType in interface StelaForceModel
Returns:
the type

getdPot

public double[] getdPot()
Returns:
the dPot

computePerturbation

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

Parameters:
orbit - current orbit information: date, kinematics
Returns:
the perturbation dE/dt for the current force
Throws:
OrekitException - if perturbation computation fails


Copyright © 2017 CNES. All Rights Reserved.