- neso_fame.hypnotoad_interface.get_mesh_boundaries(mesh: Mesh, flux_surface_quad: Callable[[SliceCoord, SliceCoord], Quad], perpendicular_quad: Callable[[SliceCoord, SliceCoord], Quad]) list[frozenset[Quad]]
Get a list of the boundaries for the mesh.
- Parameters:¶
- mesh: Mesh¶
The hypnotoad mesh object for which to return boundaries.
- flux_surface_quad: Callable[[SliceCoord, SliceCoord], Quad]¶
A function to produce an appropriate
neso_fame.mesh.Quad
object for quads which are aligned to flux surfaces.- perpendicular_quad: Callable[[SliceCoord, SliceCoord], Quad]¶
A function to produce an appropriate
neso_fame.mesh.Quad
object for quads which are perpendicular to flux surfaces.
- Returns:¶
A list of boundaries. Each boundary is represented by a frozenset of Quad objects. If that boundary is not present on the given mesh object, then the set will be empty. The order of the boundaries in the list is:
Centre of the core region
Inner edge of the plasma (or entire edge, for single-null)
Outer edge of the plasma
Internal edge of the upper private flux region
Internal edge of hte lower private flux region
Inner lower divertor
Outer lower divertor
Inner upper divertor
Outer upper divertor
Last update:
Nov 07, 2024