public class PsimuStepNormalizer extends Object implements fr.cnes.sirius.patrius.propagation.sampling.PatriusStepHandler
PatriusFixedStepHandler into a PatriusStepHandler.
It mirrors the StepNormalizer interface from commons-math
but provides a space-dynamics interface to the methods.
Modified to take into account propagation direction (in time). Lines 111 to 115 Cf A-1031.
This class is a correction of PatriusPatriusStepNormalizer which is always 1 step late.| Constructor and Description |
|---|
PsimuStepNormalizer(double hIn,
fr.cnes.sirius.patrius.propagation.sampling.PatriusFixedStepHandler handlerIn)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleStep(fr.cnes.sirius.patrius.propagation.sampling.PatriusStepInterpolator interpolator,
boolean isLast)
Handle the last accepted step.
|
void |
init(fr.cnes.sirius.patrius.propagation.SpacecraftState s0,
fr.cnes.sirius.patrius.time.AbsoluteDate t) |
boolean |
requiresDenseOutput()
Determines whether this handler needs dense output.
|
public PsimuStepNormalizer(double hIn,
fr.cnes.sirius.patrius.propagation.sampling.PatriusFixedStepHandler handlerIn)
hIn - fixed time step (sign is not used)handlerIn - fixed time step handler to wrappublic boolean requiresDenseOutput()
public void init(fr.cnes.sirius.patrius.propagation.SpacecraftState s0,
fr.cnes.sirius.patrius.time.AbsoluteDate t)
init in interface fr.cnes.sirius.patrius.propagation.sampling.PatriusStepHandlerpublic void handleStep(fr.cnes.sirius.patrius.propagation.sampling.PatriusStepInterpolator interpolator,
boolean isLast)
throws fr.cnes.sirius.patrius.utils.exception.PropagationException
handleStep in interface fr.cnes.sirius.patrius.propagation.sampling.PatriusStepHandlerinterpolator - interpolator for the last accepted step. For
efficiency purposes, the various propagators reuse the same
object on each call, so if the instance wants to keep it across
all calls (for example to provide at the end of the propagation a
continuous model valid throughout the propagation range), it
should build a local copy using the clone method and store this
copy.isLast - true if the step is the last onefr.cnes.sirius.patrius.utils.exception.PropagationException - this exception is propagated to the
caller if the underlying user function triggers oneCopyright © 2022. All rights reserved.