#include <OpenMCTallyEditor.h>
Public Member Functions | |
OpenMCTallyEditor (const InputParameters ¶meters) | |
bool | tallyExists () const |
int32_t | tallyIndex () const |
virtual void | execute () override |
virtual void | initialize () override |
virtual void | finalize () override |
void | duplicateTallyError (const int32_t &id) const |
void | mappedTallyError (const int32_t &id) const |
int32_t | tallyId () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const int32_t & | _tally_id |
Tally ID to modify. | |
OpenMCCellAverageProblem * | _openmc_problem |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase. | |
User object to modify an OpenMC tally
OpenMCTallyEditor::OpenMCTallyEditor | ( | const InputParameters & | parameters | ) |
void OpenMCTallyEditor::duplicateTallyError | ( | const int32_t & | id | ) | const |
Error to throw if multiple tally editor objects have the same tally id
[in] | id | ID to use in error message |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
void OpenMCTallyEditor::mappedTallyError | ( | const int32_t & | id | ) | const |
Error to throw if tally editor is trying to edit a tally Cardinal is controlling for multiphysics
[in] | id | ID to use in error message |
bool OpenMCTallyEditor::tallyExists | ( | ) | const |
|
inline |
Get the tally ID
int32_t OpenMCTallyEditor::tallyIndex | ( | ) | const |
Get the index of the tally in OpenMC's data space, creating it if necessary
|
static |
|
protectedinherited |
The OpenMCCellAverageProblem required by all objects which inherit from OpenMCBase.
|
protected |
Tally ID to modify.