zone.prop

Syntax

a := zone.prop(z,s)
zone.prop(z,s) := a

Get/set the value of property s in the zone. The name s must match a property type available in the current constitutive model using keyword matching rules. If no property matches, an error occurs.

For efficiency, a property index may be given instead of a string name. See the zone.prop.index function.

Returns:

a - the value of property s in the zone

Accepts:

a - the value assigned to property s in the zone. Must match the type expected by that property.

Arguments:

z - a pointer to a zone

s - the name of a property