| RungeKutta5OdeSolverOptionsOutputFunction Property |
The output function to be called by the ODE solver at each integration step. If this function returns true
the solver continues with the next step, if it returns false the solver is halted.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public Func<double, DoubleVector, OdeSolverBaseOutputFunctionFlag, bool> OutputFunction { get; set; }
Public Property OutputFunction As Func(Of Double, DoubleVector, OdeSolverBaseOutputFunctionFlag, Boolean)
Get
Set
public:
property Func<double, DoubleVector^, OdeSolverBaseOutputFunctionFlag, bool>^ OutputFunction {
Func<double, DoubleVector^, OdeSolverBaseOutputFunctionFlag, bool>^ get ();
void set (Func<double, DoubleVector^, OdeSolverBaseOutputFunctionFlag, bool>^ value);
}
member OutputFunction : Func<float, DoubleVector, OdeSolverBaseOutputFunctionFlag, bool> with get, set
Property Value
FuncDouble,
DoubleVector,
OdeSolverBaseOutputFunctionFlag,
BooleanRemarks
The function parameters are:
double t - The time value at the current integration step. If flag is equal to Initialize,
this will be the initial time value t0.
DoubleVector yThe calculated function value at the current integration step. If flag is equal to Initialize,
this will be the initial function value y0.
DourmandPrinceOdeSolver.OutputFunctionFlag flagFlag indicating what stage the solver is at:
Initialize - before solving begins. y and t values are the problems initial values.
IntegrationStep - just finished an integration step. y and t values are the values
calculated at that step.
Done - just finished last step. y and t values are the last values in the returned
solution.
Return valued bool - true if the solver is to procede with the calculation, false forces the solver
to stop.
See Also