public class DSSTJacobiansMapper extends AbstractJacobiansMapper
additional state arrays
.
This class does not hold the states by itself. Instances of this class are guaranteed to be immutable.
DSSTPartialDerivativesEquations
,
DSSTPropagator
,
SpacecraftState.getAdditionalState(String)
,
AbstractPropagator
Modifier and Type | Field and Description |
---|---|
static int |
STATE_DIMENSION
State dimension, fixed to 6.
|
Modifier and Type | Method and Description |
---|---|
int |
getAdditionalStateDimension()
Compute the length of the one-dimensional additional state array needed.
|
protected double[][] |
getConversionJacobian(SpacecraftState state)
Get the conversion Jacobian between state parameters and parameters used for derivatives.
|
void |
getParametersJacobian(SpacecraftState state,
double[][] dYdP)
Get the Jacobian with respect to parameters from a one-dimensional additional state array.
|
void |
getStateJacobian(SpacecraftState state,
double[][] dYdY0)
Get the Jacobian with respect to state from a one-dimensional additional state array.
|
void |
setInitialJacobians(SpacecraftState state,
double[][] dY1dY0,
double[][] dY1dP,
double[] p)
Set the Jacobian with respect to state into a one-dimensional additional state array.
|
void |
setShortPeriodJacobians(SpacecraftState s)
Compute the derivatives of the short period terms related to the additional state parameters.
|
getName, getParameters
public static final int STATE_DIMENSION
protected double[][] getConversionJacobian(SpacecraftState state)
For a DSST propagator
, state parameters and parameters used for derivatives are the same,
so the Jocabian is simply the identity.
For Numerical propagator
, parameters used for derivatives are cartesian
and they can be different from state parameters because the numerical propagator can accept different type
of orbits.
getConversionJacobian
in class AbstractJacobiansMapper
state
- spacecraft statepublic void setInitialJacobians(SpacecraftState state, double[][] dY1dY0, double[][] dY1dP, double[] p)
setInitialJacobians
in class AbstractJacobiansMapper
state
- spacecraft statedY1dY0
- Jacobian of current state at time t₁
with respect to state at some previous time t₀dY1dP
- Jacobian of current state at time t₁
with respect to parameters (may be null if there are no parameters)p
- placeholder where to put the one-dimensional additional stateAbstractJacobiansMapper.getStateJacobian(SpacecraftState, double[][])
public void getStateJacobian(SpacecraftState state, double[][] dYdY0)
This method extract the data from the state
and put it in the
dYdY0
array.
getStateJacobian
in class AbstractJacobiansMapper
state
- spacecraft statedYdY0
- placeholder where to put the Jacobian with respect to stateAbstractJacobiansMapper.getParametersJacobian(SpacecraftState, double[][])
public void getParametersJacobian(SpacecraftState state, double[][] dYdP)
This method extract the data from the state
and put it in the
dYdP
array.
If no parameters have been set in the constructor, the method returns immediately and
does not reference dYdP
which can safely be null in this case.
getParametersJacobian
in class AbstractJacobiansMapper
state
- spacecraft statedYdP
- placeholder where to put the Jacobian with respect to parametersAbstractJacobiansMapper.getStateJacobian(SpacecraftState, double[][])
public int getAdditionalStateDimension()
getAdditionalStateDimension
in class AbstractJacobiansMapper
public void setShortPeriodJacobians(SpacecraftState s)
s
- Current state information: date, kinematics, attitude, and additional stateCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.