public class ForcesStepHandler extends Object implements PatriusStepHandler
Constructor and Description |
---|
ForcesStepHandler(OrbitNatureConverter converterIn,
NonInertialContribution nonInertialContributionIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getDnonInertial()
Getter for non-inertial contribution.
|
void |
handleStep(PatriusStepInterpolator interpolator,
boolean isLast)
Handle the current step.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize step handler at the start of a propagation.
|
public ForcesStepHandler(OrbitNatureConverter converterIn, NonInertialContribution nonInertialContributionIn)
converterIn
- orbit nature converternonInertialContributionIn
- nonInertialContribution force (null if not used)public void init(SpacecraftState s0, AbsoluteDate t)
PatriusStepHandler
This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
init
in interface PatriusStepHandler
s0
- initial statet
- target time for the integrationpublic void handleStep(PatriusStepInterpolator interpolator, boolean isLast) throws PropagationException
PatriusStepHandler
handleStep
in interface PatriusStepHandler
interpolator
- interpolator set up for the current stepisLast
- if true, this is the last integration stepPropagationException
- if step cannot be handledpublic double[] getDnonInertial()
Copyright © 2018 CNES. All Rights Reserved.