openmc.CellFilter

class openmc.CellFilter(bins, filter_id=None)[source]

Bins tally event locations based on the Cell they occured in.

Parameters:
  • bins (openmc.Cell, int, or iterable thereof) – The cells to tally. Either openmc.Cell objects or their ID numbers can be used.
  • filter_id (int) – Unique identifier for the filter
Variables:
  • bins (Iterable of Integral) – openmc.Cell IDs.
  • id (int) – Unique identifier for the filter
  • num_bins (Integral) – The number of filter bins
expected_type

alias of openmc.cell.Cell