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 intSTATE_DIMENSIONState dimension, fixed to 6.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetAdditionalStateDimension()Compute the length of the one-dimensional additional state array needed.StringgetName()Get the name of the partial Jacobians.intgetParameters()Get the number of parameters.voidgetParametersJacobian(SpacecraftState state, double[][] dYdP)Get theJacobian with respect to parameters from a one-dimensional additional state array.intgetStateDimension()Deprecated.as of 9.0, replaced withSTATE_DIMENSIONvoidgetStateJacobian(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_DIMENSIONGet 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
stateand put it in thedYdY0array.- 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
stateand put it in thedYdParray.If no parameters have been set in the constructor, the method returns immediately and does not reference
dYdPwhich 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[][])
-
-