Sage Modeling and Simulation Library

Substance Constructor (MaterialType, Double, Double, MaterialState)

Initializes a new instance of the Substance class.

Namespace:  Highpoint.Sage.Materials.Chemistry
Assembly:  Sage4 (in Sage4.dll)

Syntax


public Substance(
	MaterialType type,
	double mass,
	double tempInCelsius,
	MaterialState state
)

Parameters

type
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialType
The MaterialType of the substance.
mass
Type: Double
The mass of substance to be created.
tempInCelsius
Type: Double
The temperature of the substance in celsius.
state
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialState
The material state of the substance.