CLASS  1.1
 Tout Classes Fichiers Fonctions Variables Définitions de type
Référence du modèle de la classe DataBank< T >

#include "CLASS.hxx"

+ Graphe d'héritage de DataBank< T >:
+ Graphe de collaboration de DataBank< T >:

Fonctions membres publiques

 DataBank ()
 < Normal Constructor. Plus de détails...
 
 DataBank (LogFile *Log, string DB_index_file, bool olfreadmethod=true)
 Normal Destructor. Plus de détails...
 
 ~DataBank ()
 
LogFileGetLog ()
 Return the Pointer to Log. Plus de détails...
 
map< T,EvolutionDataGetDataBank () const
 Return the DataBank. Plus de détails...
 
string GetDataBaseIndex () const
 Return the index Name. Plus de détails...
 
string GetFuelType () const
 Return the fuel type of the DB. Plus de détails...
 
vector< double > GetFuelParameter () const
 Return the Fuel parameter of the DB. Plus de détails...
 
pair< double, double > GetBurnUpRange () const
 Return the BurnUp range of the DB. Plus de détails...
 
bool IsDefine (const T &key) const
 True the key is define, false unstead. Plus de détails...
 
map< double, EvolutionDataGetDistancesTo (IsotopicVector isotopicvector, double t=0) const
 
EvolutionData GetClosest (IsotopicVector isotopicvector, double t=0) const
 Return a map containing the distance of each EvolutionData in the DataBase to the set IV at the t time. Plus de détails...
 
void SetDataBank (map< T, EvolutionData > mymap)
 Return the closest. Plus de détails...
 
void SetDataBaseIndex (string database)
 
EvolutionData GenerateEvolutionData (IsotopicVector isotopicvector, double cycletime, double Power)
 Genration of a New EvolutionData From the one already present. Plus de détails...
 
void SetUpdateReferenceDBatEachStep (bool val)
 
void SetOldReadMethod (bool val)
 
IsotopicVector Evolution (const T &key, double dt)
 Return the Product IsotopicVector evolution from zai during a dt time. Plus de détails...
 
void ReadDataBase ()
 ... Plus de détails...
 
void CalculateDistanceParameter ()
 Calculate automaticly the weight for each ZAI in the distance calculation from the mean XS of the DataBank. Plus de détails...
 
void SetDistanceParameter (IsotopicVector DistanceParameter)
 Define mannually the weight for each ZAI in the distance calculation. Plus de détails...
 
void SetDistanceType (int DistanceType)
 Define the way to decide if two isotopic vectors are close. 0 is for the standard norme, 1 for each ZAI weighted with its XS, 2 for each ZAI weighted with coefficient given by the user. Plus de détails...
 
void Print () const
 

Attributs protégés

map< T, EvolutionDatafDataBank
 
string fDataBaseIndex
 
LogFilefLog
 
bool fUpdateReferenceDBatEachStep
 
bool fOldReadMethod
 
string fFuelType
 
pair< double, double > fBurnUpRange
 
vector< double > fFuelParameter
 
int fDistanceType
 
                        0 is for the standard norme,

< 1 for each ZAI weighted with its XS, < 2 for each ZAI weighted with coefficient given by the user Plus de détails...

 
fDistanceParameter
 weight for each ZAI in the distance calculation Plus de détails...
 

Description détaillée

template<class T>
class DataBank< T >

Définition à la ligne 27 du fichier CLASS.hxx.

Documentation des constructeurs et destructeur

template<class T>
DataBank< T >::DataBank ( )

< Normal Constructor.

template<class T>
DataBank< T >::DataBank ( LogFile Log,
string  DB_index_file,
bool  olfreadmethod = true 
)

Normal Destructor.

template<class T>
DataBank< T >::~DataBank ( )

Documentation des fonctions membres

template<class T>
void DataBank< T >::CalculateDistanceParameter ( )

Calculate automaticly the weight for each ZAI in the distance calculation from the mean XS of the DataBank.

template<class T>
IsotopicVector DataBank< T >::Evolution ( const T &  key,
double  dt 
)

Return the Product IsotopicVector evolution from zai during a dt time.

template<class T>
EvolutionData DataBank< T >::GenerateEvolutionData ( IsotopicVector  isotopicvector,
double  cycletime,
double  Power 
)

Genration of a New EvolutionData From the one already present.

template<class T>
pair<double,double> DataBank< T >::GetBurnUpRange ( ) const
inline

