neso_fame.hypnotoad_interface.get_region_perpendicular_boundary_points(region: MeshRegion, system: CoordinateSystem = CoordinateSystem.CYLINDRICAL) list[Iterator[SliceCoord]]

Get the (ordered) boundary points for the perpendicular boundaries of a region.

Parameters:
region: MeshRegion

The portion of the mesh for which to return boundaries.

system: CoordinateSystem = CoordinateSystem.CYLINDRICAL

The coordinate system to use. This normally should not be changed. However, if you want to export the poloidal cross-section of the mesh then it can be useful to set this to be Cartesian.

Returns:

  • A list of boundaries. Each boundary is represented by an iterator

  • of SliceCoord objects. If that boundary is not present on the

  • given region object, then the iterator will be empty. The order of

  • the boundaries in the list is

  • #. Inner lower divertor

  • #. Outer lower divertor

  • #. Inner upper divertor

  • #. Outer upper divertor


Last update: Nov 07, 2024