gustaf.utils.connec#
gustaf/gustaf/utils/connec.py.
Useful functions for connectivity operation. Ranging from edges to volumes. Named connec because connectivity is too long. Would have been even cooler, if it was palindrome.
Functions
|
Compute edges based on following edge scheme. |
|
Computes quad faces based on following index scheme. |
|
Given number of nodes per each dimension, returns connectivity information of structured hexahedron elements. |
|
Given number of nodes per each dimension, returns connectivity information of a structured mesh. |
|
Given range, for example (a, b), returns an edge sequence that sequentially connects indices. |
|
Given a sequence of int, "connect" to turn them into edges. |
|
Organize edge connectivities to describe polygon or a line. |
|
Given connectivity array, finds unique entries, based on its axis=1 sorted values. |
|
Subdivide edges. |
|
Subdivide quads. |
|
Subdivide triangles. |
|
Computes tri faces based on following index scheme. |
|
Guidance function for tet_to_tri and hexa_to_quad. |