extrude.block.grid.pos

Syntax

v = extrude.block.grid.pos(bp,ii,ij)

The function only applies to regular (3- or 4-sided) blocks with structured mesh.

Get a gridpoint position. Returns a 2D vector of the \(x\),\(y\) position of indexed gridpoint (i,j). Values of i and j will range between 0 and extrude.block.zones.i and extrude.block.zones.j, respectively.

Returns:

v - 2D vector

Arguments:

bp - block pointer

ii - index i

ij - index j