- class neso_fame.nektar_writer.NektarElements
Represents all of the Nektar++ objects that make up a mesh.
These are real Nektar++ objects, but they are not yet assembled into a MeshGraph objects.
Constructors¶
- NektarElements(_layers: list[NektarLayer2D | NektarLayer3D])
Initialize self. See help(type(self)) for accurate signature.
Special methods¶
- __repr__()
Return repr(self).
- __eq__(other)
Return self==value.
Methods¶
- elements() Iterator[Geometry2D] | Iterator[Geometry3D]
Iterate over all of the elements in the mesh.
- layers() Iterator[Sequence[Composite]]
Iterate over the Composite objects representing each layer of the mesh.
- num_layers() int
Return the number of layers present in the mesh.
- near_faces() Iterator[Composite]
Iterate over Composite objects representing the near face of each layer.
- far_faces() Iterator[Composite]
Iterate over Composite objects representing the far face of each layer.
- num_bounds() int
Return the number of boundary regions of the mesh.
Last update:
Nov 07, 2024