CvodeIntegrator.SetEventFunction Method

Initializes a root finding problem to be solved during the integration of the system of ordinary differential equations.

Definition

Namespace: Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public void SetEventFunction(
	DifferentialFunction eventFunction,
	int numberOfFunctions
)

Parameters

eventFunction  DifferentialFunction
A DifferentialFunction that represents the root functions.
numberOfFunctions  Int32
The number of root functions.

Remarks

The root functions can use the current value of the time value as well as the solution.

See Also