17 typedef std::vector<std::vector<std::vector<FP_PRECISION> > > Vector3D;
51 bool _lattice_allocated;
61 bool volume_average=
false);
65 bool volume_average=
false);
Mesh(Solver *solver, Lattice *lattice=NULL)
The Mesh constructor.
Definition: Mesh.cpp:12
Vector3D getFormattedReactionRates(RxType rx, bool volume_average=false)
Tallies reaction rates of the given type over the Mesh lattice.
Definition: Mesh.cpp:204
A Mesh is a lattice overlaid on the Geometry across which reaction rates can be tallied from converge...
Definition: Mesh.h:42
Vector3D getNonUniformFormattedReactionRates(std::vector< std::vector< double > > widths_offsets, RxType rx, bool volume_average=false)
Tallies reaction rates of the given type over the user defined non-uniform lattice.
Definition: Mesh.cpp:243
void setLattice(Lattice *lattice)
Set the _lattice of a mesh to be an existing one, for which the user inputs the dimensions.
Definition: Mesh.cpp:75
RxType
The type of reaction to be tallied.
Definition: Mesh.h:23
std::vector< FP_PRECISION > getReactionRates(RxType rx, bool volume_average=false)
Tallies reaction rates of the given type over the Mesh lattice.
Definition: Mesh.cpp:91
This is an abstract base class which different Solver subclasses implement for different architecture...
Definition: Solver.h:121
Represents a repeating 3D Lattice of Universes.
Definition: Universe.h:156
void createLattice(int num_x, int num_y, int num_z=1)
Creates an internal lattice over which to tally reaction rates with the user-input dimensions...
Definition: Mesh.cpp:36
virtual ~Mesh()
The Mesh destructor deletes its lattice if the lattice was allocated internally.
Definition: Mesh.cpp:23