zone.block.weight

Syntax

f = zone.block.weight(zbp,i i)

Get the weight associated with the FLAC3D gridpoint for the input zone-block coupling item and gridpoint number (from 1 to 4). Each coupling item consists of a single 3DEC vertex and 3 or 4 FLAC3D gridpoints (defining the intersected face). Each gridpoint has a weight between 0 and 1 used to calculate the proportion of velocity passed from the gridpoints to the vertex, and also the proportion of force passed from the vertex to the gridpoints. The sum of the weights for a given zone-block coupling item equals 1.

Returns:

f - weight (0 - 1)

Arguments:

zbp - zone-block pointer i - gridpoint number (1 - 4)