PECSettings

Contents

PECSettings#

class zeroheliumkit.fem.gmsher.PECSettings(geometry: Polygon | MultiPolygon, indices: list[int], volume: ExtrudeSettings = None, z: float = None, linked_to: str = None)[source]#

Bases: object

Settings for defining Perfect Electric Conductor (PEC) boundaries.

Parameters:
  • geometry (Polygon | MultiPolygon) – Geometry of the PEC boundary.

  • indices (list[int]) – List of polygon indices associated with the PEC boundary.

  • volume (str, optional) – Volume identifier associated with the PEC boundary. Defaults to None.

  • z (float, optional) – Z-coordinate of the PEC boundary. Defaults to None.

  • linked_to (str, optional) – Identifier of another entity this PEC boundary is linked to. Defaults to None.

  • group_id (int, optional) – Group ID for the PEC boundary. Automatically assigned. Not user defined.

  • tags (list[int], optional) – List of tags associated with the PEC boundary. Automatically assigned. Not user defined.

  • prepared_polygons (list[Polygon], optional) – List of prepared polygons for the PEC boundary. Automatically assigned. Not user defined.

Methods

Attributes

linked_to

volume

z

geometry

indices

group_id

tags

prepared_polygons