19#ifndef _EvolutiveSystem_
20#define _EvolutiveSystem_
221 void Solve(
double t1,
double t2);
Header file for CRAMSolver class.
Header file for Material class.
Header file for RKSolver class.
Base class of Bateman-type solvers like Runge-Kutta or CRAM or any other.
Definition BatemanSolver.hxx:45
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
EvolutiveSystem class carries out evolution.
Definition EvolutiveSystem.hxx:65
void FindIndexMass135()
Definition EvolutiveSystem.cxx:861
double ** fTheMatrix
The evolution Matrix.
Definition EvolutiveSystem.hxx:333
void SetAvgQ(double AvgQ)
Definition EvolutiveSystem.hxx:273
double fOldFlux
Old flux stored.
Definition EvolutiveSystem.hxx:353
double fPowerFrac
Fraction of local power produced.
Definition EvolutiveSystem.hxx:339
int fIdxXe135
index of Xe-135 in the fEvolvingAtoms array
Definition EvolutiveSystem.hxx:349
double fAvgQ
Average Q value of the system.
Definition EvolutiveSystem.hxx:340
bool fEvolve
Definition EvolutiveSystem.hxx:345
void SetEvolvingCompositionSize(int n)
Definition EvolutiveSystem.hxx:146
double fBurnup
Local sum of extracted energy per mass initial HM.
Definition EvolutiveSystem.hxx:338
void TransmogrifyMaterial()
Updates the proportion array.
Definition EvolutiveSystem.cxx:388
void TransmogrifyEvolvingAtoms()
Updates the EvolvingAtoms array.
Definition EvolutiveSystem.cxx:342
bool fAlreadyTransmodrified
True if transmogrification is done.
Definition EvolutiveSystem.hxx:344
double fPowerDensity
Local Power Density.
Definition EvolutiveSystem.hxx:337
double GetBurnup()
Definition EvolutiveSystem.hxx:282
void CalculatePower()
Calculate the local power in this evolving system.
Definition EvolutiveSystem.cxx:778
double fMeanFlux
Mean flux=(old+new)/2 to calculate Xe and I135 equilibrium concentration.
Definition EvolutiveSystem.hxx:354
BatemanSolver * fBatemanSolver
Definition EvolutiveSystem.hxx:325
int fIdxI135
index of I-135 in the fEvolvingAtoms array
Definition EvolutiveSystem.hxx:348
void SetEvolvingAtoms(double *f)
Definition EvolutiveSystem.hxx:163
void Solve(double t1, double t2)
the true Runge-Kutta calling method.
Definition EvolutiveSystem.cxx:318
double GetPowerDensity()
Definition EvolutiveSystem.hxx:256
void SetCell(Cell *c)
Definition EvolutiveSystem.hxx:197
void PredictorTransmogrifyMaterial()
Updates the proportion array after a Predictor step.
Definition EvolutiveSystem.cxx:409
void CorrectorTransmogrifyGroupCell()
Updates the proportion array for group cells after a Corrector step.
Definition EvolutiveSystem.cxx:533
double fInitHNMassInTon
Definition EvolutiveSystem.hxx:342
bool fNMassInTonInitialized
Definition EvolutiveSystem.hxx:343
void PredictorTransmogrifyGroupCell()
Updates the proportion array for group cells after a Predictor step.
Definition EvolutiveSystem.cxx:489
void SetTransmogrify(bool flag)
Definition EvolutiveSystem.hxx:179
double fPower
Local Power.
Definition EvolutiveSystem.hxx:335
double fFirstTNF
value of Tally Normalization factor at the first RK step
Definition EvolutiveSystem.hxx:355
void SetPowerFrac(double powerfrac)
Definition EvolutiveSystem.hxx:261
Cell * fEvolvingCell
The cell which IS the Evolving System.
Definition EvolutiveSystem.hxx:328
void UpdateBurnupHistory(double deltaT, bool cool)
Definition EvolutiveSystem.cxx:744
bool IsEvolving()
Definition EvolutiveSystem.hxx:287
void CorrectorTransmogrifyMaterial()
Updates the proportion array after a Corrector step (PCE only).
Definition EvolutiveSystem.cxx:429
void Init()
Definition EvolutiveSystem.hxx:278
int fIdxTe135
index of Te-135 in the fEvolvingAtoms array
Definition EvolutiveSystem.hxx:347
void CalculateEvolvingAtoms()
calculate Evolving Proportion
Definition EvolutiveSystem.cxx:276
int GetEvolvingCompositionSize()
Definition EvolutiveSystem.hxx:142
double GetPowerErr()
Definition EvolutiveSystem.hxx:252
int fNVar
fMatrix size
Definition EvolutiveSystem.hxx:332
double * fPCEvolvingAtoms
The evolving atoms copied from Material proportions for predictor-corrector method.
Definition EvolutiveSystem.hxx:330
Material * fEvolvingMaterial
The Evolving material.
Definition EvolutiveSystem.hxx:327
double GetEvolvingAtoms(int i)
Definition EvolutiveSystem.hxx:155
Cell * GetCell()
Definition EvolutiveSystem.hxx:189
double fNXe135
the new Xe 135 number of atoms
Definition EvolutiveSystem.hxx:351
void SetSolver()
set fBatemanSolver
Definition EvolutiveSystem.cxx:241
void FindXe135Equilibrium()
Calculate the "equilibrium" Xe concentration.
Definition EvolutiveSystem.cxx:882
double fPowerErr
Error on Local Power.
Definition EvolutiveSystem.hxx:336
Material * GetMaterial()
Definition EvolutiveSystem.hxx:193
double GetPowerFrac()
Definition EvolutiveSystem.hxx:265
double GetAvgQ()
Definition EvolutiveSystem.hxx:269
string PrintEvolvingAtoms()
Prints out the Atoms vector.
Definition EvolutiveSystem.cxx:304
double fNI135
the new I-135 number of atoms (use only for fNXe135 calculation)
Definition EvolutiveSystem.hxx:350
void SetEvolve(bool flag=true)
Definition EvolutiveSystem.hxx:291
void CalculateInitialHNMass()
Definition EvolutiveSystem.cxx:709
double ** GetTheMatrix()
Definition EvolutiveSystem.hxx:237
void SetTheMatrix(double **f)
Definition EvolutiveSystem.hxx:233
void SetEvolvingAtoms(int i, double proportion)
Definition EvolutiveSystem.hxx:151
void CalculateNuSigmaFisPhis()
Calculate for an evolutive system.
Definition EvolutiveSystem.cxx:823
double GetPower()
Definition EvolutiveSystem.hxx:247
bool IsTransmogrify()
Definition EvolutiveSystem.hxx:175
double * fEvolvingAtoms
The evolving atoms copied from Material proportions.
Definition EvolutiveSystem.hxx:329
void SetMaterial(Material *m)
Definition EvolutiveSystem.hxx:201
double * GetEvolvingAtoms()
Definition EvolutiveSystem.hxx:167
void TransmogrifyGroupCell()
Updates the proportion array for group cells.
Definition EvolutiveSystem.cxx:454
~EvolutiveSystem()
Destructor.
Definition EvolutiveSystem.cxx:221
void SetMatrixToZero()
Builds the Bateman equations for integration.
Definition EvolutiveSystem.cxx:584
void LoadTheMatrix(int index)
Fill evolution Matrix, index is the place of the current evolutionsystem in the evolutionsystemvector...
Definition EvolutiveSystem.cxx:615
A Material constituing a Cell.
Definition Material.hxx:83
the namespace of the Standard C++