public class AnalyticalEphemerisModeHandler extends Object implements PatriusStepHandler
Instances of this class are built and then must be fed with the results provided by
Propagator
objects configured in
ephemeris generation mode
. Once propagation is over, a BoundedPropagator
can be built from the stored steps.
NumericalPropagator
,
Serialized FormConstructor and Description |
---|
AnalyticalEphemerisModeHandler(Propagator propagatorIn,
AttitudeProvider attForcesProvider,
AttitudeProvider attEventsProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BoundedPropagator |
getEphemeris()
Get the generated ephemeris.
|
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.
|
void |
setAttitudeProviderEvents(AttitudeProvider attProvEvents)
Set attitude provider for events computation.
|
void |
setAttitudeProviderForces(AttitudeProvider attProvForces)
Set attitude provider for forces computation.
|
public AnalyticalEphemerisModeHandler(Propagator propagatorIn, AttitudeProvider attForcesProvider, AttitudeProvider attEventsProvider)
propagatorIn
- propagatorattForcesProvider
- attitude provider for force computationattEventsProvider
- attitude provider for events computationpublic BoundedPropagator getEphemeris()
public void setAttitudeProviderForces(AttitudeProvider attProvForces)
attProvForces
- the attitude providerpublic void setAttitudeProviderEvents(AttitudeProvider attProvEvents)
attProvEvents
- the attitude providerpublic void handleStep(PatriusStepInterpolator interpolator, boolean isLast) throws PropagationException
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 void init(SpacecraftState s0, AbsoluteDate t)
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 integrationCopyright © 2019 CNES. All rights reserved.