MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
VoidCoefCalculator.hxx
Go to the documentation of this file.
1 #ifndef _VCCALC_
2 #define _VCCALC_
3 
9 #include "MureHeaders.hxx"
10 #include <vector>
11 
13 
22 {
23  public :
24  VoidCoefCalculator(int Nvalues=10, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0);
26  void Run();
27  void PrintResults(string FileName);
28  void SetTempFileName(string FileName) {fTempFileName=FileName;}
29  void CalculateVolumes();
30 
31 
32  private :
33  void CalculateFractions();
34  void CountModeratorCells();
35  void PrintAllMaterials();
36 
37  protected :
38  int fNvalues;
43  string fTempFileName;
44  vector<double> fFractions;
45  vector<double> fKeffValues;
46  vector<double> fKeffErrors;
47  vector<double> fReactivitiesValues;
48  vector<double> fDensitiesValues;
49  vector<double> fVoidCoeffValues;
50  vector<double> fRapportValues;
51 
52 
53  vector<double> fVolumes;
54  vector<Cell*> fModeratorCells;
56 
57 };
58 
59 #endif
vector< Cell * > fModeratorCells
The cells implicated in our calcul.
Definition: VoidCoefCalculator.hxx:54
void SetTempFileName(string FileName)
Set the temp file name.
Definition: VoidCoefCalculator.hxx:28
void CalculateVolumes()
Calculate moderators&#39; volumes necessary for the average density.
Definition: VoidCoefCalculator.cxx:120
vector< double > fKeffValues
Output values of MCNP criticality calculations.
Definition: VoidCoefCalculator.hxx:45
void PrintResults(string FileName)
Print results to a file.
Definition: VoidCoefCalculator.cxx:86
vector< double > fReactivitiesValues
Output values of reactivity.
Definition: VoidCoefCalculator.hxx:47
Void coefficient calculations for a general system.
Definition: VoidCoefCalculator.hxx:21
~VoidCoefCalculator()
Destructor.
Definition: VoidCoefCalculator.cxx:21
string fTempFileName
The name of MCNP tempory file name.
Definition: VoidCoefCalculator.hxx:43
void CountModeratorCells()
Count the cells that are intersting to us.
Definition: VoidCoefCalculator.cxx:58
int fNInactivesCycles
Number of inactives cycles.
Definition: VoidCoefCalculator.hxx:41
float fKeffEstimator
Expected Keff.
Definition: VoidCoefCalculator.hxx:42
vector< double > fVolumes
Volume of moderators&#39; cells.
Definition: VoidCoefCalculator.hxx:53
VoidCoefCalculator(int Nvalues=10, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0)
Constructor.
Definition: VoidCoefCalculator.cxx:6
vector< double > fFractions
Moderator void fractions between 1 and 0 (1 = full density)
Definition: VoidCoefCalculator.hxx:44
File including all headers.
vector< double > fKeffErrors
Output values of MCNP Keff statistical errors.
Definition: VoidCoefCalculator.hxx:46
int fNparticules
Number of particles.
Definition: VoidCoefCalculator.hxx:39
vector< double > fVoidCoeffValues
Output values of void coefficient.
Definition: VoidCoefCalculator.hxx:49
int fModeratorCounter
Number of moderator cells.
Definition: VoidCoefCalculator.hxx:55
vector< double > fRapportValues
Output values of kinf(i)/kinf(nominal)
Definition: VoidCoefCalculator.hxx:50
void Run()
launch the calculation
Definition: VoidCoefCalculator.cxx:179
void CalculateFractions()
Calculate the void fractions vector from fNvalues given.
Definition: VoidCoefCalculator.cxx:28
int fNActivesCycles
Number of actives cycles.
Definition: VoidCoefCalculator.hxx:40
void PrintAllMaterials()
Count the cells that are intersting to us.
Definition: VoidCoefCalculator.cxx:39
vector< double > fDensitiesValues
Output values of various densities.
Definition: VoidCoefCalculator.hxx:48
int fNvalues
Number of MCNP calculations.
Definition: VoidCoefCalculator.hxx:38

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014