Storage are outcore containers. More...
#include <Storage.hxx>
Public Member Functions | |
Storage (Material *Fuel, string Name, double SpatialVarVal) | |
Normal constructor. More... | |
Storage (const Storage &m) | |
copy constructor More... | |
Cell * | GetCell () |
return the virtual cell More... | |
Material * | GetFuel () |
return the Storage material More... | |
string | GetName () |
return the storage name More... | |
double | GetMass (int Z, int A=0) |
return the storage masses. More... | |
double | GetMass (vector< int > Zvect) |
return the storage masses. More... | |
Protected Attributes | |
Cell * | fVirtualCell |
the out-core cell More... | |
Material * | fFuel |
the storage Material More... | |
string | fName |
the storage Name More... | |
Storage are outcore containers.
A Storage has a virtual cell (i.e. out-core cell) and a associated Material. It is used to keep depleted fuel, waste, ... during the evolution when FuelReprocessing object is build and used. See this class and TemporalStorage for more info.
Storage::Storage | ( | Material * | Fuel, |
string | Name, | ||
double | SpatialVarVal | ||
) |
Normal constructor.
Build the storage containing the "Fuel" Material. Virtual out-core Cell is automatically built. It may evolve, but only by decays (out core!).
To find a storage with MureGui, it has a "spatial variable" (the storage name), with a given value: X.Y where X corresponds to the index of reprocessing time at which the storage is built and Y is the storage number at this time. When having only 1 storage type per refuelling time, the spatial variable value is just, 0, 1 ...
Fuel | : The Storage material. |
Name | : The name of the storage (e.g. InterimStorrage) |
SpatialVarVal | : the value of the SpatialVariable cell. |
Storage::Storage | ( | const Storage & | m | ) |
copy constructor
|
inline |
return the virtual cell
double Storage::GetMass | ( | int | Z, |
int | A = 0 |
||
) |
return the storage masses.
return the mass of nucleus X(Z,A).
for example GetMass(-1) return the mass of all elements (from H to heavy nucleus).
Z | : Z of the nucleus |
A | : A of the nucleus. |
double Storage::GetMass | ( | vector< int > | Zvect | ) |
return the storage masses.
return the mass of elements of Z in the vector. -for example, if Zvect={93,95,96} GetMass(Zvect) return the mass of Np, Am and Cm.
Zvect | : vector of Z of nuclei of which the mass is requested. |
|
inline |
return the storage name
|
protected |
the storage Name
|
protected |
the out-core cell