public class SecondOrderMapper extends Object implements SecondOrderStateMapper
| Constructor and Description |
|---|
SecondOrderMapper()
Empty constructor used for
Externalizable implementation. |
SecondOrderMapper(List<AdditionalEquationsAndTolerances> addEquationsAndTolerances)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
buildFullState(double[] y,
double[] yDot)
Build full first order state from second order y and yDot.
|
double[] |
extractY(double[] fullState)
Retrieve second order state y from full first order state.
|
double[] |
extractYDot(double[] fullState)
Retrieve second order state derivative yDot from full first order state.
|
void |
readExternal(ObjectInput oi) |
void |
writeExternal(ObjectOutput oo) |
public SecondOrderMapper()
Externalizable implementation.public SecondOrderMapper(List<AdditionalEquationsAndTolerances> addEquationsAndTolerances)
addEquationsAndTolerances - additional equations and tolerancespublic double[] buildFullState(double[] y,
double[] yDot)
buildFullState in interface SecondOrderStateMappery - second order state yyDot - second order state derivative yDotpublic double[] extractY(double[] fullState)
extractY in interface SecondOrderStateMapperfullState - full first order statepublic double[] extractYDot(double[] fullState)
extractYDot in interface SecondOrderStateMapperfullState - full first order statepublic void writeExternal(ObjectOutput oo) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput oi) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2025 CNES. All rights reserved.