Click or drag to resize
DfsuUtilFindTopLayerElements Method (Int32)
Find element indices (zero based9 of the elements being the upper-most element in its column.

Each column is identified by matching node id numbers. For 3D elements the last half of the node numbers of the bottom element must match the first half of the node numbers in the top element. For 2D vertical elements the order of the node numbers in the bottom element (last half number of nodes) are reversed compared to those in the top element (first half number of nodes).

Namespace: DHI.Generic.MikeZero.DFS.dfsu
Assembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static IList<int> FindTopLayerElements(
	int[][] elementTable
)

Parameters

elementTable
Type: SystemInt32

Return Value

Type: IListInt32
A list of element indices of top layer elements
Remarks
To find the number of elements in each column, assuming the result is stored in res:

For the first column it is res[0]+1.

For the i'th column, it is res[i]-res[i-1].

See Also