Package org.orekit.propagation.numerical
Class JacobiansMapper
- java.lang.Object
-
- org.orekit.propagation.numerical.JacobiansMapper
-
public class JacobiansMapper extends Object
Mapper between two-dimensional Jacobian matrices and one-dimensionaladditional state arrays
.This class does not hold the states by itself. Instances of this class are guaranteed to be immutable.
- Author:
- Luc Maisonobe
- See Also:
PartialDerivativesEquations
,NumericalPropagator
,SpacecraftState.getAdditionalState(String)
,AbstractPropagator
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATE_DIMENSION
State dimension, fixed to 6.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getAdditionalStateDimension()
Compute the length of the one-dimensional additional state array needed.String
getName()
Get the name of the partial Jacobians.int
getParameters()
Get the number of parameters.void
getParametersJacobian(SpacecraftState state, double[][] dYdP)
Get theJacobian with respect to parameters from a one-dimensional additional state array.int
getStateDimension()
Deprecated.as of 9.0, replaced withSTATE_DIMENSION
void
getStateJacobian(SpacecraftState state, double[][] dYdY0)
Get the Jacobian with respect to state from a one-dimensional additional state array.
-
-
-
Field Detail
-
STATE_DIMENSION
public static final int STATE_DIMENSION
State dimension, fixed to 6.- Since:
- 9.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Get the name of the partial Jacobians.- Returns:
- name of the Jacobians
-
getAdditionalStateDimension
public int getAdditionalStateDimension()
Compute the length of the one-dimensional additional state array needed.- Returns:
- length of the one-dimensional additional state array
-
getStateDimension
@Deprecated public int getStateDimension()
Deprecated.as of 9.0, replaced withSTATE_DIMENSION
Get the state vector dimension.- Returns:
- state vector dimension
-
getParameters
public int getParameters()
Get the number of parameters.- Returns:
- number of parameters
-
getStateJacobian
public void getStateJacobian(SpacecraftState state, double[][] dYdY0)
Get the Jacobian with respect to state from a one-dimensional additional state array.This method extract the data from the
state
and put it in thedYdY0
array.- Parameters:
state
- spacecraft statedYdY0
- placeholder where to put the Jacobian with respect to state- See Also:
getParametersJacobian(SpacecraftState, double[][])
-
getParametersJacobian
public void getParametersJacobian(SpacecraftState state, double[][] dYdP)
Get theJacobian with respect to parameters from a one-dimensional additional state array.This method extract the data from the
state
and put it in thedYdP
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.- Parameters:
state
- spacecraft statedYdP
- placeholder where to put the Jacobian with respect to parameters- See Also:
getStateJacobian(SpacecraftState, double[][])
-
-