19#ifndef _MURELATTICEBIN_HXX_
20#define _MURELATTICEBIN_HXX_
84 void Add(
Cell *C,
int InclusionLevel = 0,
string pos =
"");
94 void Add(
PinCell *C,
int layeridx,
int InclusionLevel,
string pos =
"");
105 void Add(
int universe,
int InclusionLevel = 0);
111 string Print(
int BeforeRparenthesis = 0)
override;
113 bool IsInBin(
int num)
override;
124 vector < vector < MureTallyBin *> >
fLevel;
Header file for Cell class.
Header file for MureTallyBin abstract class.
Header file for Shape class and Shape_ptr type.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
Define Lattice Cell type bin.
Definition MureLatticeBin.hxx:58
void AddContainer(Cell *C, string pos="")
Add a Cell in a new outer level.
Definition MureLatticeBin.cxx:289
vector< vector< MureTallyBin * > > fLevel
array of array of MureTallyBin.
Definition MureLatticeBin.hxx:124
string Print(int BeforeRparenthesis=0) override
Print the MureLatticeBin in MCNP.
Definition MureLatticeBin.cxx:307
void UpdateTallyBinVolume() override
Reread all bins and assign necessary volume.
Definition MureLatticeBin.cxx:315
bool IsLatticeBin() override
Definition MureLatticeBin.hxx:71
vector< vector< bool > > fHasPosition
flag to know if a given cell has restricted positions in a lattice
Definition MureLatticeBin.hxx:125
void Add(Cell *C, int InclusionLevel=0, string pos="")
Definition MureLatticeBin.cxx:190
string PrintVolume() override
Print the MureLatticeBin list of volume in MCNP.
Definition MureLatticeBin.cxx:320
MureTallyBin * Clone() override
The "Virtual Copy Constructor".
Definition MureLatticeBin.hxx:66
bool IsInBin(int num) override
whether or not the universe "num" is in the bin
Definition MureLatticeBin.cxx:348
~MureLatticeBin() override
Destructor.
Definition MureLatticeBin.cxx:161
vector< vector< MureTallyBin * > > GetLevelVector()
Definition MureLatticeBin.hxx:116
vector< vector< string > > fPosition
array of the positions of each cell in each level.
Definition MureLatticeBin.hxx:126
Define a general Tally Bin.
Definition MureTallyBin.hxx:62
PinCell class allows to create cylindrical cell set included as Matrioshka.
Definition PinCell.hxx:53
the namespace of the Standard C++