openmc.MeshBornFilter¶
- class openmc.MeshBornFilter(mesh, filter_id=None)[source]¶
Filter events by the mesh cell a particle originated from.
- Parameters
mesh (openmc.MeshBase) – The mesh object that events will be tallied onto
filter_id (int) – Unique identifier for the filter
- Variables
mesh (openmc.MeshBase) – The mesh object that events will be tallied onto
id (int) – Unique identifier for the filter
translation (Iterable of float) – This array specifies a vector that is used to translate (shift) the mesh for this filter
bins (list of tuple) – A list of mesh indices for each filter bin, e.g. [(1, 1, 1), (2, 1, 1), …]
num_bins (Integral) – The number of filter bins