public class CR3BPMultipleShooter extends AbstractMultipleShooting
| Constructor and Description |
|---|
CR3BPMultipleShooter(List<SpacecraftState> initialGuessList,
List<NumericalPropagator> propagatorList,
List<STMEquations> stmEquations,
double tolerance,
int maxIter)
Simple Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected double[] |
computeAdditionalConstraints(List<SpacecraftState> propagatedSP)
Compute the additional constraints.
|
protected double[][] |
computeAdditionalJacobianMatrix(List<SpacecraftState> propagatedSP)
Compute a part of the Jacobian matrix from additional constraints.
|
protected SpacecraftState |
getAugmentedInitialState(int i)
Compute the additional state from the additionalEquations.
|
protected int |
getNumberOfConstraints()
Get the total number of constraints.
|
void |
setClosedOrbitConstraint(boolean isClosed)
Set the constraint of a closed orbit or not.
|
void |
setEpochFreedom(int patchIndex,
boolean isFree)
Set the epoch of a patch point to free or not.
|
void |
setScaleLength(double scaleLength)
Set the scale length.
|
void |
setScaleTime(double scaleTime)
Set the scale time.
|
addConstraint, compute, computeEpochJacobianMatrix, getConstraintsMap, getFreeCompsMap, getNumberOfFreeComponents, getPatchedSpacecraftState, getPatchPoint, setPatchPointComponentFreedom, updateAdditionalConstraintspublic CR3BPMultipleShooter(List<SpacecraftState> initialGuessList, List<NumericalPropagator> propagatorList, List<STMEquations> stmEquations, double tolerance, int maxIter)
Standard constructor for multiple shooting which can be used with the CR3BP model.
initialGuessList - initial patch points to be correctedpropagatorList - list of propagators associated to each patch pointstmEquations - list of additional derivatives providers linked to propagatorListtolerance - convergence tolerance on the constraint vectormaxIter - maximum number of iterationsprotected SpacecraftState getAugmentedInitialState(int i)
getAugmentedInitialState in class AbstractMultipleShootingi - index of the statepublic void setEpochFreedom(int patchIndex,
boolean isFree)
setEpochFreedom in class AbstractMultipleShootingpatchIndex - Patch point index (zero-based)isFree - constraint valuepublic void setScaleLength(double scaleLength)
setScaleLength in class AbstractMultipleShootingscaleLength - scale length in meterspublic void setScaleTime(double scaleTime)
setScaleTime in class AbstractMultipleShootingscaleTime - scale time in secondspublic void setClosedOrbitConstraint(boolean isClosed)
isClosed - true if orbit should be closedprotected double[][] computeAdditionalJacobianMatrix(List<SpacecraftState> propagatedSP)
computeAdditionalJacobianMatrix in class AbstractMultipleShootingpropagatedSP - propagatedSPprotected double[] computeAdditionalConstraints(List<SpacecraftState> propagatedSP)
computeAdditionalConstraints in class AbstractMultipleShootingpropagatedSP - propagated SpacecraftStateprotected int getNumberOfConstraints()
getNumberOfConstraints in class AbstractMultipleShootingCopyright © 2002-2023 CS GROUP. All rights reserved.