Sage Modeling and Simulation Library

IMaterial Members

The IMaterial type exposes the following members.

Methods


  Name Description
Public method AddEnergy
Adds the specified number of joules of energy to the mixture.
Public method Clone
Clones this instance.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEstimatedBoilingPoint
Gets the estimated boiling point at the specified pressure in pascals.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ResumeChangeEvents
Resumes the change events. When change events are resumed, one change event will be fired for each of temperature and/or contents, if that aspect of the material has changed. This prevents a cascade of change events that would be issued, for example during the processing of a reaction.
Public method SuspendChangeEvents
Suspends the issuance of change events. When change events are resumed, one change event will be fired if the material has changed. This prevents a cascade of change events that would be issued, for example during the processing of a reaction.
Public method ToString(String, String)
Returns a String that represents the current IMaterial. Uses caller-supplied format strings in forming the numbers representing mass and temperature.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method ToStringWithoutTemperature()()()()
Returns a String that represents the current IMaterial.
Public method ToStringWithoutTemperature(String)
Returns a String that represents the current IMaterial.

Properties


  Name Description
Public property Density
Gets the density of the material in kilograms per liter.
Public property LatentHeatOfVaporization
Latent heat of vaporization - the heat energy required to vaporize one kilogram of this material. (J/kg)
Public property Mass
Gets the mass of the material in kilograms.
Public property MaterialType
Gets the type of the material.
Public property SpecificHeat
Gets the specific heat of the mixture, in Joules per kilogram degree-K.
Public property Tag
Gets or sets the tag, which is a user-supplied data element.
Public property Temperature
Gets or sets the temperature in degrees Celsius (internally, temperatures are stored in degrees Kelvin.)
Public property Volume
Gets the volume of the material in liters.

Events


  Name Description
Public event MaterialChanged
Fired after a material has changed its mass, constituents or temperature.