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

#include <ComputeTCScatterMGXSAux.h>

Inheritance diagram for ComputeTCScatterMGXSAux:
[legend]

Public Member Functions

 ComputeTCScatterMGXSAux (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual Real computeValue () override
 
bool mappedElement ()
 
Real stdev (const double &mean, const double &sum_sq, unsigned int realizations) const
 

Protected Attributes

const VariableValue & _p0_scattering_rates
 The group-wise P0 scattering reaction rate for computing the MGXS. More...
 
std::vector< const VariableValue * > _p1_scattering_rates
 The group-wise P1 scattering reaction rates for computing the MGXS. More...
 
const VariableValue & _scalar_flux
 The group-wise scalar flux for computing the MGXS. More...
 
OpenMCCellAverageProblem_openmc_problem
 The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase. More...
 

Detailed Description

This auxkernel computes an transport-corrected multi-group cross section given a group-wise scattering reaction rate, and the outgoing sum of group-wise P1 scattering reaction rates, and the scalar flux.

Constructor & Destructor Documentation

◆ ComputeTCScatterMGXSAux()

ComputeTCScatterMGXSAux::ComputeTCScatterMGXSAux ( const InputParameters &  parameters)

Member Function Documentation

◆ computeValue()

virtual Real ComputeTCScatterMGXSAux::computeValue ( )
overrideprotectedvirtual

◆ mappedElement()

template<typename ComputeValueType >
bool OpenMCAuxKernelTempl< ComputeValueType >::mappedElement ( )
protectedinherited

Determine whether the MOOSE element maps to an OpenMC cell to make sure we don't call accessor methods that rely on valid values for the cell instance and index

Returns
whether element maps to OpenMC

◆ stdev()

Real OpenMCBase::stdev ( const double &  mean,
const double &  sum_sq,
unsigned int  realizations 
) const
protectedinherited

Compute standard deviation of a variable

Parameters
[in]meanmean
[in]sum_sqsum squared
[in]realizationsthe number of realizations of the variable
Returns
standard deviation

◆ validParams()

static InputParameters ComputeTCScatterMGXSAux::validParams ( )
static

Member Data Documentation

◆ _openmc_problem

OpenMCCellAverageProblem* OpenMCBase::_openmc_problem
protectedinherited

The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase.

◆ _p0_scattering_rates

const VariableValue& ComputeTCScatterMGXSAux::_p0_scattering_rates
protected

The group-wise P0 scattering reaction rate for computing the MGXS.

◆ _p1_scattering_rates

std::vector<const VariableValue *> ComputeTCScatterMGXSAux::_p1_scattering_rates
protected

The group-wise P1 scattering reaction rates for computing the MGXS.

◆ _scalar_flux

const VariableValue& ComputeTCScatterMGXSAux::_scalar_flux
protected

The group-wise scalar flux for computing the MGXS.


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