CLASS  5.1
Fuel Cycle Simulator
IM_RK4.hxx
Go to the documentation of this file.
1 #ifndef _IMRK4_
2 #define _IMRK4_
3 
4 
13 #include "DynamicalSystem.hxx"
14 #include "IrradiationModel.hxx"
15 
16 
17 using namespace std;
18 
19 
20 class CLASSLogger;
21 
22 //-----------------------------------------------------------------------------//
24 
31 //________________________________________________________________________
32 
33 class EvolutionData;
34 
36 {
37 
38  public :
39 
44 
45  //{
47  //
50  IM_RK4();
51  //}
52 
53  //{
55  //
60  IM_RK4(CLASSLogger* Log);
61  //}
62 
64 
66 
71  virtual EvolutionData GenerateEvolutionData(IsotopicVector IV, EvolutionData XSSet, double Power, double cycletime);
72  //}
73 
74  //********* RK4 Method *********//
75 
77 
81 
82 
85 
92  void BuildEqns(double t, double *N, double *dNdt);
93  void SetTheMatrixToZero();
94  void ResetTheMatrix();
95  void SetTheMatrix(TMatrixT<double> BatemanMatrix);
96  TMatrixT<double> GetTheMatrix();
97 
98  void SetTheNucleiVectorToZero();
99  void ResetTheNucleiVector();
100  void SetTheNucleiVector(TMatrixT<double> NEvolutionMatrix);
101  TMatrixT<double> GetTheNucleiVector();
102 
103 
104 
105 
106  private :
107 
108  double *fTheNucleiVector;
109  double **fTheMatrix;
110 
111  double fPrecision;
112  double fHestimate;
113  double fHmin;
114  double fMaxHdid;
115  double fMinHdid;
116  bool fIsNegativeValueAllowed;
117 
118 
119 };
120 
121 #endif
122 
Header file for DynamicalSystem class.
void RungeKutta(double *YStart, double t1, double t2, int EquationNumber)
Runge Kutta calling method.
Definition: DynamicalSystem.cxx:43
Allows to store & operate on radioactive sample.
Definition: IsotopicVector.hxx:37
Definition: CLASSBackEndDict.cxx:37
Stores fuel inventory evolution , mean cross sections evolution, flux evolution, power ...
Definition: EvolutionData.hxx:54
DynamicalSystem class solves system of differential equations.
Definition: DynamicalSystem.hxx:33
The Bateman equation solver.
Definition: IrradiationModel.hxx:54
Definition: IM_RK4.hxx:35
Header file for IrradiationModel class.
Object to handle output messages.
Definition: CLASSLogger.hxx:144