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

This action adds tallies for use in simulations that couple OpenMC. More...

#include <AddTallyAction.h>

Inheritance diagram for AddTallyAction:
[legend]

Public Member Functions

 AddTallyAction (const InputParameters &parameters)
 
virtual void act () override
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

void addMeshTally (unsigned int instance=0, const Point &translation=Point(0.0, 0.0, 0.0))
 
void addTally ()
 
void fillMeshTranslations ()
 
void readMeshTranslations (const std::vector< std::vector< double >> &data)
 

Protected Attributes

std::vector< Point > _mesh_translations
 The number of mesh translations. More...
 

Detailed Description

This action adds tallies for use in simulations that couple OpenMC.

Constructor & Destructor Documentation

◆ AddTallyAction()

AddTallyAction::AddTallyAction ( const InputParameters &  parameters)

Member Function Documentation

◆ 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
instancethe index of the tally into the translation array
translationthe 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
[in]datadata from file

◆ validParams()

static InputParameters AddTallyAction::validParams ( )
static

Member Data Documentation

◆ _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: