mpoint.prop.index

Syntax

i := mpoint.prop.index(mp,s)

Returns the index associated with the property name s in the constitutive model used by mpoint mp. This can be used to get the property more efficiently in later calls to mpoint.prop if those calls are being made many times on mpoints with the same constitutive model.

Returns:

i - the index of the property in the constitutive model

Arguments:

mp - mpoint pointer

s - a string matching a property name in the fluid constitutive model