19#ifndef _MURETALLY_HXX_
20#define _MURETALLY_HXX_
121 void Init(
int MatNumber,
Reaction *R,
double constant = 1);
193 void AddEnergy(
int NE,
double Emin,
double Emax,
bool Linear =
false);
202 void AddEnergy(
double Emin,
double Emax,
int N_by_Decade = 10);
231 void AddTime(
int NT,
double *T);
241 void AddTime(
int NT,
double Tmin,
double Tmax,
bool Linear =
false);
250 void AddTime(
double Tmin,
double Tmax,
int N_by_Decade = 10);
252 void Add(
Cell *C,
bool SetCellTally =
true);
253 void Add(
PinCell *C,
int i,
bool SetCellTally =
true);
255 void Add(
int universe);
Header file for Monte-Carlo Source abstract class.
Header file for Material class.
Header file for MureTimeEnergyGrid Abstract class.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
A Material constituing a Cell.
Definition Material.hxx:83
Define a general Tally Bin.
Definition MureTallyBin.hxx:62
Define a MURE Tally.abstract class.
Definition MureTally.hxx:141
MureTimeEnergyGrid::BinRange ETBinRange
Definition MureTally.hxx:144
bool IsVolumeCalculationSkept()
Definition MureTally.hxx:302
virtual void SetBinVolume(int i, double V, int k=0)=0
set the ith bin volume of (the kth partial bin in a LatticeBin) Tally bin
bool fSkipVolumeCalc
flag to know whether or not try to calculate Volume/Surface
Definition MureTally.hxx:327
vector< MureTallyBin * > & GetBin()
Definition MureTally.hxx:274
virtual MureTally * Clone()=0
The only good way to call copy constructor.
string PrintDebugET()
Definition MureTally.cxx:431
virtual MureTimeEnergyGrid * GetNewTimeEnergyGrid()=0
A time &energy grid.
bool IsPrintable()
Definition MureTally.hxx:286
MureTimeEnergyGrid * fTimeEnergyGrid
store time &/or energy grid
Definition MureTally.hxx:323
virtual vector< double > GetBinVolume(int i)=0
returns the ith bin volume of Tally bin
bool IsMaterialUsed(int num)
Definition MureTally.cxx:175
virtual ~MureTally()
Destructor.
Definition MureTally.cxx:149
vector< TallyMultiplicator * > fMultiplicator
array of Multiplicator bin
Definition MureTally.hxx:322
int GetType()
Definition MureTally.hxx:290
int IsInTallyBin(Cell *C)
whether or not the cell/suface "num" is in the bin
Definition MureTally.cxx:555
vector< MureTallyBin * > fBin
array of Cell/Surface bin
Definition MureTally.hxx:324
void Add(TallyMultiplicator *Multiplicator)
Definition MureTally.hxx:258
void SetComment(string str)
Definition MureTally.hxx:168
void SetPrintable(bool flag=true)
Definition MureTally.hxx:282
bool fIsPrintable
True for not printable tallies.
Definition MureTally.hxx:325
int fNumber
Tally number.
Definition MureTally.hxx:321
int fType
Tally type.
Definition MureTally.hxx:320
void SetType(int type)
Definition MureTally.hxx:294
void SkipVolumeCalculation()
Definition MureTally.hxx:298
void AddMultiplicator(Material *M, int reaction, double constant=1)
add a Tally Multiplicator
Definition MureTally.cxx:204
MureTally()
Definition MureTally.cxx:108
void SetNumber(int num)
Definition MureTally.hxx:158
bool NeedVolume()
Whether or not a stochastic volume/surface calculation is needed.
Definition MureTally.cxx:575
void SetPinCellTally(bool flag)
Definition MureTally.hxx:306
MureTallyBin * GetBin(int i)
Definition MureTally.hxx:270
virtual string PrintMultiplicator()=0
string fComment
Tally coment (Added by T. Courau)
Definition MureTally.hxx:326
void AddMultiGroupEnergy(double Emin, double Emax, double decad_mult=1)
Definition MureTally.cxx:320
int GetNumber()
Definition MureTally.hxx:154
bool IsPinCellTally()
Definition MureTally.hxx:310
void AddEnergy(int NE, double *E)
Definition MureTally.cxx:236
void Add(Cell *C, bool SetCellTally=true)
Add a cell bin.
Definition MureTally.cxx:438
bool fIsPinCellTally
flag to know whether the tally is from PinCell
Definition MureTally.hxx:328
void AddTime(int NT, double *T)
Definition MureTally.cxx:361
vector< TallyMultiplicator * > & GetMultiplicator()
Definition MureTally.hxx:265
Define a Time and/or Energy Grid for tallies (abstract class)
Definition MureTimeEnergyGrid.hxx:40
pair< double, double > BinRange
Min and Max value.
Definition MureTimeEnergyGrid.hxx:43
PinCell class allows to create cylindrical cell set included as Matrioshka.
Definition PinCell.hxx:53
Define a Reaction list for Tally multiplicator inputs.
Definition Reaction.hxx:41
Define a Tally Multiplicator entry (FM card in MCNP, dr card in Serpent).
Definition MureTally.hxx:56
double GetConstant()
Definition MureTally.hxx:111
~TallyMultiplicator()
Destructor.
Definition MureTally.cxx:84
Reaction * fReaction
Reaction of the FM/dr card.
Definition MureTally.hxx:124
int GetMaterialNumber()
Definition MureTally.hxx:107
double fConstant
multiplicative constant of the FM, not use in Serpent.
Definition MureTally.hxx:122
void Init(int MatNumber, Reaction *R, double constant=1)
Build a TallyMultiplicator. Called by constructors.
Definition MureTally.cxx:89
int fMatNumber
Material Number of the FM/dr card.
Definition MureTally.hxx:123
Reaction * GetReaction()
Definition MureTally.hxx:115
the namespace of the Standard C++