Void coefficient calculations for a general system. More...
#include <VoidCoefCalculator.hxx>
Public Member Functions | |
VoidCoefCalculator (int Nvalues=10, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0) | |
Constructor. More... | |
~VoidCoefCalculator () | |
Destructor. More... | |
void | Run () |
launch the calculation More... | |
void | PrintResults (string FileName) |
Print results to a file. More... | |
void | SetTempFileName (string FileName) |
Set the temp file name. More... | |
void | CalculateVolumes () |
Calculate moderators' volumes necessary for the average density. More... | |
Protected Attributes | |
int | fNvalues |
Number of MCNP calculations. More... | |
int | fNparticules |
Number of particles. More... | |
int | fNActivesCycles |
Number of actives cycles. More... | |
int | fNInactivesCycles |
Number of inactives cycles. More... | |
float | fKeffEstimator |
Expected Keff. More... | |
string | fTempFileName |
The name of MCNP tempory file name. More... | |
vector< double > | fFractions |
Moderator void fractions between 1 and 0 (1 = full density) More... | |
vector< double > | fKeffValues |
Output values of MCNP criticality calculations. More... | |
vector< double > | fKeffErrors |
Output values of MCNP Keff statistical errors. More... | |
vector< double > | fReactivitiesValues |
Output values of reactivity. More... | |
vector< double > | fDensitiesValues |
Output values of various densities. More... | |
vector< double > | fVoidCoeffValues |
Output values of void coefficient. More... | |
vector< double > | fRapportValues |
Output values of kinf(i)/kinf(nominal) More... | |
vector< double > | fVolumes |
Volume of moderators' cells. More... | |
vector< Cell * > | fModeratorCells |
The cells implicated in our calcul. More... | |
int | fModeratorCounter |
Number of moderator cells. More... | |
Private Member Functions | |
void | CalculateFractions () |
Calculate the void fractions vector from fNvalues given. More... | |
void | CountModeratorCells () |
Count the cells that are intersting to us. More... | |
void | PrintAllMaterials () |
Count the cells that are intersting to us. More... | |
Void coefficient calculations for a general system.
Moderator density is decreased in steps and change in reactivity is determined For all cells containing moderator materials in the system
VoidCoefCalculator::VoidCoefCalculator | ( | int | Nvalues = 10 , |
int | Nparticules = 2000 , |
||
int | NActivesCycles = 100 , |
||
int | NInactivesCycles = 30 , |
||
float | KeffEstimator = 1.0 |
||
) |
Constructor.
VoidCoefCalculator::~VoidCoefCalculator | ( | ) |
Destructor.
|
private |
Calculate the void fractions vector from fNvalues given.
void VoidCoefCalculator::CalculateVolumes | ( | ) |
Calculate moderators' volumes necessary for the average density.
|
private |
Count the cells that are intersting to us.
|
private |
Count the cells that are intersting to us.
void VoidCoefCalculator::PrintResults | ( | string | FileName | ) |
Print results to a file.
void VoidCoefCalculator::Run | ( | ) |
launch the calculation
|
inline |
Set the temp file name.
|
protected |
Output values of various densities.
|
protected |
Moderator void fractions between 1 and 0 (1 = full density)
|
protected |
Output values of MCNP Keff statistical errors.
|
protected |
Expected Keff.
|
protected |
Output values of MCNP criticality calculations.
|
protected |
The cells implicated in our calcul.
|
protected |
Number of moderator cells.
|
protected |
Number of actives cycles.
|
protected |
Number of inactives cycles.
|
protected |
Number of particles.
|
protected |
Number of MCNP calculations.
|
protected |
Output values of kinf(i)/kinf(nominal)
|
protected |
Output values of reactivity.
|
protected |
The name of MCNP tempory file name.
|
protected |
Output values of void coefficient.
|
protected |
Volume of moderators' cells.