24 #include "openmc/tallies/filter_cell.h" 31 CellTally(
const InputParameters & parameters);
38 virtual std::pair<unsigned int, openmc::Filter *>
spatialFilter()
override;
45 const Real & relaxation_factor)
override;
59 unsigned int local_score,
60 const std::vector<OMCTensor> & tally_vals,
61 bool norm_by_src_rate =
true)
override;
74 std::vector<OpenMCCellAverageProblem::cellInfo>
getTallyCells()
const;
openmc::CellInstanceFilter * _cell_filter
OpenMC mesh filter for this unstructured mesh tally.
Definition: CellTally.h:80
const bool & _check_equal_mapped_tally_volumes
Definition: CellTally.h:93
Definition: CellTally.h:26
virtual void setRelaxation(relaxation::RelaxationEnum relaxation_type, const Real &relaxation_factor) override
std::vector< OpenMCCellAverageProblem::cellInfo > getTallyCells() const
virtual std::pair< unsigned int, openmc::Filter * > spatialFilter() override
const Real & _equal_tally_volume_abs_tol
Absolute tolerance for checking equal tally mapped volumes.
Definition: CellTally.h:96
void checkCellMappedSubdomains()
std::map< OpenMCCellAverageProblem::cellInfo, bool > _cell_has_tally
Whether a cell index, instance pair should be added to the tally filter.
Definition: CellTally.h:77
RelaxationEnum
Type of relaxation.
Definition: CardinalEnums.h:273
Definition: TallyBase.h:35
virtual Real storeResultsInner(const std::vector< unsigned int > &var_numbers, unsigned int local_score, const std::vector< OMCTensor > &tally_vals, bool norm_by_src_rate=true) override
CellTally(const InputParameters ¶meters)
static InputParameters validParams()