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 a tally which may be an offset into an array of translations with index instance. 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 a a tally which may be an offset into an array of translations with index instance. Used for translated mesh tallies that all use the same base mesh for the spatial filter.
◆ 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: