Click or drag to resize

StoppablePropagatorGetInitialState Method

Creates the initial state from the wrapped propagator. Normal use cases will have the initial state passed into the PropagateUntilStop(ITimeBasedState, IEnumerableStoppingConditionEvaluator, IntegrationSense, Boolean, Int32, ITrackCalculationProgress) method. However should the propagator be configured to have an initial state it should be returned here.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 20.3.405.0 (20.3.405.0)
public virtual ITimeBasedState GetInitialState(
	IntegrationSense direction


Type: AGI.Foundation.NumericalMethodsIntegrationSense
Which direction the propagation is going.

Return Value

Type: ITimeBasedState
, or the initial state of the wrapped propagator as initially configured.
See Also