public class StoppablePropagatorResults extends Object
StoppablePropagator
. This type is designed to be extended with
additional data computed during propagation.Constructor and Description |
---|
StoppablePropagatorResults(StoppingConditionEvent stoppingEvent,
List<StoppingConditionEvent> detectedEvents,
Iterable<? extends ITimeBasedState> propagatedStates,
boolean aborted)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAborted()
Gets a value indicating whether the function run aborted.
|
StoppingCondition |
getConditionStoppedOn()
Gets the
definition of the stopping condition
that stopped the function. |
List<StoppingConditionEvent> |
getDetectedEvents()
Gets all of the
StoppingConditionEvents
found during propagation. |
StoppingConditionEvent |
getEventThatStoppedPropagator()
Gets the event that stopped the actual propagation.
|
JulianDate |
getFinalDate()
Gets the date at which propagation stopped.
|
ITimeBasedState |
getFinalState()
Gets the final state of propagation.
|
ArrayList<ITimeBasedState> |
getPropagatedStates()
Gets all of the
states propagated. |
double |
getValueOfConditionThatStopped()
Gets the value as computed by the stopping condition.
|
public StoppablePropagatorResults(StoppingConditionEvent stoppingEvent, List<StoppingConditionEvent> detectedEvents, Iterable<? extends ITimeBasedState> propagatedStates, boolean aborted)
detectedEvents
- All the events detected by the propagator.propagatedStates
- The states computed and saved from the propagation.stoppingEvent
- The actual final event
that stopped propagation. It is
assumed that this is included in the detectedEvents
.aborted
- A boolean indicated if the function run was aborted.public final List<StoppingConditionEvent> getDetectedEvents()
StoppingConditionEvents
found during propagation.@Nonnull public final JulianDate getFinalDate()
public final double getValueOfConditionThatStopped()
public final StoppingCondition getConditionStoppedOn()
definition
of the stopping condition
that stopped the function.public final boolean getAborted()
public final ITimeBasedState getFinalState()
public final ArrayList<ITimeBasedState> getPropagatedStates()
states
propagated.public final StoppingConditionEvent getEventThatStoppedPropagator()