fblock.pos

Syntax

Vector Access

v/f = fblock.pos(fbp<,i>)

Get the position of a face block centroid. If the optional argument i is supplied, the return value is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).

Returns:

v or f - position or component of position

Arguments:

fbp - face block pointer

i - optional vector component

Component Access

f = fblock.pos.x(fbp)

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

Returns:f - \(x\)-component of zone centroid position
Arguments:fbp - face block pointer
f = fblock.pos.y(fbp)

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

Returns:f - \(y\)-component of zone centroid position
Arguments:fbp - face block pointer
f = fblock.pos.z(fbp)

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

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