block.zone.geo_metric

Syntax

f = block.zone.geo_metric(bzp,i)

Get the metrics for a zone.

All metrics are scaled to vary between 0.0 and 1.0. All metrics will return 1.0 for an equilateral tetrahedral zone.

i = 1. ratio of radius of inscribed sphere to radius of circumscribed sphere i = 2. “tet collapse” This is the minimum ratio of the distance of vertex to the opposing force divided by the square root of the opposing face area. i = 3. “tet collapse II” This is the minimum ratio of the distance between nonadjacent edges divided by the longest edge. i = 4. “edge ratio” This is the ratio of the shortest edge length divided by the longest edge length.

Returns:

f - value requested

Arguments:

bzp - block zone pointer
i - integer code for desired metric