Click or drag to resize

PropagationStateElementConverterAdjustStateWithTypeT Method

Adjust the subset of the raw state corresponding to this element to new values.

Namespace:  AGI.Foundation.Propagators.Advanced
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
public abstract bool AdjustStateWithType<T>(
	double[] overallRawState,
	Motion<T> newStateElement


Type: SystemDouble
The overall raw state to adjust.
Type: AGI.FoundationMotionT
The new values and derivatives for the requested element.

Type Parameters

The type corresponding to the TypeOfOutput of this element.

Return Value

Type: Boolean
True if the update was successful. Otherwise, if the specified new element values did not contain enough derivatives or there was some other problem completing the update, this returns false.
See Also