hybridmesh#
This module defines the HybridMesh class, a Geometry subclass that supports hybrid discrete geometrical models. A HybridMesh has a single shared set of coordinates and a collection of element connectivities, each represented by an Elems object with its own element type.
It provides functionality to create, manipulate, and analyse hybrid meshes containing mixed element types, such as lines, triangles, quads, and volumes.
Constructor#
A HybridMesh is a discrete geometric model with a single set of coordinates and multiple element connectivity blocks, each potentially of a different type. |
Important
The HybridMesh class inherits from Geometry, giving it access
to all attributes and methods defined there. In addition, the HybridMesh
class provides its own methods, which are listed below.
Mesh information#
These methods return information about a HybridMesh object.
Return the element type of each block in the HybridMesh. |
|
Return the number of nodes in the Mesh. |
|
Return the number of nodes in the Mesh. |
|
Return the number of nodes in the Mesh. |
|
Return the total number of elements across all connectivity blocks. |
|
Create a report on the HybridMesh shape. |
|
Return the level (geometric dimension) of the elements in the HybridMesh. |
Other#
Create a HybridMesh from a list of Mesh objects. |
|
Convert the HybridMesh into a list of Mesh objects, one per block. |
|
Return a HybridMesh representing the border. |