CLASS
5.1
Fuel Cycle Simulator
|
Describes outcore radioactive decays. More...
#include <DecayDataBank.hxx>
Public Member Functions | |
Constructor/Desctructor | |
DecayDataBank () | |
Normal Constructor. More... | |
DecayDataBank (string DB_index_file) | |
Special Constructor. More... | |
DecayDataBank (CLASSLogger *Log, string DB_index_file) | |
Special Constructor. More... | |
~DecayDataBank () | |
Normal Destructor. More... | |
void | Clear () |
Reset the DecayDataBank. More... | |
Get Method | |
map< ZAI,EvolutionData > | GetDecayDataBank () const |
Return the DecayDataBank. More... | |
bool | IsDefine (const ZAI &zai) const |
True if the key is define, false unstead. More... | |
string | GetDataBaseIndex () const |
Return the index name. More... | |
IsotopicVector | GetDecay (IsotopicVector isotopicvector, cSecond t) |
Get IsotopicVector decay at time t. More... | |
Set Method | |
void | SetDecayDataBank (map< ZAI, EvolutionData > mymap) |
Set the DecayDataBank map. More... | |
void | SetDataBaseIndex (string database) |
Set the name of the database index. More... | |
void | SetFastCalculation (bool val) |
Evolution Method | |
IsotopicVector | Evolution (const ZAI &zai, double dt) |
Return the IsotopicVector from the decay of zai during a dt period. More... | |
Other Method | |
void | ReadDataBase () |
Read the index file and fill the EvolutionData map. More... | |
void | Print () const |
![]() | |
CLASSObject () | |
Normal Constructor. More... | |
CLASSObject (CLASSLogger *log) | |
Log Constructor. More... | |
virtual CLASSObject * | Clone () |
Correct way to copy a CLASSObject in case of derivation. More... | |
void | SetLog (CLASSLogger *log) |
Set the CLASSLogger. More... | |
CLASSLogger * | GetLog () |
Return the Pointer to the Log. More... | |
Protected Attributes | |
bool | fFastCalculation |
map< ZAI, EvolutionData > | fDecayDataBank |
DataBank map. More... | |
string | fDataBaseIndex |
Name of the index. More... | |
![]() | |
CLASSLogger * | fLog |
Pointer to the Log. More... | |
Describes outcore radioactive decays.
Define a DecayDataBank. The aim of these class is to describe the evolution of "all" evoluting systems in CLASS.
For the Decay Matrix the DecayDataBank mainly contains a map of <ZAI,EvolutionData>.This map do the correspondance between a ZAI and its decay evolution (containing all the daughter nuclei comming from the decay of the original ZAI and quantities evolutions).
DecayDataBank::DecayDataBank | ( | ) |
Normal Constructor.
DecayDataBank::DecayDataBank | ( | string | DB_index_file | ) |
Special Constructor.
Use to load a DecayDataBank
DB_index_file | : path to the index file |
olfreadmethod | : true if the old format of EvolutionData are used (deprecated) (ie without the key word such as Inv, XSFiss...) |
DecayDataBank::DecayDataBank | ( | CLASSLogger * | Log, |
string | DB_index_file | ||
) |
Special Constructor.
Use to load a DecayDataBank
Log | : CLASSLogger used for the log. |
DB_index_file | : path to the index file |
olfreadmethod | : true if the old format of EvolutionData are used (ie without the key word such as Inv, XSFiss...) |
DecayDataBank::~DecayDataBank | ( | ) |
Normal Destructor.
Delete the DecayDataBank and all associated EvolutionData(s)...
void DecayDataBank::Clear | ( | ) |
Reset the DecayDataBank.
Use to reset the DecayDataBank to its default values whihout deleting the EvolutionData (which contain pointer... ). it just clears the different maps
IsotopicVector DecayDataBank::Evolution | ( | const ZAI & | zai, |
double | dt | ||
) |
Return the IsotopicVector from the decay of zai during a dt period.
|
inline |
Return the index name.
IsotopicVector DecayDataBank::GetDecay | ( | IsotopicVector | isotopicvector, |
cSecond | t | ||
) |
Get IsotopicVector decay at time t.
|
inline |
Return the DecayDataBank.
bool DecayDataBank::IsDefine | ( | const ZAI & | zai | ) | const |
True if the key is define, false unstead.
void DecayDataBank::Print | ( | ) | const |
void DecayDataBank::ReadDataBase | ( | ) |
Read the index file and fill the EvolutionData map.
|
inline |
Set the name of the database index.
|
inline |
Set the DecayDataBank map.
|
inline |
|
protected |
Name of the index.
|
protected |
DataBank map.
|
protected |