MaterialStreamClearAllProps Method

Remove all stored Physical Property values.

Definition

Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
public void ClearAllProps()

Implements

ICapeThermoMaterialClearAllProps
IMaterialStreamClearAllProps

Remarks

ClearAllProps removes all stored Physical Properties that have been set using the SetSinglePhaseProp, SetTwoPhaseProp or SetOverallProp methods. This means that any subsequent call to retrieve Physical Properties will result in an exception until new values have been stored using one of the Set methods. ClearAllProps does not remove the configuration information for a Material, i.e. the list of Compounds and Phases. Using the ClearAllProps method results in a Material Object that is in the same state as when it was first created. It is an alternative to using the CreateMaterial method but it is expected to have a smaller overhead in operating system resources.

See Also