zone.prop.index

Syntax

i := zone.prop.index(z,s)

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

Returns:

i - the index of the property in the constitutive model

Arguments:

z - zone pointer

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