public class StelaPartialDerivativesEquations extends Object implements StelaAdditionalEquations
additional equations
computing the partial
derivatives of the state (orbit) with respect to initial state.Constructor and Description |
---|
StelaPartialDerivativesEquations(List<AbstractStelaGaussContribution> forcesG,
List<AbstractStelaLagrangeContribution> forcesL,
int recomputeStepIn,
StelaGTOPropagator inStelaPropagator)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
SpacecraftState |
addInitialAdditionalState(SpacecraftState state) |
void |
computeDerivatives(StelaEquinoctialOrbit orbit,
double[] p,
double[] pDot)
Compute the derivatives related to the additional state parameters.
|
Map<StelaForceModel,double[][]> |
getDerivatives()
Returns derivatives map
|
int |
getEquationsDimension() |
double[][] |
getMeanMotion()
Returns mean motion from state transition matrix.
|
String |
getName()
Get the name of the additional state.
|
void |
updateStepCounter()
update step counter
|
public StelaPartialDerivativesEquations(List<AbstractStelaGaussContribution> forcesG, List<AbstractStelaLagrangeContribution> forcesL, int recomputeStepIn, StelaGTOPropagator inStelaPropagator)
forcesG
- the list of Gauss forces associated to the propagatorforcesL
- the list of Lagrange forces associated to the propagatorrecomputeStepIn
- recompute every recomputeStepIn stepsinStelaPropagator
- Stela propagatorpublic int getEquationsDimension()
getEquationsDimension
in interface StelaAdditionalEquations
public String getName()
getName
in interface StelaAdditionalEquations
public void computeDerivatives(StelaEquinoctialOrbit orbit, double[] p, double[] pDot) throws PatriusException
computeDerivatives
in interface StelaAdditionalEquations
orbit
- current orbit information: date, kinematicsp
- current value of the additional parameterspDot
- placeholder where the derivatives of the additional parameters
should be putPatriusException
- if some specific error occurspublic Map<StelaForceModel,double[][]> getDerivatives()
public double[][] getMeanMotion()
public void updateStepCounter()
public SpacecraftState addInitialAdditionalState(SpacecraftState state) throws PatriusException
addInitialAdditionalState
in interface StelaAdditionalEquations
state
- before adding additional statePatriusException
- should not happenCopyright © 2023 CNES. All rights reserved.