CLASS  5.1
Fuel Cycle Simulator
DecayDataBank Class Reference

Describes outcore radioactive decays. More...

#include <DecayDataBank.hxx>

Inheritance diagram for DecayDataBank:
CLASSObject

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,EvolutionDataGetDecayDataBank () 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
 
- Public Member Functions inherited from CLASSObject
 CLASSObject ()
 Normal Constructor. More...
 
 CLASSObject (CLASSLogger *log)
 Log Constructor. More...
 
virtual CLASSObjectClone ()
 Correct way to copy a CLASSObject in case of derivation. More...
 
void SetLog (CLASSLogger *log)
 Set the CLASSLogger. More...
 
CLASSLoggerGetLog ()
 Return the Pointer to the Log. More...
 

Protected Attributes

bool fFastCalculation
 
map< ZAI, EvolutionDatafDecayDataBank
 DataBank map. More...
 
string fDataBaseIndex
 Name of the index. More...
 
- Protected Attributes inherited from CLASSObject
CLASSLoggerfLog
 Pointer to the Log. More...
 

Detailed Description

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).

Author
BaM
Marc
PTO for a part of the Decay management – steal from MURE (Even if he does not kown it!! :))
Version
2.0

Constructor & Destructor Documentation

◆ DecayDataBank() [1/3]

DecayDataBank::DecayDataBank ( )

Normal Constructor.

◆ DecayDataBank() [2/3]

DecayDataBank::DecayDataBank ( string  DB_index_file)

Special Constructor.

Use to load a DecayDataBank

Parameters
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() [3/3]

DecayDataBank::DecayDataBank ( CLASSLogger Log,
string  DB_index_file 
)

Special Constructor.

Use to load a DecayDataBank

Parameters
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::~DecayDataBank ( )

Normal Destructor.

Delete the DecayDataBank and all associated EvolutionData(s)...

Member Function Documentation

◆ Clear()

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

◆ Evolution()

IsotopicVector DecayDataBank::Evolution ( const ZAI zai,
double  dt 
)

Return the IsotopicVector from the decay of zai during a dt period.

◆ GetDataBaseIndex()

string DecayDataBank::GetDataBaseIndex ( ) const
inline

Return the index name.

◆ GetDecay()

IsotopicVector DecayDataBank::GetDecay ( IsotopicVector  isotopicvector,
cSecond  t 
)

Get IsotopicVector decay at time t.

◆ GetDecayDataBank()

map<ZAI ,EvolutionData > DecayDataBank::GetDecayDataBank ( ) const
inline

Return the DecayDataBank.

◆ IsDefine()

bool DecayDataBank::IsDefine ( const ZAI zai) const

True if the key is define, false unstead.

◆ Print()

void DecayDataBank::Print ( ) const

◆ ReadDataBase()

void DecayDataBank::ReadDataBase ( )

Read the index file and fill the EvolutionData map.

◆ SetDataBaseIndex()

void DecayDataBank::SetDataBaseIndex ( string  database)
inline

Set the name of the database index.

◆ SetDecayDataBank()

void DecayDataBank::SetDecayDataBank ( map< ZAI, EvolutionData mymap)
inline

Set the DecayDataBank map.

◆ SetFastCalculation()

void DecayDataBank::SetFastCalculation ( bool  val)
inline

Member Data Documentation

◆ fDataBaseIndex

string DecayDataBank::fDataBaseIndex
protected

Name of the index.

◆ fDecayDataBank

map<ZAI, EvolutionData> DecayDataBank::fDecayDataBank
protected

DataBank map.

◆ fFastCalculation

bool DecayDataBank::fFastCalculation
protected

The documentation for this class was generated from the following files: