block.zone.face.pos

Syntax

Vector Access

v/f = block.zone.face.pos(bzp,i<,i2>)

Get the position of a zone face centroid. If the optional argument i2 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:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

i2 - optional vector component

Component Access

f = block.zone.face.pos.x(bzp,i)

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

Returns:

f - \(x\)-component of zone face centroid position

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

f = block.zone.face.pos.y(bzp,i)

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

Returns:

f - \(y\)-component of zone face centroid position

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)

f = block.zone.face.pos.z(bzp,i)

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

Returns:

f - \(z\)-component of zone face centroid position

Arguments:

bzp - block zone pointer

i - face index (i=1,2,3 or 4)