fblock.pos

Syntax

v := fblock.pos(fbp)

Get the position of a face block centroid.

Returns:v - position
Arguments:fbp - face block pointer

Component Access

f := fblock.pos (fbp)->x

f := fblock.pos.x(fbp)

Get the \(x\)-component of the position of a face block centroid.

Returns:f - \(x\)-component of the centroid position
Arguments:fbp - face block pointer

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 (fblock.pos(fbp,<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 := fblock.pos.y(fbp)
f := fblock.pos.z(fbp)