Return the BurnUp range of the DB.

Définition à la ligne 48 du fichier DataBank.hxx.

template<class T>
EvolutionData DataBank< T >::GetClosest ( IsotopicVector  isotopicvector,
double  t = 0 
) const

Return a map containing the distance of each EvolutionData in the DataBase to the set IV at the t time.

template<class T>
map<T ,EvolutionData > DataBank< T >::GetDataBank ( ) const
inline

Return the DataBank.

Définition à la ligne 44 du fichier DataBank.hxx.

template<class T>
string DataBank< T >::GetDataBaseIndex ( ) const
inline

Return the index Name.

Définition à la ligne 45 du fichier DataBank.hxx.

template<class T>
map<double, EvolutionData> DataBank< T >::GetDistancesTo ( IsotopicVector  isotopicvector,
double  t = 0 
) const
template<class T>
vector<double> DataBank< T >::GetFuelParameter ( ) const
inline

Return the Fuel parameter of the DB.

Définition à la ligne 47 du fichier DataBank.hxx.

template<class T>
string DataBank< T >::GetFuelType ( ) const
inline

Return the fuel type of the DB.

Définition à la ligne 46 du fichier DataBank.hxx.

template<class T>
LogFile* DataBank< T >::GetLog ( )
inline

Return the Pointer to Log.

Définition à la ligne 43 du fichier DataBank.hxx.

template<class T>
bool DataBank< T >::IsDefine ( const T &  key) const

True the key is define, false unstead.

template<class T>
void DataBank< T >::Print ( ) const
template<class T>
void DataBank< T >::ReadDataBase ( )

...

template<class T>
void DataBank< T >::SetDataBank ( map< T, EvolutionData mymap)
inline

Return the closest.

Définition à la ligne 56 du fichier DataBank.hxx.

56 { fDataBank = mymap; }
template<class T>
void DataBank< T >::SetDataBaseIndex ( string  database)
inline

Définition à la ligne 58 du fichier DataBank.hxx.

58 { fDataBaseIndex = database; }
template<class T>
void DataBank< T >::SetDistanceParameter ( IsotopicVector  DistanceParameter)

Define mannually the weight for each ZAI in the distance calculation.

template<class T>
void DataBank< T >::SetDistanceType ( int  DistanceType)

Define the way to decide if two isotopic vectors are close. 0 is for the standard norme, 1 for each ZAI weighted with its XS, 2 for each ZAI weighted with coefficient given by the user.

template<class T>
void DataBank< T >::SetOldReadMethod ( bool  val)
inline

Définition à la ligne 62 du fichier DataBank.hxx.

62 { fOldReadMethod = val;}
template<class T>
void DataBank< T >::SetUpdateReferenceDBatEachStep ( bool  val)
inline

Définition à la ligne 60 du fichier DataBank.hxx.

Documentation des données membres

template<class T>
pair<double,double> DataBank< T >::fBurnUpRange
protected

Définition à la ligne 88 du fichier DataBank.hxx.

template<class T>
map<T, EvolutionData> DataBank< T >::fDataBank
protected

Définition à la ligne 79 du fichier DataBank.hxx.

template<class T>
string DataBank< T >::fDataBaseIndex
protected

Définition à la ligne 80 du fichier DataBank.hxx.

template<class T>
T DataBank< T >::fDistanceParameter
protected

weight for each ZAI in the distance calculation

Définition à la ligne 95 du fichier DataBank.hxx.

template<class T>
int DataBank< T >::fDistanceType
protected

                        0 is for the standard norme,

< 1 for each ZAI weighted with its XS, < 2 for each ZAI weighted with coefficient given by the user

Définition à la ligne 91 du fichier DataBank.hxx.

template<class T>
vector<double> DataBank< T >::fFuelParameter
protected

Définition à la ligne 89 du fichier DataBank.hxx.

template<class T>
string DataBank< T >::fFuelType
protected

Définition à la ligne 87 du fichier DataBank.hxx.

template<class T>
LogFile* DataBank< T >::fLog
protected

Définition à la ligne 81 du fichier DataBank.hxx.

template<class T>
bool DataBank< T >::fOldReadMethod
protected

Définition à la ligne 84 du fichier DataBank.hxx.

template<class T>
bool DataBank< T >::fUpdateReferenceDBatEachStep
protected

Définition à la ligne 83 du fichier DataBank.hxx.


La documentation de cette classe a été générée à partir des fichiers suivants :