19#ifndef _RODEVOLUTIONCONTROL_HXX_
20#define _RODEVOLUTIONCONTROL_HXX_
67 void FindNextCoefs(
double value, vector < double > &V,
double &Slope,
double &Intersept,
int &LastMCRunNumber);
106 bool Dichotom(
double DeltaRho,
double &FinalPos);
Header file for EvolutionControl class.
EvolutionControl allows interactions with the evolution.
Definition EvolutionControl.hxx:60
EvolutionControl descendant allowing control via control rod insertion.
Definition RodEvolutionControl.hxx:45
void ControlAfterEachMCRun() override
control at each MC step (just after a MC run)
Definition RodEvolutionControl.cxx:97
vector< double > fGlobalWorth
the worth of the control rod
Definition RodEvolutionControl.hxx:122
double fRho_rod_sin
The reactivity coef for the sinus part of the reactivity formula.
Definition RodEvolutionControl.hxx:115
double fRodLength
The lenght of the control rod.
Definition RodEvolutionControl.hxx:116
double IntegrateRodWorth(double a, double b)
Integral of rod worth.
Definition RodEvolutionControl.cxx:861
double fRho0
The reactivity w/o control rod insert.
Definition RodEvolutionControl.hxx:113
int fRodNormalMove
+1 if the rod go from top to bottom or from left to right, -1 else
Definition RodEvolutionControl.hxx:117
RodEvolutionControl * Clone() override
Definition RodEvolutionControl.hxx:55
double fRho_rod_cte
The reactivity coef for the linear part of the reactivity formula.
Definition RodEvolutionControl.hxx:114
~RodEvolutionControl() override=default
destructor
void FindNextControlRodPosition()
Find control rod position.
Definition RodEvolutionControl.cxx:207
double fOldDeltaRho
The delta rho correction (control rod)
Definition RodEvolutionControl.hxx:119
void InitVector() override
build vector used in fits full of 0.
Definition RodEvolutionControl.cxx:845
double RodWorth(double x)
Give the control rod worth.
Definition RodEvolutionControl.cxx:855
double RodDifferentialWorth(double x)
Give the control rod differential worth.
Definition RodEvolutionControl.cxx:839
double fRodH
The total height of the control rod.
Definition RodEvolutionControl.hxx:112
void FindRodWorthWeigthSlope(double CurrentWorth)
fit the rod worth (no more used)
Definition RodEvolutionControl.cxx:913
double fGlobalWorthIntercept
the (fitted) intercept of the control rod worth
Definition RodEvolutionControl.hxx:124
RodEvolutionControl()
Default Constructor.
Definition RodEvolutionControl.cxx:49
bool Dichotom(double DeltaRho, double &FinalPos)
returns the rod position to obtain a Delta rho
Definition RodEvolutionControl.cxx:875
void FindNextCoefs(double value, vector< double > &V, double &Slope, double &Intersept, int &LastMCRunNumber)
double fGlobalWorthWeight
the weigth of the control rod worth (now not used)
Definition RodEvolutionControl.hxx:125
int fRodAxis
0=x, 1=y, 2=z
Definition RodEvolutionControl.hxx:118
double fGlobalWorthSlope
the (fitted) slope of the control rod worth
Definition RodEvolutionControl.hxx:123
double fDLength
The control rod variation length.
Definition RodEvolutionControl.hxx:121
void ControlBeforeEachSubStep() override
control at each CRAM/RK step (just before a sub-step)
Definition RodEvolutionControl.cxx:167
void ControlAfterEachEvolutionStep() override
control at the end of the CRAM/RK integration, just before an other MC run.
Definition RodEvolutionControl.cxx:182
void FindControlRodWorthParameters(double H, double keff_x0, double keff_xH, double keff_xH4)
Find control rod worth.
Definition RodEvolutionControl.cxx:816
the namespace of the Standard C++