Flowsheet Solver 2Function Value Async Method
Function called asynchronously by the simultaneous adjust solver. Retrieves the error function value for each adjust object.
Definition
Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
C#
private double[] FunctionValueAsync(
Object fobj,
double[] x,
CancellationToken ct
)VB
Private Function FunctionValueAsync (
fobj As Object,
x As Double(),
ct As CancellationToken
) As Double()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.