-
neso_fame.nektar_writer.write_nektar(mesh: GenericMesh[Quad, FieldAlignedCurve | StraightLine, Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], Coords]] | GenericMesh[Prism, Quad, EndShape], order: int, filename: str, spatial_dim: int =
3
, write_movement: bool =True
, periodic_interfaces: bool =True
, compressed: bool =True
) None Create a Nektar++ MeshGraph object and write it to the disk.
- Parameters:¶
- mesh: GenericMesh[Quad, FieldAlignedCurve | StraightLine, Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], Coords]] | GenericMesh[Prism, Quad, EndShape]¶
The mesh to be converted to Nektar++ format.
- order: int¶
The order to use when representing the elements of the mesh.
- filename: str¶
The name of the file to write the mesh to. Should use the
.xml
extension.- spatial_dim: int =
3
¶ The dimension of the space in which the mesh elements sit.
- write_movement: bool =
True
¶ Whether to write information on non-conformal zones and interfaces.
- periodic_interfaces: bool =
True
¶ If write_movement is True, whether the last layer joins back up with the first, requiring an interface to be defined between the two.
- compressed: bool =
True
¶ Whether to use the Nektar++ compressed XML format
Last update:
Nov 07, 2024