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

#include <SphericalHarmonicsFilter.h>

Inheritance diagram for SphericalHarmonicsFilter:
[legend]

Public Member Functions

 SphericalHarmonicsFilter (const InputParameters &parameters)
 
virtual bool skipBin (const unsigned int bin) const override
 Override to return false on the first bin and true on all other bins. More...
 
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

const unsigned int _order
 The spherical harmonics order. More...
 
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

◆ SphericalHarmonicsFilter()

SphericalHarmonicsFilter::SphericalHarmonicsFilter ( const InputParameters &  parameters)

Member Function Documentation

◆ binName()

virtual std::string SphericalHarmonicsFilter::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. SphericalHarmonicsFilter(s) use l_mpos for m >= 0, and l_mneg for m < 0.

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

◆ skipBin()

virtual bool SphericalHarmonicsFilter::skipBin ( const unsigned int  bin) const
inlineoverridevirtual

Override to return false on the first bin and true on all other bins.

Reimplemented from FilterBase.

◆ validParams()

static InputParameters SphericalHarmonicsFilter::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.

◆ _order

const unsigned int SphericalHarmonicsFilter::_order
protected

The spherical harmonics order.


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