MURE
|
Define a Tally Multiplicator entry (FM card in MCNP, dr card in Serpent). More...
#include <MureTally.hxx>
Public Member Functions | |
TallyMultiplicator (Material *M, int reaction, double constant=1) | |
TallyMultiplicator (Material *M, Reaction *R, double constant=1) | |
TallyMultiplicator (int MatNumber, int reaction, double constant=1) | |
TallyMultiplicator (int MatNumber, Reaction *R, double constant=1) | |
Constructor of Multiplicator Bin. | |
TallyMultiplicator (const TallyMultiplicator &fm) | |
Copy constructor. | |
~TallyMultiplicator () | |
Destructor. | |
int | GetMaterialNumber () |
double | GetConstant () |
Reaction * | GetReaction () |
Private Member Functions | |
void | Init (int MatNumber, Reaction *R, double constant=1) |
Build a TallyMultiplicator. Called by constructors. | |
Private Attributes | |
double | fConstant |
multiplicative constant of the FM, not use in Serpent. | |
int | fMatNumber |
Material Number of the FM/dr card. | |
Reaction * | fReaction |
Reaction of the FM/dr card. | |
Define a Tally Multiplicator entry (FM card in MCNP, dr card in Serpent).
A TallyMultiplicator is used to modify the output of a Tally (or detector in Serpent) ; The multiplicator, multiply the tally result by a function as
The function is generally a reaction, thus the tally response is a reaction rate.
TallyMultiplicator::TallyMultiplicator | ( | Material * | M, |
int | reaction, | ||
double | constant = 1 |
||
) |
Constructor of Multiplicator Bin. It allows to calculate a reaction rate (flux*sigma) for the given reaction number on the Material M. The constant is not use in Serpent. In MCNP, the reaction rate is multiply by the "constant" parameter but if constant<0 then constant is replaced by |constant|*(atom density of the cell where Tally is wanted). It can be used to calculated macroscopic reaction rates.
Constructor of Multiplicator Bin. It allows to calculate a reaction rate (flux*sigma) for the given reaction number on the Material M. The constant is not use in Serpent. In MCNP, the reaction rate is multiply by the "constant" parameter but if constant<0 then constant is replaced by |constant|*(atom density of the cell where Tally is wanted). It can be used to calculated macroscopic reaction rates.
TallyMultiplicator::TallyMultiplicator | ( | int | MatNumber, |
int | reaction, | ||
double | constant = 1 |
||
) |
Constructor of Multiplicator Bin. see description of TallyMultiplicator(Material *M, int reaction, double constant=1)
TallyMultiplicator::TallyMultiplicator | ( | int | MatNumber, |
Reaction * | R, | ||
double | constant = 1 |
||
) |
Constructor of Multiplicator Bin.
see description of TallyMultiplicator(Material *M, int reaction, double constant=1)
TallyMultiplicator::TallyMultiplicator | ( | const TallyMultiplicator & | fm | ) |
Copy constructor.
TallyMultiplicator::~TallyMultiplicator | ( | ) |
Destructor.
|
inline |
< a multiplicative constante (not use in Serpent)
|
inline |
< return the material used to calculate the reaction
|
inline |
< The reaction that multiply the tally result.
|
private |
Build a TallyMultiplicator. Called by constructors.
|
private |
multiplicative constant of the FM, not use in Serpent.
|
private |
Material Number of the FM/dr card.