Cardinal
|
#include <SetupMGXSAction.h>
Public Member Functions | |
SetupMGXSAction (const InputParameters ¶meters) | |
virtual void | act () override |
bool | addingCellTallies () const |
std::vector< double > | getGroupBoundaries (energyfilter::GroupStructureEnum group_structure) |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
OpenMCCellAverageProblem * | openmcProblem () |
void | addFilters () |
A function to add the filters necessary for MGXS generation. More... | |
void | addTallies () |
A function to add the tallies necessary for MGXS generation. More... | |
void | addAuxVars () |
A function which adds auxvariables that store the computed MGXS. More... | |
void | addAuxKernels () |
A function which adds auxkernels that compute the MGXS. More... | |
void | modifyOutputs () |
Modify outputs to hide tally variables used to generate MGXS in outputs. More... | |
virtual void | setObjectBlocks (InputParameters ¶ms, const std::vector< SubdomainName > &blocks) |
Protected Attributes | |
const tally::TallyTypeEnum | _t_type |
The tally type to add. More... | |
const MooseEnum | _particle |
The particle to filter for when generating cross sections. More... | |
MooseEnum | _estimator |
The estimator to use when generating multi-group cross sections. More... | |
const bool | _add_scattering |
const unsigned int | _l_order |
The Legendre order. More... | |
bool | _transport_correction |
Whether a P0 transport correction should be applied to isotropic scattering cross sections. More... | |
const bool | _add_fission |
Whether or not group-wise nu-fission MGXS should be computed. More... | |
const bool | _add_kappa_fission |
Whether or not group-wise kappa-fission values should be computed. More... | |
const bool | _add_inv_vel |
Whether or not group-wise inverse velocity values should be computed. More... | |
const bool | _add_diffusion |
Whether or not group-wise diffusion coefficients should be computed. More... | |
const Real & | _void_diff |
The value the diffusion coefficient should take in a void region. More... | |
const bool | _add_absorption |
Whether or not group-wise absorption MGXS should be computed. More... | |
const bool | _hide_tally_vars |
Whether tally variables should be hidden. More... | |
std::vector< const TallyBase * > | _mgxs_tallies |
A list of tallies added by this action. More... | |
bool | _need_p1_scatter |
Whether or not scattering reaction rates need to be at least order P1. More... | |
std::vector< SubdomainName > | _blocks |
subdomains to which this action applies More... | |
std::vector< Real > | _energy_bnds |
The energy bounds used to build bins. More... | |
const bool | _reverse_bins |
Whether or not to reverse the ordering of energy bins during output. More... | |
This action automates the generation of multi-group cross sections for an OpenMC case wrapped in Cardinal. These cross sections are generated with Cardinal's mapped tally system.
SetupMGXSAction::SetupMGXSAction | ( | const InputParameters & | parameters | ) |
|
overridevirtual |
|
protected |
A function which adds auxkernels that compute the MGXS.
|
protected |
A function which adds auxvariables that store the computed MGXS.
|
protected |
A function to add the filters necessary for MGXS generation.
|
inline |
|
protected |
A function to add the tallies necessary for MGXS generation.
|
inherited |
A function which converts a GroupStructureEnum into the vector representation of the group structure.
[in] | group_structure | the requested group structure |
|
protected |
Modify outputs to hide tally variables used to generate MGXS in outputs.
|
protected |
A function to cast the FEProblem to an OpenMCCellAverageProblem
|
protectedvirtualinherited |
Set the blocks to which an object created by this action applies
[in] | params | input parameters |
[in] | blocks | block that the object applies to |
|
static |
|
protected |
Whether or not group-wise absorption MGXS should be computed.
|
protected |
Whether or not group-wise diffusion coefficients should be computed.
|
protected |
Whether or not group-wise nu-fission MGXS should be computed.
|
protected |
Whether or not group-wise inverse velocity values should be computed.
|
protected |
Whether or not group-wise kappa-fission values should be computed.
|
protected |
Whether or not group-wise scattering cross sections for the scattering matrix should be computed.
|
protectedinherited |
subdomains to which this action applies
|
protectedinherited |
The energy bounds used to build bins.
|
protected |
The estimator to use when generating multi-group cross sections.
|
protected |
Whether tally variables should be hidden.
|
protected |
The Legendre order.
|
protected |
A list of tallies added by this action.
|
protected |
Whether or not scattering reaction rates need to be at least order P1.
|
protected |
The particle to filter for when generating cross sections.
|
protectedinherited |
Whether or not to reverse the ordering of energy bins during output.
|
protected |
The tally type to add.
|
protected |
Whether a P0 transport correction should be applied to isotropic scattering cross sections.
|
protected |
The value the diffusion coefficient should take in a void region.