CvodeIntegrator.SetEventFunction Method

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

Definition

Namespace: Numerics.NET.Calculus.OrdinaryDifferentialEquations
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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