StoppablePropagator.PropagateUntilStop Method (ITimeBasedState, IEnumerable<StoppingConditionEvaluator>, IntegrationSense, Boolean, Int32, ITrackCalculationProgress) |
Propagates until one of the conditions are tripped.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic StoppablePropagatorResults PropagateUntilStop(
ITimeBasedState initialState,
IEnumerable<StoppingConditionEvaluator> conditions,
IntegrationSense direction,
bool initializeStoppingCondition,
int outputSparsity,
ITrackCalculationProgress progressTracker
)
Public Function PropagateUntilStop (
initialState As ITimeBasedState,
conditions As IEnumerable(Of StoppingConditionEvaluator),
direction As IntegrationSense,
initializeStoppingCondition As Boolean,
outputSparsity As Integer,
progressTracker As ITrackCalculationProgress
) As StoppablePropagatorResults
public:
StoppablePropagatorResults^ PropagateUntilStop(
ITimeBasedState^ initialState,
IEnumerable<StoppingConditionEvaluator^>^ conditions,
IntegrationSense direction,
bool initializeStoppingCondition,
int outputSparsity,
ITrackCalculationProgress^ progressTracker
)
member PropagateUntilStop :
initialState : ITimeBasedState *
conditions : IEnumerable<StoppingConditionEvaluator> *
direction : IntegrationSense *
initializeStoppingCondition : bool *
outputSparsity : int *
progressTracker : ITrackCalculationProgress -> StoppablePropagatorResults
Parameters
- initialState
- Type: AGI.Foundation.Coordinates.ITimeBasedState
The initial state to start propagating from. - conditions
- Type: System.Collections.Generic.IEnumerable<StoppingConditionEvaluator>
The conditions to stop on. - direction
- Type: AGI.Foundation.NumericalMethods.IntegrationSense
The direction to search for an event. - initializeStoppingCondition
- Type: System.Boolean
Indicates if the conditions should be
initialized. Set this to false if
the conditions have been initialized prior to this method being called.
- outputSparsity
- Type: System.Int32
The interval at which to produce output samples.
By default, this should be set to one, meaning that output will be saved in the saved states
for every step. If a thinner (but less accurate) ephemeris is desired you can set this
to a higher number. Two means that output is saved every other integration step, etc.
- progressTracker
- Type: AGI.Foundation.ITrackCalculationProgress
An optional progress tracker.
How long the segment will take to propagate generally is not known ahead of time, so the reported
progress completed is set to -1. But you can cancel propagation with the tracker.
Return Value
Type:
StoppablePropagatorResultsThe ephemeris and information about the stopping event.
See Also