This action adds tallies for use in simulations that couple OpenMC.
More...
#include <AddTallyAction.h>
This action adds tallies for use in simulations that couple OpenMC.
◆ AddTallyAction()
AddTallyAction::AddTallyAction |
( |
const InputParameters & |
parameters | ) |
|
◆ act()
virtual void AddTallyAction::act |
( |
| ) |
|
|
overridevirtual |
◆ addMeshTally()
void AddTallyAction::addMeshTally |
( |
unsigned int |
instance = 0 , |
|
|
const Point & |
translation = Point(0.0, 0.0, 0.0) |
|
) |
| |
|
protected |
This function adds a mesh tally which may be an offset into an array of translations with an instance index. Used for translated mesh tallies that all use the same base mesh for the spatial filter.
- Parameters
-
instance | the index of the tally into the translation array |
translation | the translation vector at instance |
◆ addTally()
void AddTallyAction::addTally |
( |
| ) |
|
|
protected |
This function adds non-mesh tallies which are not copied and translated through the spatial domain of the problem. Currently used for distributed cell tallies, but other tally objects (such as Zernike functional expansion tallies) would be added by this function as well.
◆ fillMeshTranslations()
void AddTallyAction::fillMeshTranslations |
( |
| ) |
|
|
protected |
Fill the mesh translations to be applied to an unstructured mesh tally; if no translations are explicitly given, a translation of (0.0, 0.0, 0.0) is assumed.
◆ readMeshTranslations()
void AddTallyAction::readMeshTranslations |
( |
const std::vector< std::vector< double >> & |
data | ) |
|
|
protected |
Read the mesh translations from file data
- Parameters
-
◆ validParams()
static InputParameters AddTallyAction::validParams |
( |
| ) |
|
|
static |
◆ _mesh_translations
std::vector<Point> AddTallyAction::_mesh_translations |
|
protected |
The number of mesh translations.
The documentation for this class was generated from the following file: