- class neso_fame.mesh.GenericMesh(Generic[E, B, C])
Class representing a complete mesh.
The mesh is defined by a representative layer and an array of offsets. Physically, these correspond to a mesh made up of a series of identical layers, with nonconformal interfaces, each offset by a certain ammount along the x3-direction.
Note
This class is generic in both the element and boundary types, but only certain combinations of these make sense in practice:
Quad
elements andCurve
boundaries; orPrism
elements andQuad
boundaries. GenericMesh should not be used for type annotations; useQuadMesh
,PrismMesh
, orMesh
instead, as these are constrained to the valid combinations.Public members¶
- reference_layer : MeshLayer[E, B, C]
A layer from which all of the constituant layers of the mesh object will be produced.
Constructors¶
- GenericMesh(reference_layer: MeshLayer[E, B, C], offsets)
Initialize self. See help(type(self)) for accurate signature.
Special methods¶
- __repr__()
Return repr(self).
- __eq__(other)
Return self==value.
- __hash__()
Return hash(self).
Methods¶
Last update:
Nov 07, 2024