# zone.face.pos

Syntax

v := zone.face.pos(z,iside)

Get the position of the face, defined as the centroid of its grid points.

Returns: v - the face position z - zone pointer iside - side of the zone indicating the face, from 1 to 6

Component Access

f := zone.face.pos (z, iside) ->x

f := zone.face.pos.x(z,iside)

Get the $$x$$-component of the position of the face, defined as the centroid of its grid points.

Returns: f - $$x$$-component of the face position z - zone pointer iside - side of the zone indicating the face, from 1 to 6

Access other vector components ($$y$$, $$z$$) by substituting the component name where $$x$$ appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (zone.face.pos(z,iside,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := zone.face.pos.y(z,iside)
f := zone.face.pos.z(z,iside)