openmc.lib.MeshBornFilter¶
- class openmc.lib.MeshBornFilter(obj=None, uid=None, new=True, index=None)[source]¶
MeshBorn filter stored internally.
This class exposes a MeshBorn filter that is stored internally in the OpenMC library. To obtain a view of a MeshBorn 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 MeshBorn 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