24 #include "openmc/tallies/filter_mesh.h" 31 MeshTally(
const InputParameters & parameters);
38 virtual std::pair<unsigned int, openmc::Filter *>
spatialFilter()
override;
56 unsigned int local_score,
57 unsigned int global_score,
58 std::vector<xt::xtensor<double, 1>> tally_vals)
override;
virtual Real storeResultsInner(const std::vector< unsigned int > &var_numbers, unsigned int local_score, unsigned int global_score, std::vector< xt::xtensor< double, 1 >> tally_vals) override
const openmc::LibMesh * _mesh_template
OpenMC unstructured mesh instance for use with mesh tallies.
Definition: MeshTally.h:92
static InputParameters validParams()
virtual std::pair< unsigned int, openmc::Filter * > spatialFilter() override
openmc::MeshFilter * _mesh_filter
OpenMC mesh filter for this unstructured mesh tally.
Definition: MeshTally.h:89
unsigned int _mesh_index
The index of the mesh added by this tally.
Definition: MeshTally.h:86
Definition: TallyBase.h:33
const std::string * _mesh_template_filename
Definition: MeshTally.h:77
Definition: MeshTally.h:26
Point _mesh_translation
The translation to apply to the mesh template.
Definition: MeshTally.h:80
unsigned int _instance
The index into an array of mesh translations.
Definition: MeshTally.h:83
void checkMeshTemplateAndTranslations() const
virtual void resetTally() override
A function to reset the tally. MeshTally overrides this function to delete the OpenMC mesh.
MeshTally(const InputParameters ¶meters)