83 string Print(
int BeforeRparenthesis = 0)
override;
113 string Print(
int BeforeRparenthesis = 0)
override;
143 string Print(
int BeforeRparenthesis = 0)
override;
188 Tally(
int type,
int particle);
192 return new Tally(*
this);
214 string Print()
override;
Header file for Cell class.
Header file for MCNP::TimeEnergyGrid class.
Header file for Monte-Carlo Source abstract class.
Header file for MureGroupBin class.
Header file for MureLatticeBin class.
Header file for MureSimpleBin class.
Header file for TallyMultiplicator and MureTally classes.
Header file for MureTimeEnergyGrid 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 MCNP group a cell or surface bin.
Definition MCNPTally.hxx:99
GroupBin(MureTallyBin *theTallyBin)
Build a Group Bin of type of TallyBin.
Definition MCNPTally.hxx:110
GroupBin(const GroupBin &b)=default
Copy constructor.
GroupBin * Clone() override
The "Virtual Copy Constructor".
Definition MCNPTally.hxx:103
GroupBin(PinCell *C, int layeridx)
Build a Group Bin of type Cell from a PinCell layer.
Definition MCNPTally.hxx:108
GroupBin(Shape_ptr S)
Build a Group Bin of type Surface.
Definition MCNPTally.hxx:109
GroupBin(int universe)
Build a Group Bin based on the universe shorthand, for cell type only.
Definition MCNPTally.hxx:111
GroupBin(Cell *C)
Build a Group Bin of type Cell.
Definition MCNPTally.hxx:107
GroupBin()
default constructor.
Definition MCNPTally.hxx:101
string Print(int BeforeRparenthesis=0) override
Print the MureTallyBin.
Definition MCNPTally.cxx:81
Define Lattice Cell type bin.
Definition MCNPTally.hxx:131
LatticeBin(const LatticeBin &b)=default
Copy constructor.
LatticeBin * Clone() override
The "Virtual Copy Constructor".
Definition MCNPTally.hxx:134
LatticeBin(MureTallyBin *theTallyBin)
Definition MCNPTally.hxx:140
LatticeBin(Cell *C, string pos="")
Build a Lattice Bin of type Cell.
Definition MCNPTally.hxx:138
LatticeBin(PinCell *C, int layeridx, string pos="")
Build a Lattice Bin of type Cell from a PinCell layer.
Definition MCNPTally.hxx:139
string Print(int BeforeRparenthesis=0) override
Print the MureTallyBin.
Definition MCNPTally.cxx:103
LatticeBin(int universe)
Build a Lattice Bin of type Cell only.
Definition MCNPTally.hxx:141
Define a MCNP Simple Bin.
Definition MCNPTally.hxx:69
string Print(int BeforeRparenthesis=0) override
Print the SimpleBin in MCNP.
Definition MCNPTally.cxx:51
SimpleBin(Shape_ptr S)
constructor for a Surface bin
Definition MCNPTally.hxx:79
SimpleBin(PinCell *C, int layeridx)
constructor for Cell bin from a PinCell layer
Definition MCNPTally.hxx:78
SimpleBin()
default constructor.
Definition MCNPTally.hxx:71
SimpleBin(Cell *C)
constructor for a Cell bin
Definition MCNPTally.hxx:77
SimpleBin * Clone() override
The "Virtual Copy Constructor".
Definition MCNPTally.hxx:73
SimpleBin(int universe)
constructor for a universe bin
Definition MCNPTally.hxx:80
SimpleBin(const SimpleBin &b)=default
Copy constructor.
Define a MCNP Tally.
Definition MCNPTally.hxx:161
string PrintMultiplicator() override
Print the Tally Multiplicator in MCNP.
Definition MCNPTally.cxx:333
vector< double > fConversionFactor
fluence-to-dose conversion factor (FTD)
Definition MCNPTally.hxx:283
string Print() override
Print the Tally in MCNP.
Definition MCNPTally.cxx:260
TimeEnergyGrid * GetNewTimeEnergyGrid() override
return a Time &Energy grid
Definition MCNPTally.cxx:447
bool fELinearFTD
whether linear or log interpolation is done on fEnergy for FTD
Definition MCNPTally.hxx:284
~Tally() override=default
Destructor.
void AddFluenceToDoseConversion(bool ELinear=false, bool CFLinear=false)
Definition MCNPTally.cxx:405
string fParticle
Particle Type (N, P, ..)
Definition MCNPTally.hxx:279
vector< double > GetBinVolume(int i) override
returns the ith bin volume of Tally bin
Definition MCNPTally.cxx:360
void SetBinSurface(int i, double S)
set the ith bin surface of Tally bin
Definition MCNPTally.cxx:399
void SetBinVolume(int i, double V, int k=0) override
set the ith bin volume of (the kth partial bin in a LatticeBin) Tally bin
Definition MCNPTally.cxx:383
string GetParticle()
Definition MCNPTally.hxx:241
void SetParticleNP()
Definition MCNPTally.hxx:253
vector< double > GetEnergyBinningVector()
Definition MCNPTally.hxx:270
void SetParticleNPE()
Definition MCNPTally.hxx:261
void SetParentheses(bool flag=true)
Definition MCNPTally.hxx:265
void SetParticleN()
Definition MCNPTally.hxx:245
vector< double > fEnergy
Energy bin vector.
Definition MCNPTally.hxx:282
bool fParentheses
Enclose bins in parentheses.
Definition MCNPTally.hxx:280
void SetParticleP()
Definition MCNPTally.hxx:249
bool fStar
true if fType < 0 use if you want to print a * before f (for instance *f8:P change the unit of the ta...
Definition MCNPTally.hxx:281
Tally * Clone() override
The only good way to call copy constructor.
Definition MCNPTally.hxx:190
void SetTallySpecialTreatment(string Treatment)
Definition MCNPTally.hxx:231
void SetParticleNE()
Definition MCNPTally.hxx:257
double GetBinSurface(int i)
returns the ith bin surface of Tally bin
Definition MCNPTally.cxx:372
bool fCFLinearFTD
whether linear or log interpolation is done on FTD
Definition MCNPTally.hxx:285
string fTallySpecialTreatment
Definition MCNPTally.hxx:286
Define a Time and/or Energy Grid for tallies.
Definition MCNPTimeEnergyGrid.hxx:47
Define group cell or surface bin.
Definition MureGroupBin.hxx:58
Define Lattice Cell type bin.
Definition MureLatticeBin.hxx:58
Define a general Simple Tally Bin (cell, universe or surface).
Definition MureSimpleBin.hxx:69
Define a general Tally Bin.
Definition MureTallyBin.hxx:62
Define a MURE Tally.abstract class.
Definition MureTally.hxx:141
MureTimeEnergyGrid * fTimeEnergyGrid
store time &/or energy grid
Definition MureTally.hxx:323
PinCell class allows to create cylindrical cell set included as Matrioshka.
Definition PinCell.hxx:53
This MCNP (concrete) class is used to built a reactor assembly.
Definition MCNPBrick.hxx:41
TallyType
Define tally type according to MCNP notation (1=Current/surf, 2=flux/surf, 4=flux/cell,...
Definition MCNPTally.hxx:53
@ kCellFlux
Definition MCNPTally.hxx:53
@ kSurfaceCurrent
Definition MCNPTally.hxx:53
@ kEnergyDeposition
Definition MCNPTally.hxx:54
@ kSurfaceFlux
Definition MCNPTally.hxx:53
@ kFissionEnergyDeposition
Definition MCNPTally.hxx:54
the namespace of the Standard C++