Sage Modeling and Simulation Library

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

Constructor for MaterialType. Uses default values for all unspecified (see larger ctor) properties, marks Molecular Weight as unknown.

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
)

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.