openmc.lib.MeshSurfaceFilter

class openmc.lib.MeshSurfaceFilter(obj=None, uid=None, new=True, index=None)[source]

MeshSurface filter stored internally.

This class exposes a MeshSurface filter that is stored internally in the OpenMC library. To obtain a view of a MeshSurface filter with a given ID, use the openmc.lib.filters mapping.

Parameters
  • mesh (openmc.lib.Mesh) – Mesh to use for the filter

  • uid (int or None) – Unique ID of the MeshSurface filter

  • new (bool) – When index is None, this argument controls whether a new object is created or a view of an existing object is returned.

  • index (int) – Index in the filters array.

Variables
  • filter_type (str) – Type of filter

  • mesh (openmc.lib.Mesh) – Mesh used for the filter

  • translation (Iterable of float) – 3-D coordinates of the translation vector