upxo.meshing.gbconformant.fm_steel_abaqus.boundary_sets module

Grain-boundary and junction nodes of a tetrahedral (or hexahedral) mesh, by feature.

A node belongs to every feature whose tetrahedra use it. A node shared by two or more features lies on a grain boundary; one shared by three or more lies on a junction (a triple line or a corner of several features). The features are the ones the deck’s element sets stand for, so two meshed grains that were merged into one feature have no boundary between them.

class upxo.meshing.gbconformant.fm_steel_abaqus.boundary_sets.BoundaryNodes(grain_boundary: ndarray, junction: ndarray, by_feature: dict = <factory>, n_nodes: int = 0)[source]

Bases: object

Node indices (0-based, as in the tetrahedra array) of the boundary sets.

grain_boundary: ndarray
junction: ndarray
by_feature: dict
n_nodes: int = 0
counts()[source]
upxo.meshing.gbconformant.fm_steel_abaqus.boundary_sets.boundary_nodes(tetrahedra, tet_feature, n_nodes=None, chunk=200000)[source]

Boundary nodes from the tetrahedra (0-based node indices) and one feature label per tetrahedron.