Sage Modeling and Simulation Library

MaterialType Constructor (IModel, String, Guid, Double, Double, MaterialState, Double)

Constructor for MaterialType. Uses default values for all unspecified (see larger constructor) properties.

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

Syntax


public MaterialType(
	IModel model,
	string name,
	Guid guid,
	double specificGravity,
	double specificHeat,
	MaterialState stpState,
	double molecularWeight
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model to which this MaterialType will belong.
name
Type: String
The name of this MaterialType.
guid
Type: Guid
The Guid of this MaterialType.
specificGravity
Type: Double
The specific gravity associated with material of this type.
specificHeat
Type: Double
The specific heat associated with material of this type.
stpState
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialState
The state of the material at standard temperature and pressure.
molecularWeight
Type: Double
The molecular weight of this substance.