MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
RodEvolutionControl.hxx
Go to the documentation of this file.
1 #ifndef _RODEVOLUTIONCONTROL_HXX_
2 #define _RODEVOLUTIONCONTROL_HXX_
3 
9 #include <fstream>
10 #include <iostream>
11 #include <sstream>
12 #include <vector>
13 #include <string>
14 #include "MureHeaders.hxx"
15 using namespace std;
16 //________________________________________________________________________
17 //
18 // RodEvolutionControl
20 // @author PTO
21 // @version 1.0
22 //________________________________________________________________________
23 
25 {
26  public:
28 
34 
35  virtual RodEvolutionControl* Clone(){return new RodEvolutionControl(*this);}
36 
37  virtual ~RodEvolutionControl(){}
38 
39  virtual void ControlAtEachMCNPStep();
40  virtual void ControlAtEachRKStep();
41 
42  virtual void ControlAfterEndOfRKIntegration();
43 
44  void FindNextControlRodPosition();
45  void FindNextCoefs(double value, vector<double> &V, double &Slope,double &Intersept,int &LastMCNPRunNumber);
46 
57  void FindControlRodWorthParameters(double H, double keff_x0,double keff_xH,double keff_xH4);
59 
66  double RodDifferentialWorth(double x);
68 
75  double RodWorth(double x);
77 
83  double IntegrateRodWorth(double a,double b);
84  bool Dichotom(double DeltaRho, double &FinalPos);
85  void FindRodWorthWeigthSlope(double CurrentWorth);
86 
87  protected:
88  void InitVector();
89 
90  double fRodH;
91  double fRho0;
92  double fRho_rod_cte;
93  double fRho_rod_sin;
94  double fRodLength;
96  int fRodAxis;
97  double fOldDeltaRho;
98 
99  double fDLength;
100  vector<double> fGlobalWorth;
104 };
105 
106 #endif
double fGlobalWorthIntercept
the (fitted) intercept of the control rod worth
Definition: RodEvolutionControl.hxx:102
int fRodAxis
0=x,1=y, 2=z
Definition: RodEvolutionControl.hxx:96
double fRho0
The reactivity w/o control rod insert.
Definition: RodEvolutionControl.hxx:91
virtual RodEvolutionControl * Clone()
Correct way to copy a EvolutionControl in case of derivation.
Definition: RodEvolutionControl.hxx:35
EvolutionControl descendant allowing control via control rod insertion.
Definition: RodEvolutionControl.hxx:24
double fRodH
The lenght of the control rod.
Definition: RodEvolutionControl.hxx:90
double fGlobalWorthSlope
the (fitted) slope of the control rod worth
Definition: RodEvolutionControl.hxx:101
double fRho_rod_cte
The reactivity coef for the linear part of the reactivity formula.
Definition: RodEvolutionControl.hxx:92
double fDLength
The control rod variation length.
Definition: RodEvolutionControl.hxx:99
File including all headers.
double fRodLength
The lenght of the control rod.
Definition: RodEvolutionControl.hxx:94
virtual ~RodEvolutionControl()
destructor
Definition: RodEvolutionControl.hxx:37
double fOldDeltaRho
The delta rho correction (control rod)
Definition: RodEvolutionControl.hxx:97
double fGlobalWorthWeight
the weigth of the control rod worth (now not used)
Definition: RodEvolutionControl.hxx:103
int fRodNormalMove
+1 if the rod go from top to bottom or from left to right, -1 else
Definition: RodEvolutionControl.hxx:95
double fRho_rod_sin
The reactivity coef for the sinus part of the reactivity formula.
Definition: RodEvolutionControl.hxx:93
vector< double > fGlobalWorth
the worth of the control rod
Definition: RodEvolutionControl.hxx:100
EvolutionControl allows interactions with the evolution.
Definition: EvolutionControl.hxx:35

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