#include <ParticleFilter.h>
◆ ParticleFilter()
ParticleFilter::ParticleFilter |
( |
const InputParameters & |
parameters | ) |
|
◆ binName()
virtual std::string ParticleFilter::binName |
( |
unsigned int |
bin_index | ) |
const |
|
overridevirtual |
A function which returns the short-form name for each bin of this filter. Used to label auxvariables a TallyBase scores in. ParticleFilter(s) uses different names depending on the particle.
- Parameters
-
- Returns
- a short name for the bin represented by bin_index
Implements FilterBase.
◆ getWrappedFilter()
openmc::Filter* FilterBase::getWrappedFilter |
( |
| ) |
|
|
inherited |
Get the OpenMC filter that this object wraps.
- Returns
- the OpenMC filter object
◆ numBins()
int FilterBase::numBins |
( |
| ) |
const |
|
inlineinherited |
A function which gets the number of bins in the wrapped filter.
- Returns
- the number of bins in the filter
◆ skipBin()
virtual bool FilterBase::skipBin |
( |
const unsigned int |
bin | ) |
const |
|
inlinevirtualinherited |
Whether a specific bin should be skipped when computing sums and means for normalization. This is useful for functional expansion filters, where not all bins represent an average.
- Parameters
-
- Returns
- whether the bin should be skipped.
Reimplemented in AngularLegendreFilter, and SphericalHarmonicsFilter.
◆ validParams()
static InputParameters ParticleFilter::validParams |
( |
| ) |
|
|
static |
◆ _filter
openmc::Filter* FilterBase::_filter = nullptr |
|
protectedinherited |
The OpenMC filter this class wraps.
◆ _filter_index
unsigned int FilterBase::_filter_index |
|
protectedinherited |
The index of the OpenMC filter this class wraps.
◆ _openmc_problem
The documentation for this class was generated from the following file: