FlowsheetSolverProcessQueueInternal Method |
This is the internal routine called by ProcessCalculationQueue when the UI thread is used to calculate the flowsheet.
Namespace: DWSIM.FlowsheetSolverAssembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax private static List<Exception> ProcessQueueInternal(
Object fobj,
bool Isolated = false,
bool FlowsheetSolverMode = false,
CancellationToken ct = default
)
Private Shared Function ProcessQueueInternal (
fobj As Object,
Optional Isolated As Boolean = false,
Optional FlowsheetSolverMode As Boolean = false,
Optional ct As CancellationToken = Nothing
) As List(Of Exception)
Request Example
View SourceParameters
- fobj Object
- Flowsheet to be calculated (FormChild object)
- Isolated Boolean (Optional)
- Tells to the calculator that only the objects in the queue must be calculated without checking the outlet connections, that is, no more objects will be added to the queue
- FlowsheetSolverMode Boolean (Optional)
- Only objects added by the flowsheet solving routine to the queue will be calculated.
- ct CancellationToken (Optional)
- The cancellation token, used to listen for calculation cancellation requests from the user.
Return Value
ListExceptionSee Also