24#include "openmc/tallies/filter_mesh.h"
43 virtual std::pair<unsigned int, openmc::Filter *>
spatialFilter()
override;
73 unsigned int local_score,
74 const std::vector<OMCTensor> & tally_vals,
75 bool norm_by_src_rate =
true)
override;
Definition MeshTally.h:32
unsigned int _mesh_index
The index of the mesh added by this tally.
Definition MeshTally.h:103
static InputParameters validParams()
virtual bool addingGlobalTally() const override
Definition MeshTally.h:59
virtual void resetTally() override
A function to reset the tally. MeshTally overrides this function to delete the OpenMC mesh.
const unsigned int _instance
The index into an array of mesh translations.
Definition MeshTally.h:100
openmc::MeshFilter * _mesh_filter
OpenMC mesh filter for this unstructured mesh tally.
Definition MeshTally.h:106
MeshTally(const InputParameters ¶meters)
openmc::UnstructuredMesh * _mesh_template
OpenMC unstructured mesh instance for use with mesh tallies.
Definition MeshTally.h:109
std::vector< unsigned int > _bin_to_element_mapping
A mapping between the OpenMC bins (active block restricted elements) and all elements.
Definition MeshTally.h:122
const std::string * _mesh_template_filename
Definition MeshTally.h:94
Point _mesh_translation
The translation to apply to the mesh template.
Definition MeshTally.h:97
virtual std::pair< unsigned int, openmc::Filter * > spatialFilter() override
virtual void gatherLinkedSum() override
void checkMeshTemplateAndTranslations()
const bool _use_dof_map
Whether we're using an indirection layer to map between the OpenMC mesh tally and the MOOSE mesh.
Definition MeshTally.h:112
std::unique_ptr< libMesh::ReplicatedMesh > _libmesh_mesh_copy
Definition MeshTally.h:120
virtual Real storeResultsInner(const std::vector< unsigned int > &var_numbers, unsigned int local_score, const std::vector< OMCTensor > &tally_vals, bool norm_by_src_rate=true) override
Definition TallyBase.h:36
const bool _needs_global_tally
Definition TallyBase.h:465
Definition OpenMCBase.h:26