openmc.MaterialFromFilter¶
- class openmc.MaterialFromFilter(bins, filter_id=None)[source]¶
Bins tally event locations based on the Material they occurred in.
- Parameters
bins (openmc.Material, Integral, or iterable thereof) – The material(s) to tally. Either
openmc.Material
objects or their Integral ID numbers can be used.filter_id (int) – Unique identifier for the filter
- Variables
bins (Iterable of Integral) – openmc.Material IDs.
id (int) – Unique identifier for the filter
num_bins (Integral) – The number of filter bins