MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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. More...
 
 Storage (const Storage &m)
 copy constructor More...
 
CellGetCell ()
 return the virtual cell More...
 
MaterialGetFuel ()
 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

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

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::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::Storage ( const Storage m)

copy constructor

Member Function Documentation

Cell* Storage::GetCell ( )
inline

return the virtual cell

Material* Storage::GetFuel ( )
inline

return the Storage material

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.
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.
string Storage::GetName ( )
inline

return the storage name

Member Data Documentation

Material* Storage::fFuel
protected

the storage Material

string Storage::fName
protected

the storage Name

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.8.5 - Mon Nov 17 2014