Click or drag to resize

FlowsheetSolverFunctionValueAsync Method

Function called asynchronously by the simultaneous adjust solver. Retrieves the error function value for each adjust object.

Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax
private static double[] FunctionValueAsync(
	Object fobj,
	double[] x,
	CancellationToken ct
)
Request Example View Source

Parameters

fobj  Object
Flowsheet where the object belongs to.
x  Double
ct  CancellationToken
The cancellation token, used to listen for calculation cancellation requests from the user.

Return Value

Double
See Also