neso_fame.nektar_writer.nektar_curve(curve: Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], Coords] | Quad, order: int, spatial_dim: int, layer_id: int) tuple[Curve, tuple[PointGeom, PointGeom]]

Return a Nektar++ Curve object and its start and end points.

The curve will be represented to the specified order. Caching is used to ensure that the same curve, in the same layer, represented to the same order, will always return the same objects. The caching is done based on the locations of the control points of the curve, rather than the identity of the function defining the curve.


Last update: Sep 23, 2024