MURE
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Storage Class Reference

Storage are outcore containers. More...

#include <Storage.hxx>

Public Member Functions

 Storage (Material *Fuel, string Name, double SpatialVarVal)
 Normal constructor.
 
 Storage (const Storage &m)
 copy constructor
 
CellGetCell ()
 
MaterialGetFuel ()
 
string GetName ()
 
double GetMass (int Z, int A=0)
 return the storage masses.
 
double GetMass (vector< int > Zvect)
 return the storage masses.
 

Protected Attributes

CellfVirtualCell
 the out-core cell
 
MaterialfFuel
 the storage Material
 
string fName
 the storage Name
 

Detailed Description

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.

Author
PTO
Version
0.1

Constructor & Destructor Documentation

◆ Storage() [1/2]

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

Parameters
Fuel: The Storage material.
Name: The name of the storage (e.g. InterimStorrage)
SpatialVarVal: the value of the SpatialVariable cell.

◆ Storage() [2/2]

Storage::Storage ( const Storage m)

copy constructor

Member Function Documentation

◆ GetCell()

Cell * Storage::GetCell ( )
inline

< return the virtual cell

◆ GetFuel()

Material * Storage::GetFuel ( )
inline

< return the Storage material

◆ GetMass() [1/2]

double Storage::GetMass ( int  Z,
int  A = 0 
)

return the storage masses.

return the mass of nucleus X(Z, A).

  • If A=0, then the mass of the element is returned
  • If Z<0, then the mass of all elements with z>=Z is returned.
  • for example GetMass(92) return the mass of Uranium.
  • for example GetMass(-1) return the mass of all elements (from H to heavy nucleus).
Parameters
Z: Z of the nucleus
A: A of the nucleus.

◆ GetMass() [2/2]

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.

  • if Zvect={93, -95}, GetMass(Zvect) return the mass of all MA (Np, Am, Cm, Bk, ...)
    Parameters
    Zvect: vector of Z of nuclei of which the mass is requested.

◆ GetName()

string Storage::GetName ( )
inline

< return the storage name

Member Data Documentation

◆ fFuel

Material* Storage::fFuel
protected

the storage Material

◆ fName

string Storage::fName
protected

the storage Name

◆ fVirtualCell

Cell* Storage::fVirtualCell
protected

the out-core cell


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

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024