block.domain.pos

Syntax

Vector Access

v = block.domain.pos(ind)

Get the domain centroid position vector.

Returns:v -domain position vector
Arguments:ind - domain index

Component Access

f = block.domain.pos.x(ind)

Get the \(x\)-coordinate of the domain centroid.

Returns:f - \(x\)-coordinate of the domain centroid
Arguments:ind - domain index
f = block.domain.pos.y(ind)

Get the \(y\)-coordinate of the domain centroid.

Returns:f - \(y\)-coordinate of the block domain centroid
Arguments:ind - domain index