Cardinal
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
EnergyFilter Class Reference

#include <EnergyFilter.h>

Inheritance diagram for EnergyFilter:
[legend]

Public Member Functions

 EnergyFilter (const InputParameters &parameters)
 
virtual std::string binName (unsigned int bin_index) const override
 
int numBins () const
 
openmc::Filter * getWrappedFilter ()
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

OpenMCCellAverageProblem_openmc_problem
 The OpenMCCellAverageProblem using the tally system. More...
 
openmc::Filter * _filter = nullptr
 The OpenMC filter this class wraps. More...
 
unsigned int _filter_index
 The index of the OpenMC filter this class wraps. More...
 

Constructor & Destructor Documentation

◆ EnergyFilter()

EnergyFilter::EnergyFilter ( const InputParameters &  parameters)

Member Function Documentation

◆ binName()

virtual std::string EnergyFilter::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. EnergyFilter(s) use 'g' for each filter bin.

Parameters
[in]thebin index
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

◆ validParams()

static InputParameters EnergyFilter::validParams ( )
static

Member Data Documentation

◆ _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

OpenMCCellAverageProblem& FilterBase::_openmc_problem
protectedinherited

The OpenMCCellAverageProblem using the tally system.


The documentation for this class was generated from the following file: