#include "Storage.hxx"
Définition à la ligne 29 du fichier Storage.hxx.
Advanced Constructor.
Définition à la ligne 31 du fichier Storage.cxx.
36 cout <<
"!!INFO!! !!!Storage!!! A new Storage has been define." << endl;
38 fLog->
fLog <<
"!!INFO!! !!!Storage!!! A new Storage has been define." << endl;
Normal Destructor.
Définition à la ligne 42 du fichier Storage.cxx.
49 cout <<
"!!INFO!! !!!Storage!!! A new Storage has been define." << endl;
51 fLog->
fLog <<
"!!INFO!! !!!Storage!!! A new Storage has been define." << endl;
void Storage::AddToFullStock |
( |
ZAI |
zai, |
|
|
double |
quantity |
|
) |
| |
|
inline |
void Storage::AddToStock |
( |
ZAI |
zai, |
|
|
double |
quantity |
|
) |
| |
|
inline |
void Storage::ClearStock |
( |
| ) |
|
void Storage::Evolution |
( |
cSecond |
t | ) |
|
Performe the evolution until the Time t.
Définition à la ligne 182 du fichier Storage.cxx.
Return the pointer to the Decay DataBase.
Définition à la ligne 57 du fichier Storage.hxx.
Get IsotopicVector Decay at the t time.
Définition à la ligne 67 du fichier Storage.cxx.
73 map<ZAI ,double >::iterator
it;
74 for( it = isotopicquantity.begin(); it != isotopicquantity.end(); it++)
int Storage::GetId |
( |
| ) |
const |
|
inline |
double Storage::GetInternalTime |
( |
| ) |
const |
|
inline |
Return Creation Time.
Définition à la ligne 56 du fichier Storage.hxx.
Return the Pointer to the Log.
Définition à la ligne 53 du fichier Storage.hxx.
CLASS* Storage::GetParc |
( |
| ) |
const |
|
inline |
return the Pointer to the Parc
Définition à la ligne 54 du fichier Storage.hxx.
void Storage::SetDecayDataBase |
( |
DataBank< ZAI > * |
ddb | ) |
|
|
inline |
Set the pointer to the Decay DataBase.
Définition à la ligne 48 du fichier Storage.hxx.
void Storage::SetId |
( |
int |
id | ) |
|
|
inline |
void Storage::SetLog |
( |
LogFile * |
Log | ) |
|
|
inline |
Set the Pointer to the Log.
Définition à la ligne 46 du fichier Storage.hxx.
void Storage::SetParc |
( |
CLASS * |
parc | ) |
|
|
inline |
Set the Pointer to the Parc.
Définition à la ligne 45 du fichier Storage.hxx.
void Storage::StorageEvolution |
( |
cSecond |
t | ) |
|
|
protected |
Deal the Storage Decay Evolution.
Définition à la ligne 154 du fichier Storage.cxx.
160 for(
int i = (
int)
fIVStock.size()-1 ; i >=0; i--)
170 #pragma omp parallel for
171 for (
int i=0; i <(int)
fIVStock.size() ; i++)
void Storage::TakeFractionFromStock |
( |
int |
IVId, |
|
|
double |
fraction |
|
) |
| |
Take a part from an IV in sotck;.
Définition à la ligne 108 du fichier Storage.cxx.
113 if(fraction > 1 || fraction < 0)
115 cout << fraction << endl;
116 cout <<
"!!Warning!! !!!Storage!!! You try to remove fraction superior than 1 or a negative one..." << endl;
117 fLog->
fLog <<
"!!Warning!! !!!Storage!!! You try to remove fraction superior than 1 or a negative one..." << endl;
129 cout <<
"!!Warning!! !!!Storage!!! TakeFractionFromStock can't be DEFINE without REAL stock management" << endl;
130 fLog->
fLog <<
"!!Warning!! !!!Storage!!! TakeFractionFromStock can't be DEFINE without REAL stock management" << endl;
Définition à la ligne 139 du fichier Storage.cxx.
146 cout <<
"!!Warning!! !!!Storage!!! TakeFromStock can't be DEFINE WITH REAL stock management" << endl;
147 fLog->
fLog <<
"!!Warning!! !!!Storage!!! TakeFromStock can't be DEFINE WITH REAL stock management" << endl;
void Storage::Write |
( |
string |
filename, |
|
|
cSecond |
date = -1 |
|
) |
| |
Pointer to the Decay DataBase.
Définition à la ligne 89 du fichier Storage.hxx.
Pointer to the Log.
Définition à la ligne 87 du fichier Storage.hxx.
Pointer to the Parc.
Définition à la ligne 86 du fichier Storage.hxx.
La documentation de cette classe a été générée à partir des fichiers suivants :