openmc.MaterialFilter

class openmc.MaterialFilter(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 Materials 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

expected_type

alias of Material