MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TempCoefCalculator.hxx
Go to the documentation of this file.
1 #ifndef _TCCALC_
2 #define _TCCALC_
3 
9 #include "MureHeaders.hxx"
10 #include <vector>
11 
13 
21 {
22  public :
23  TempCoefCalculator(double InitialTemp, int Nvalues=2, double DeltaT=100, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0);
25  void Run();
26  void PrintResults(string FileName);
27  void SetTempFileName(string FileName) {fTempFileName=FileName;}
28 
29 
30  private :
31  void CalculateStepTemp();
32  int CheckFuelPresence();
33 
34  protected :
36  int fNvalues;
41  double fDeltaT;
42  string fTempFileName;
43  vector<double> fFractions;
44  vector<double> fKeffValues;
45  vector<double> fKeffErrors;
46  vector<double> fReactivitiesValues;
47  vector<double> fTempValues;
48  vector<double> fTempCoeffValues;
49 };
50 
51 #endif
int CheckFuelPresence()
Check presence of fuel flags.
Definition: TempCoefCalculator.cxx:38
vector< double > fTempCoeffValues
Output values of temperature coefficient.
Definition: TempCoefCalculator.hxx:48
int fNInactivesCycles
Number of inactives cycles.
Definition: TempCoefCalculator.hxx:39
vector< double > fFractions
Fuel temperature fractions between nominal temp and nominal temp + DeltaT.
Definition: TempCoefCalculator.hxx:43
void CalculateStepTemp()
Calculate the temperature steps vector from fNvalues given.
Definition: TempCoefCalculator.cxx:27
vector< double > fKeffValues
Output values of MCNP criticality calculations.
Definition: TempCoefCalculator.hxx:44
int fNparticules
Number of particles.
Definition: TempCoefCalculator.hxx:37
float fKeffEstimator
Expected Keff.
Definition: TempCoefCalculator.hxx:40
void SetTempFileName(string FileName)
Set the temp file name.
Definition: TempCoefCalculator.hxx:27
string fTempFileName
The name of MCNP tempory file name.
Definition: TempCoefCalculator.hxx:42
vector< double > fTempValues
Output values of various temperatures.
Definition: TempCoefCalculator.hxx:47
File including all headers.
This object performs temperature coefficient calculations for a general system.
Definition: TempCoefCalculator.hxx:20
TempCoefCalculator(double InitialTemp, int Nvalues=2, double DeltaT=100, int Nparticules=2000, int NActivesCycles=100, int NInactivesCycles=30, float KeffEstimator=1.0)
Constructor standard.
Definition: TempCoefCalculator.cxx:6
int fNvalues
Number of MCNP calculations (number of temperature steps)
Definition: TempCoefCalculator.hxx:36
vector< double > fReactivitiesValues
Output values of reactivity.
Definition: TempCoefCalculator.hxx:46
int fNActivesCycles
Number of actives cycles.
Definition: TempCoefCalculator.hxx:38
double fDeltaT
Steps of fuel temperature.
Definition: TempCoefCalculator.hxx:41
void PrintResults(string FileName)
Print calculation results to a file.
Definition: TempCoefCalculator.cxx:62
double fInitialTemperature
Temp Coeff Calculation is made from a temperature common to all the cells fuel.
Definition: TempCoefCalculator.hxx:35
~TempCoefCalculator()
Delete standard.
Definition: TempCoefCalculator.cxx:20
void Run()
lance the calcul
Definition: TempCoefCalculator.cxx:95
vector< double > fKeffErrors
Output values of MCNP Keff statistical errors.
Definition: TempCoefCalculator.hxx:45

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