FlowsheetSolver2CalculateMaterialStreamAsync Method

Calculates a material stream object asynchronously. This function is always called from a task or a different thread other than UI's.

Definition

Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
public void CalculateMaterialStreamAsync(
	Object fobj,
	ISimulationObject ms,
	CancellationToken ct
)

Parameters

fobj  Object
Flowsheet to what the stream belongs to.
ms  ISimulationObject
Material Stream object to be calculated.
ct  CancellationToken
The cancellation token, used to listen for calculation cancellation requests from the user.

See Also