FlowsheetSolverFunctionValueAsync Method |
Function called asynchronously by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
Namespace: DWSIM.FlowsheetSolverAssembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax private static double[] FunctionValueAsync(
Object fobj,
double[] x,
CancellationToken ct
)
Private Shared Function FunctionValueAsync (
fobj As Object,
x As Double(),
ct As CancellationToken
) As Double()
Request Example
View SourceParameters
- 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
DoubleSee Also