block.force.unbal

Syntax

Vector Access

v/f = block.force.unbal(bzp<,i>)

Get the unbalanced force on a block. 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 - unbalanced force

Arguments:

bzp - block zone pointer

i - optional vector component

Component Access

f = block.zone.pos.x(bzp)

Get the \(x\)-component of the unbalanced force.

Returns:f - \(x\)-component of unbalanced force
Arguments:bzp - block zone pointer
f = block.zone.pos.y(bzp)

Get the \(y\)-component of the unbalanced force.

Returns:f - \(y\)-component of unbalanced force
Arguments:bzp - block zone pointer
f = block.zone.pos.z(bzp)

Get the \(z\)-component of the unbalanced force.

Returns:f - \(z\)-component of unbalanced force
Arguments:bzp - block zone pointer