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

A Cell is composed from a Shape and a Material. More...

#include <Cell.hxx>

Inheritance diagram for Cell:
LatticeCell PinCell

Public Member Functions

 Cell (Shape_ptr theShape, Material *theMaterial=nullptr, int theImportance=1, double theTemperature=- 10)
 Normal constructor.
 
 Cell (int theNumber, Material *theMaterial, double theVolume, int theImportance=1, double theTemperature=- 10)
 Special Constructor.
 
 Cell (Material *theMaterial, int theNumber, double theVolume, double theTemperature)
 used for OutCore virtual cells
 
 Cell (const Cell &c)
 Copy constructor.
 
virtual CellClone ()
 
virtual ~Cell ()
 destructor
 
General Cell attributes
void SetShape (Shape_ptr theShape)
 
Shape_ptr GetShape ()
 
void SetMaterial (Material *theMaterial)
 set the Material constituing the Cell
 
MaterialGetMaterial ()
 
void SetTemperature (double T)
 set the temperature (in K) to T
 
double GetTemperature ()
 
void SetImportance (int imp)
 Set all the MC Cell importance (imp card)
 
void SetImportance (int part, int imp)
 
vector< int > & GetImportance ()
 
vector< string > & GetParticle ()
 
void AddParticle (string Part, int Imp)
 add a particle type Part (N, P or E) and its importance
 
int GetNumber ()
 
void SetNumber (int Number)
 
void SetGlobalImportance (int imp)
 
int GetGlobalImportance ()
 
double GetVolume ()
 Get the Volume of a Cell.
 
void SetVolume (double V)
 Set Cell volume.
 
double GetMass ()
 Get Cell mass.
 
void SetComment (string Comment="")
 
string GetComment ()
 
void AddSpatialVariable (string name, double value)
 Add spatial variables to a Cell.
 
vector< string > & GetSpatialVariableNames ()
 
vector< double > & GetSpatialVariables ()
 
bool IsSpatialVariable (string name)
 Returns if spatial variable "name" is defined.
 
double GetSpatialVariable (string name)
 Returns value of spatial variable "name".
 
Cell Transformations
CellLikeBut (Cell *InsertionCell, Transformation *Transfo)
 Create new cloned cell, identical but with Translate/Rotate.
 
void SetLikeNumber (int Number)
 
int GetLikeNumber ()
 
void SetTransformation (Transformation *TR)
 
TransformationGetTransformation ()
 
void ExcludeCell (Cell *ACell)
 
bool IsLikeBut ()
 
vector< Cell * > & GetExcludedCellVector ()
 
Cell Evolution linked methods
bool IsEvolving ()
 
void SetEvolutiveSystem (EvolutiveSystem *es)
 
EvolutiveSystemGetEvolutiveSystem ()
 
void SetTallyNumber (int num)
 
int GetTallyNumber ()
 
void SetTallyBinNumber (int num)
 
int GetTallyBinNumber ()
 
void SetMultiplicatorTallyNumber (int num)
 
int GetMultiplicatorTallyNumber ()
 
void SetMultiplicatorTallyBinNumber (int num)
 
int GetMultiplicatorTallyBinNumber ()
 
void SetMultiplicatorTallyU8Number (int num)
 
int GetMultiplicatorTallyU8Number ()
 
void SetMultiplicatorTallyU8BinNumber (int num)
 
int GetMultiplicatorTallyU8BinNumber ()
 
void SetFlux (double phi)
 
void SetMCFlux (ValErr_t phi)
 
double GetFlux ()
 
ValErr_t GetMCFlux ()
 
void BuildMultiGroupFlux ()
 Build the group flux for multigroup run.
 
void SetMultiGroupFlux (int i, ValErr_t Flux)
 
ValErr_t GetMultiGroupFlux (int i)
 
vector< ValErr_t > & GetMultiGroupFlux ()
 
int GetNEnergyGroup ()
 
void SetEnergyGroup (vector< float > &nrj)
 
vector< float > & GetEnergyGroups ()
 
Reactivity control

these methods are used to control reactivity evolution (poison cell or control rod cell).

void SetTrueCell ()
 
bool GetTrueCell ()
 
void SetGlobalTallyNumber (int num)
 
int GetGlobalTallyNumber ()
 
void SetCellAbsorptions (ValErr_t rate)
 
void SetCellN2N (ValErr_t rate)
 
void SetCellN3N (ValErr_t rate)
 
void SetCellFissions (ValErr_t rate)
 
void SetCellNuFissions (ValErr_t rate)
 
void SetCellNu (ValErr_t rate)
 
void SetControlRate (Reaction r, ValErr_t rate)
 
void SetControlRate (int ReactionCode, ValErr_t rate)
 
ValErr_t GetCellAbsorptions ()
 
ValErr_t GetCellN2N ()
 
ValErr_t GetCellN3N ()
 
ValErr_t GetCellFissions ()
 
ValErr_t GetCellNuFissions ()
 
ValErr_t GetCellNu ()
 
ValErr_t GetControlRate (Reaction r)
 
ValErr_t GetControlRate (int ReactionCode)
 
bool IsFissile ()
 return true when a Cell contains a fissile Nucleus
 
bool IsControlRod ()
 
void SetControlRod (double InitialLength, bool flag=true)
 give the initial length of a Control Rod
 
void SetControlRodLength (double l)
 
double GetControlRodLength ()
 

Miscellaneous methods

int fNumber
 MC Number of the Cell.
 
Shape_ptr fShape
 Shape of the Cell.
 
MaterialfMaterial
 Material constituing the Cell.
 
double fTemperature
 Temperature (in K) of the Cell.
 
double fFlux
 Flux in the cell.
 
ValErr_t fMCFlux
 Flux in the cell.
 
int fGlobalImportance
 vector of Importance in the Cell for the coresponding particle
 
vector< int > fImportance
 vector of Importance in the Cell for the coresponding particle
 
vector< string > fParticle
 vector of Particle
 
string fComment
 Cell comment (to be written in MC file)
 
double fVolume
 the Cell Volume
 
bool fEvolving
 Whether or not the cell material is evolving.
 
double fMass
 mass of the cell.
 
double fNatoms
 Number of nuclei in the cell.
 
EvolutiveSystemfEvolutiveSystem
 If the cell is evolving, then this is its corresponding evolutive system.
 
int fTallyNum
 Tally Number for flux calculation (evolution)
 
int fTallyBinNum
 Tally Bin Number for flux calculation (evolution)
 
int fGlobalTallyNum
 Tally use for global reaction rates (on boron, control rod, ...) (fms)
 
int fMultiplicatorTallyNum
 Tally Number for flux calculation (evolution)
 
int fMultiplicatorTallyBinNum
 Tally Bin Number for flux calculation (evolution)
 
int fMultiplicatorTallyU8Num
 Tally Number for flux calculation (evolution)
 
int fMultiplicatorTallyU8BinNum
 
vector< double > fSpatialVariables
 Information on the cell's spatial position.
 
vector< string > fSpatialVariableNames
 Names of the spatial variables (e.g assemblyx, crayon#, ringradius)
 
bool fIsTrueCell
 true for True cell (fms)
 
vector< BetaCollector * > fCellBetaCollectors
 vector of gathered beta emitters at different time steps
 
ValErr_t fCellAbsorptions
 absorption rate of the cell
 
ValErr_t fCellN2N
 (n, 2n) rate of the cell
 
ValErr_t fCellN3N
 (n, 2n) rate of the cell
 
ValErr_t fCellNuFissions
 nu*fission rate of the cell
 
ValErr_t fCellFissions
 fission rate of the cell
 
ValErr_t fCellNu
 fission rate of the cell
 
map< Reaction, ValErr_t, EqualReactionfControlRate
 cell reaction rates when evolution is controled by ControlMaterial
 
bool fCellCanFission
 a fissile material as been put in the Cell
 
vector< double > fCellGlobalRatesVector
 contains duplicates
 
int *** fTransLattice
 the lattice array containing transformation number
 
bool fControlRod
 Whether or not the cell is a control rod.
 
double fControlRodLength
 Whether or not the cell is a control rod.
 
bool fIsLikeBut
 Flag to say that new cell is like cell X, but put somewhere else.
 
int fLikeNumber
 The cell that it is copied from.
 
TransformationfTransformation
 The Transformation that applies to this like but cell.
 
vector< Cell * > fExcludedCells
 Vector of all the other LikeBut cells inside this one.
 
bool fFuel
 whether or not this cell has is fuel material.
 
bool fModerator
 whether or not this has moderator material.
 
bool fGuideTubeCoolant
 Attribute to declare a guide tube cell containing the same coolant as neighbour cells.
 
bool fVirtual
 whether it is a true MURE cell or a virtual (user define MC geometry).
 
int fZlevel
 The Z level of this cell, need for thermal coupling.
 
int fZone
 Attribute to declare a group of cells to be in the same zone.
 
int fTHLevelPosition
 explicit spatial level position of a cell (used for thermal-hydraulics)
 
int fTHZonePosition
 explicit spatial zone position (arbitrary) of a cell (used for thermal-hydraulics)
 
double fLocalKeff
 The local Keff of this cell.
 
vector< ValErr_t > fPhiE
 The multigroup flux in case of multigroup run.
 
vector< float > fEnergyGroups
 array of the energy groups
 
int fNEnergyGroup
 Number of groups.
 
double fNuNSigmaFisPhiTotalOfCell
 Nutot*N*sigmafis*Flux of all nucleus in the cell.
 
vector< double > fNSigmaFisPhiOfNucleus
 N*sigmafis*Flux of a nucleus in a cell.
 
bool fIsPrintable
 if the Cell can be printed in the MC input file
 
bool fIsFromPinCell
 if the Cell is a PinCell associated cell
 
bool fIsAPinCell
 if the Cell is not a Cell but a PinCell
 
bool IsFuel ()
 
bool IsModerator ()
 
void SetFuel (bool flag=true)
 
void SetModerator (bool flag=true)
 
void SetZone (int z)
 
int GetZone ()
 
void SetZlevel (int z)
 
int GetZlevel ()
 
void SetGuideTubeCoolant ()
 
bool IsGuideTubeCoolant ()
 
double GetLocalKeff ()
 Calculate the value of Keff unique to this cell from reaction rates and surrounding fluxes.
 
void AddBetaCollector (BetaCollector *BC)
 
bool IsVirtual ()
 
bool IsFromPinCell ()
 
void SetFromPinCell (bool flag)
 
bool IsAPinCell ()
 
bool IsPrintable ()
 
void SetPrintable (bool flag)
 
void SetTHLevelPosition (int level)
 
int GetTHLevelPosition ()
 
void SetTHZonePosition (int zone)
 
int GetTHZonePosition ()
 
void AddToNuNSigmaFisPhi (double Value)
 
void SetNuNSigmaFisPhi (double Value)
 
double GetNuNSigmaFisPhi ()
 
void SetNSigmaFisPhiOfNucleus (int i, double Value)
 
double GetNSigmaFisPhiOfNucleus (int i)
 
vector< double > GetNSigmaFisPhiOfAllNucleus ()
 
virtual int GetUniverse ()
 
 Cell ()
 

Detailed Description

A Cell is composed from a Shape and a Material.

A Cell associates a geometrical shape (a Shape_ptr) with a Material (which can be void). Special Cells (daughters of Cell) are also defined they are LatticeCell and PinCell. The first one is used to define Lattice ; the second one is inspired from the Serpent pin: it allows user to define set of cells to describe "pin fuel" cylinder type cells (e.g. the fuel cylinder, a gap, the clad, and its outside). See PinCell class.

Author
PTO
J. Hajnrych
JWilson
FMS
Version
2.0
See also
User Guide

Constructor & Destructor Documentation

◆ Cell() [1/5]

Cell::Cell ( Shape_ptr  theShape,
Material theMaterial = nullptr,
int  theImportance = 1,
double  theTemperature = - 10 
)

Normal constructor.

Create a Cell of geometrycal shape theShape, composed of theMaterial. if Material is specified and the cell temperature is not, the cell temperature is taken from the material The theImportance parameter is mainly related to MCNP importance (spatial population control). But a null importance is used by both Serpent and MCNP to defined the outside of the system (i.e. no particle are followed in a 0 importance cell ; it correspond to the "outside" key word of Serpent.

Default: a void Shape_ptr at 293.6K with importance 1.

Parameters
theShape: the Shape of the Cell.
theMaterial: the Material constituing the Cell
theImportance: Importance in the Cell: all particles importance are set to theImportance
theTemperature: Temperature (in K) of the Cell

◆ Cell() [2/5]

Cell::Cell ( int  theNumber,
Material theMaterial,
double  theVolume,
int  theImportance = 1,
double  theTemperature = - 10 
)

Special Constructor.

Use when the geometry is not a MURE one but a standard MCNP(X) one. This is only for evolving cells thus the Material must be a true one.

Parameters
theNumber: the Cell number in the user defined MCNP(X) geometry.
theVolume: the Cell volume of the user defined MCNP(X) geometry. MUST BE PROVIDED
theMaterial: the Material constituing the Cell
theImportance: Importance in the Cell: all particles importance are set to theImportance
theTemperature: Temperature (in K) of the Cell

◆ Cell() [3/5]

Cell::Cell ( Material theMaterial,
int  theNumber,
double  theVolume,
double  theTemperature 
)

used for OutCore virtual cells

◆ Cell() [4/5]

Cell::Cell ( const Cell c)

Copy constructor.

◆ ~Cell()

Cell::~Cell ( )
virtual

destructor

◆ Cell() [5/5]

Cell::Cell ( )
protected

Member Function Documentation

◆ AddBetaCollector()

void Cell::AddBetaCollector ( BetaCollector BC)
inline

< add a beta collector at a particular time step

◆ AddParticle()

void Cell::AddParticle ( string  Part,
int  Imp 
)

add a particle type Part (N, P or E) and its importance

◆ AddSpatialVariable()

void Cell::AddSpatialVariable ( string  name,
double  value 
)

Add spatial variables to a Cell.

Spatial variables are used only for post treatment (MureGui). The aim of these variables is to make conditions on what to plot.

◆ AddToNuNSigmaFisPhi()

void Cell::AddToNuNSigmaFisPhi ( double  Value)
inline

< adding value to Nu sigma phi total

◆ BuildMultiGroupFlux()

void Cell::BuildMultiGroupFlux ( )

Build the group flux for multigroup run.

◆ Clone()

virtual Cell * Cell::Clone ( )
inlinevirtual

Reimplemented in LatticeCell, and PinCell.

◆ ExcludeCell()

void Cell::ExcludeCell ( Cell ACell)
inline

< Vector of LikeBut cells to exclude

◆ GetCellAbsorptions()

ValErr_t Cell::GetCellAbsorptions ( )
inline

< return absorption rate of the cell

◆ GetCellFissions()

ValErr_t Cell::GetCellFissions ( )
inline

< return fission rate of the cell

◆ GetCellN2N()

ValErr_t Cell::GetCellN2N ( )
inline

< return (n, 2n) rate of the cell

◆ GetCellN3N()

ValErr_t Cell::GetCellN3N ( )
inline

< return (n, 3n) rate of the cell

◆ GetCellNu()

ValErr_t Cell::GetCellNu ( )
inline

< return Nu of the cell

◆ GetCellNuFissions()

ValErr_t Cell::GetCellNuFissions ( )
inline

< return fission*Nu rate of the cell

◆ GetComment()

string Cell::GetComment ( )
inline

< return the Cell comment

◆ GetControlRate() [1/2]

ValErr_t Cell::GetControlRate ( int  ReactionCode)
inline

< return the cell reaction rates when evolution is controled by ControlMaterial

◆ GetControlRate() [2/2]

ValErr_t Cell::GetControlRate ( Reaction  r)
inline

< return the cell reaction rates when evolution is controled by ControlMaterial

◆ GetControlRodLength()

double Cell::GetControlRodLength ( )
inline

< return the Control Rod length

◆ GetEnergyGroups()

vector< float > & Cell::GetEnergyGroups ( )
inline

< return the energy group array

◆ GetEvolutiveSystem()

EvolutiveSystem * Cell::GetEvolutiveSystem ( )
inline

< return the EvolutiveSystem of this cell

◆ GetExcludedCellVector()

vector< Cell * > & Cell::GetExcludedCellVector ( )
inline

◆ GetFlux()

double Cell::GetFlux ( )
inline

< returns the mean flux in this cell

◆ GetGlobalImportance()

int Cell::GetGlobalImportance ( )
inline

< return the global particle's importance of the Cell

◆ GetGlobalTallyNumber()

int Cell::GetGlobalTallyNumber ( )
inline

< return the Tally number

◆ GetImportance()

vector< int > & Cell::GetImportance ( )
inline

< returns the MC Cell importance (imp card)

◆ GetLikeNumber()

int Cell::GetLikeNumber ( )
inline

< Set the like but number of new cell clone

◆ GetLocalKeff()

double Cell::GetLocalKeff ( )

Calculate the value of Keff unique to this cell from reaction rates and surrounding fluxes.

◆ GetMass()

double Cell::GetMass ( )

Get Cell mass.

◆ GetMaterial()

Material * Cell::GetMaterial ( )
inline

< returns the Material constituing the Cell

◆ GetMCFlux()

ValErr_t Cell::GetMCFlux ( )
inline

< returns the mean flux in this cell

◆ GetMultiGroupFlux() [1/2]

vector< ValErr_t > & Cell::GetMultiGroupFlux ( )
inline

< return the multigroup flux vector

◆ GetMultiGroupFlux() [2/2]

ValErr_t Cell::GetMultiGroupFlux ( int  i)
inline

< get the value of the group i flux

◆ GetMultiplicatorTallyBinNumber()

int Cell::GetMultiplicatorTallyBinNumber ( )
inline

< returns the Tally bin number

◆ GetMultiplicatorTallyNumber()

int Cell::GetMultiplicatorTallyNumber ( )
inline

< returns Tally Number for the Cell

◆ GetMultiplicatorTallyU8BinNumber()

int Cell::GetMultiplicatorTallyU8BinNumber ( )
inline

< returns Tally Number for the Cell

◆ GetMultiplicatorTallyU8Number()

int Cell::GetMultiplicatorTallyU8Number ( )
inline

< returns Tally Number for the Cell

◆ GetNEnergyGroup()

int Cell::GetNEnergyGroup ( )
inline

< return the number of groups of the flux

◆ GetNSigmaFisPhiOfAllNucleus()

vector< double > Cell::GetNSigmaFisPhiOfAllNucleus ( )
inline

< returns N*sigmafis*Flux of a nucleus in a cell

◆ GetNSigmaFisPhiOfNucleus()

double Cell::GetNSigmaFisPhiOfNucleus ( int  i)
inline

< returns N*sigmafis*Flux

◆ GetNumber()

int Cell::GetNumber ( )
inline

< returns the MC Number of the Cell

◆ GetNuNSigmaFisPhi()

double Cell::GetNuNSigmaFisPhi ( )
inline

< Get Nutot*N*sigmafis*Flux of all nucleus in the cell

◆ GetParticle()

vector< string > & Cell::GetParticle ( )
inline

< returns the Particle type (N=neutron, P=photon, E=Electron)

◆ GetShape()

Shape_ptr Cell::GetShape ( )
inline

< returns the Shape of the Cell

◆ GetSpatialVariable()

double Cell::GetSpatialVariable ( string  name)

Returns value of spatial variable "name".

◆ GetSpatialVariableNames()

vector< string > & Cell::GetSpatialVariableNames ( )
inline

< return spatial variable names

◆ GetSpatialVariables()

vector< double > & Cell::GetSpatialVariables ( )
inline

< return spatial varibale values

◆ GetTallyBinNumber()

int Cell::GetTallyBinNumber ( )
inline

< returns the Tally bin number

◆ GetTallyNumber()

int Cell::GetTallyNumber ( )
inline

< returns Tally Number for the Cell

◆ GetTemperature()

double Cell::GetTemperature ( )
inline

< returns the temperature in K.

◆ GetTHLevelPosition()

int Cell::GetTHLevelPosition ( )
inline

< Get spatial level position of a cell (used for thermal-hydraulics)

◆ GetTHZonePosition()

int Cell::GetTHZonePosition ( )
inline

< Get spatial zone position (arbitrary) of a cell (used for thermal-hydraulics)

◆ GetTransformation()

Transformation * Cell::GetTransformation ( )
inline

< Get the transformation of the new cell

◆ GetTrueCell()

bool Cell::GetTrueCell ( )
inline

< return true for a true Cell

◆ GetUniverse()

virtual int Cell::GetUniverse ( )
inlinevirtual

< returns the MC Universe Number of the Cell

Reimplemented in LatticeCell, and PinCell.

◆ GetVolume()

double Cell::GetVolume ( )
inline

Get the Volume of a Cell.

Returns -1 when not able to calculate volume

◆ GetZlevel()

int Cell::GetZlevel ( )
inline

< return the z level number of this cell

◆ GetZone()

int Cell::GetZone ( )
inline

< return the zone number of this cell

◆ IsAPinCell()

bool Cell::IsAPinCell ( )
inline

< The cell is a PinCell

◆ IsControlRod()

bool Cell::IsControlRod ( )
inline

< return true for a Control Rod

◆ IsEvolving()

bool Cell::IsEvolving ( )
inline

< return true for an evolving cell

◆ IsFissile()

bool Cell::IsFissile ( )

return true when a Cell contains a fissile Nucleus

◆ IsFromPinCell()

bool Cell::IsFromPinCell ( )
inline

< whether or not the Cell is an associated cell of a PinCell

◆ IsFuel()

bool Cell::IsFuel ( )
inline

< return true for a fuel Cell

◆ IsGuideTubeCoolant()

bool Cell::IsGuideTubeCoolant ( )
inline

< return true for a guide tube coolant cell

◆ IsLikeBut()

bool Cell::IsLikeBut ( )
inline

◆ IsModerator()

bool Cell::IsModerator ( )
inline

< return true for a moderator Cell

◆ IsPrintable()

bool Cell::IsPrintable ( )
inline

< Whether or not the Cell is printable in the MC input file (virtual cells are not printed)

◆ IsSpatialVariable()

bool Cell::IsSpatialVariable ( string  name)

Returns if spatial variable "name" is defined.

◆ IsVirtual()

bool Cell::IsVirtual ( )
inline

< virtual cells are used only for evolution purpose ; they are not printed in the MC input file

◆ LikeBut()

Cell * Cell::LikeBut ( Cell InsertionCell,
Transformation Transfo 
)

Create new cloned cell, identical but with Translate/Rotate.

◆ SetCellAbsorptions()

void Cell::SetCellAbsorptions ( ValErr_t  rate)
inline

< Set absorption rate of the cell

◆ SetCellFissions()

void Cell::SetCellFissions ( ValErr_t  rate)
inline

< Set fission rate of the cell

◆ SetCellN2N()

void Cell::SetCellN2N ( ValErr_t  rate)
inline

< Set (n, 2n) rate of the cell

◆ SetCellN3N()

void Cell::SetCellN3N ( ValErr_t  rate)
inline

< Set (n, 3n) rate of the cell

◆ SetCellNu()

void Cell::SetCellNu ( ValErr_t  rate)
inline

< Set fission*Nu rate of the cell

◆ SetCellNuFissions()

void Cell::SetCellNuFissions ( ValErr_t  rate)
inline

< Set fission*Nu rate of the cell

◆ SetComment()

void Cell::SetComment ( string  Comment = "")
inline

< Give a comment to the Cell (default=no comment)

◆ SetControlRate() [1/2]

void Cell::SetControlRate ( int  ReactionCode,
ValErr_t  rate 
)
inline

Set Cell reaction rates when evolution is controled by ControlMaterial.

Parameters
ReactionCode: the wanted endf code corresponding to a reaction (e.g. 102 for (n, gamma)).
rate: the value.

◆ SetControlRate() [2/2]

void Cell::SetControlRate ( Reaction  r,
ValErr_t  rate 
)
inline

Set Cell reaction rates when evolution is controled by ControlMaterial.

Parameters
r: the wanted Reaction.
rate: the value.

◆ SetControlRod()

void Cell::SetControlRod ( double  InitialLength,
bool  flag = true 
)

give the initial length of a Control Rod

◆ SetControlRodLength()

void Cell::SetControlRodLength ( double  l)
inline

< give the length of a Control Rod (used in MURE only)

◆ SetEnergyGroup()

void Cell::SetEnergyGroup ( vector< float > &  nrj)
inline

< set the energy group array

◆ SetEvolutiveSystem()

void Cell::SetEvolutiveSystem ( EvolutiveSystem es)
inline

< set the EvolutiveSystem of this cell

◆ SetFlux()

void Cell::SetFlux ( double  phi)
inline

< set the mean flux in this cell

◆ SetFromPinCell()

void Cell::SetFromPinCell ( bool  flag)
inline

< tell to the cell that it is (or not) an associated cell of a PinCell

◆ SetFuel()

void Cell::SetFuel ( bool  flag = true)
inline

< say that the Cell contains fuel

◆ SetGlobalImportance()

void Cell::SetGlobalImportance ( int  imp)
inline

< Give the same importance to all transported particle in the Cell

◆ SetGlobalTallyNumber()

void Cell::SetGlobalTallyNumber ( int  num)
inline

< Give a Tally number for poison/control rod (abs, ...)

◆ SetGuideTubeCoolant()

void Cell::SetGuideTubeCoolant ( )
inline

< Set that this cell is a GuideTube coolant cell

◆ SetImportance() [1/2]

void Cell::SetImportance ( int  imp)

Set all the MC Cell importance (imp card)

◆ SetImportance() [2/2]

void Cell::SetImportance ( int  part,
int  imp 
)
inline

< Set the MC Cell importance for particle part

◆ SetLikeNumber()

void Cell::SetLikeNumber ( int  Number)
inline

< Set the like but number of new cell clone

◆ SetMaterial()

void Cell::SetMaterial ( Material theMaterial)

set the Material constituing the Cell

◆ SetMCFlux()

void Cell::SetMCFlux ( ValErr_t  phi)
inline

< set the mean flux in this cell

◆ SetModerator()

void Cell::SetModerator ( bool  flag = true)
inline

< say that the Cell moderator fuel

◆ SetMultiGroupFlux()

void Cell::SetMultiGroupFlux ( int  i,
ValErr_t  Flux 
)
inline

< set "Flux" to group i

◆ SetMultiplicatorTallyBinNumber()

void Cell::SetMultiplicatorTallyBinNumber ( int  num)
inline

< Set the Tally bin number (i.e. the bin in which the cell is stored)

◆ SetMultiplicatorTallyNumber()

void Cell::SetMultiplicatorTallyNumber ( int  num)
inline

< Set Tally Number for the Cell

◆ SetMultiplicatorTallyU8BinNumber()

void Cell::SetMultiplicatorTallyU8BinNumber ( int  num)
inline

< Set Tally Number for the Cell

◆ SetMultiplicatorTallyU8Number()

void Cell::SetMultiplicatorTallyU8Number ( int  num)
inline

< Set Tally Number for the Cell

◆ SetNSigmaFisPhiOfNucleus()

void Cell::SetNSigmaFisPhiOfNucleus ( int  i,
double  Value 
)
inline

< Set N*sigmafis*Flux of a nucleus in a cell - nucleus are arbitrary ordered

◆ SetNumber()

void Cell::SetNumber ( int  Number)
inline

< set's the MC Number of the Cell

◆ SetNuNSigmaFisPhi()

void Cell::SetNuNSigmaFisPhi ( double  Value)
inline

< used to renice

◆ SetPrintable()

void Cell::SetPrintable ( bool  flag)
inline

< set the printable flag

◆ SetShape()

void Cell::SetShape ( Shape_ptr  theShape)
inline

< give a Shape(_ptr) to the Cell

◆ SetTallyBinNumber()

void Cell::SetTallyBinNumber ( int  num)
inline

< Set the Tally bin number (i.e. the bin in which the cell is stored)

◆ SetTallyNumber()

void Cell::SetTallyNumber ( int  num)
inline

< Set Tally Number for the Cell

◆ SetTemperature()

void Cell::SetTemperature ( double  T)

set the temperature (in K) to T

◆ SetTHLevelPosition()

void Cell::SetTHLevelPosition ( int  level)
inline

< Set spatial level position of a cell (used for thermal-hydraulics)

◆ SetTHZonePosition()

void Cell::SetTHZonePosition ( int  zone)
inline

< Set spatial zone position (arbitrary) of a cell (used for thermal-hydraulics)

◆ SetTransformation()

void Cell::SetTransformation ( Transformation TR)
inline

< Set the transformation of the new cell

◆ SetTrueCell()

void Cell::SetTrueCell ( )
inline

< say the cell is a true one

◆ SetVolume()

void Cell::SetVolume ( double  V)

Set Cell volume.

◆ SetZlevel()

void Cell::SetZlevel ( int  z)
inline

< Set that this cell is in a certain zlevel with other cells

◆ SetZone()

void Cell::SetZone ( int  z)
inline

< Set that this cell is in a given zone with other cells

Member Data Documentation

◆ fCellAbsorptions

ValErr_t Cell::fCellAbsorptions
protected

absorption rate of the cell

◆ fCellBetaCollectors

vector< BetaCollector *> Cell::fCellBetaCollectors
protected

vector of gathered beta emitters at different time steps

◆ fCellCanFission

bool Cell::fCellCanFission
protected

a fissile material as been put in the Cell

◆ fCellFissions

ValErr_t Cell::fCellFissions
protected

fission rate of the cell

◆ fCellGlobalRatesVector

vector< double > Cell::fCellGlobalRatesVector
protected

contains duplicates

◆ fCellN2N

ValErr_t Cell::fCellN2N
protected

(n, 2n) rate of the cell

◆ fCellN3N

ValErr_t Cell::fCellN3N
protected

(n, 2n) rate of the cell

◆ fCellNu

ValErr_t Cell::fCellNu
protected

fission rate of the cell

◆ fCellNuFissions

ValErr_t Cell::fCellNuFissions
protected

nu*fission rate of the cell

◆ fComment

string Cell::fComment
protected

Cell comment (to be written in MC file)

◆ fControlRate

map< Reaction, ValErr_t, EqualReaction > Cell::fControlRate
protected

cell reaction rates when evolution is controled by ControlMaterial

◆ fControlRod

bool Cell::fControlRod
protected

Whether or not the cell is a control rod.

◆ fControlRodLength

double Cell::fControlRodLength
protected

Whether or not the cell is a control rod.

◆ fEnergyGroups

vector<float> Cell::fEnergyGroups
protected

array of the energy groups

◆ fEvolutiveSystem

EvolutiveSystem* Cell::fEvolutiveSystem
protected

If the cell is evolving, then this is its corresponding evolutive system.

◆ fEvolving

bool Cell::fEvolving
protected

Whether or not the cell material is evolving.

◆ fExcludedCells

vector< Cell *> Cell::fExcludedCells
protected

Vector of all the other LikeBut cells inside this one.

◆ fFlux

double Cell::fFlux
protected

Flux in the cell.

◆ fFuel

bool Cell::fFuel
protected

whether or not this cell has is fuel material.

◆ fGlobalImportance

int Cell::fGlobalImportance
protected

vector of Importance in the Cell for the coresponding particle

◆ fGlobalTallyNum

int Cell::fGlobalTallyNum
protected

Tally use for global reaction rates (on boron, control rod, ...) (fms)

◆ fGuideTubeCoolant

bool Cell::fGuideTubeCoolant
protected

Attribute to declare a guide tube cell containing the same coolant as neighbour cells.

◆ fImportance

vector< int > Cell::fImportance
protected

vector of Importance in the Cell for the coresponding particle

◆ fIsAPinCell

bool Cell::fIsAPinCell
protected

if the Cell is not a Cell but a PinCell

◆ fIsFromPinCell

bool Cell::fIsFromPinCell
protected

if the Cell is a PinCell associated cell

◆ fIsLikeBut

bool Cell::fIsLikeBut
protected

Flag to say that new cell is like cell X, but put somewhere else.

◆ fIsPrintable

bool Cell::fIsPrintable
protected

if the Cell can be printed in the MC input file

◆ fIsTrueCell

bool Cell::fIsTrueCell
protected

true for True cell (fms)

◆ fLikeNumber

int Cell::fLikeNumber
protected

The cell that it is copied from.

◆ fLocalKeff

double Cell::fLocalKeff
protected

The local Keff of this cell.

◆ fMass

double Cell::fMass
protected

mass of the cell.

◆ fMaterial

Material* Cell::fMaterial
protected

Material constituing the Cell.

◆ fMCFlux

ValErr_t Cell::fMCFlux
protected

Flux in the cell.

◆ fModerator

bool Cell::fModerator
protected

whether or not this has moderator material.

◆ fMultiplicatorTallyBinNum

int Cell::fMultiplicatorTallyBinNum
protected

Tally Bin Number for flux calculation (evolution)

◆ fMultiplicatorTallyNum

int Cell::fMultiplicatorTallyNum
protected

Tally Number for flux calculation (evolution)

◆ fMultiplicatorTallyU8BinNum

int Cell::fMultiplicatorTallyU8BinNum
protected

◆ fMultiplicatorTallyU8Num

int Cell::fMultiplicatorTallyU8Num
protected

Tally Number for flux calculation (evolution)

◆ fNatoms

double Cell::fNatoms
protected

Number of nuclei in the cell.

◆ fNEnergyGroup

int Cell::fNEnergyGroup
protected

Number of groups.

◆ fNSigmaFisPhiOfNucleus

vector< double > Cell::fNSigmaFisPhiOfNucleus
protected

N*sigmafis*Flux of a nucleus in a cell.

◆ fNumber

int Cell::fNumber
protected

MC Number of the Cell.

◆ fNuNSigmaFisPhiTotalOfCell

double Cell::fNuNSigmaFisPhiTotalOfCell
protected

Nutot*N*sigmafis*Flux of all nucleus in the cell.

◆ fParticle

vector< string > Cell::fParticle
protected

vector of Particle

◆ fPhiE

vector< ValErr_t > Cell::fPhiE
protected

The multigroup flux in case of multigroup run.

◆ fShape

Shape_ptr Cell::fShape
protected

Shape of the Cell.

◆ fSpatialVariableNames

vector< string > Cell::fSpatialVariableNames
protected

Names of the spatial variables (e.g assemblyx, crayon#, ringradius)

◆ fSpatialVariables

vector< double > Cell::fSpatialVariables
protected

Information on the cell's spatial position.

◆ fTallyBinNum

int Cell::fTallyBinNum
protected

Tally Bin Number for flux calculation (evolution)

◆ fTallyNum

int Cell::fTallyNum
protected

Tally Number for flux calculation (evolution)

◆ fTemperature

double Cell::fTemperature
protected

Temperature (in K) of the Cell.

◆ fTHLevelPosition

int Cell::fTHLevelPosition
protected

explicit spatial level position of a cell (used for thermal-hydraulics)

◆ fTHZonePosition

int Cell::fTHZonePosition
protected

explicit spatial zone position (arbitrary) of a cell (used for thermal-hydraulics)

◆ fTransformation

Transformation* Cell::fTransformation
protected

The Transformation that applies to this like but cell.

◆ fTransLattice

int*** Cell::fTransLattice
protected

the lattice array containing transformation number

◆ fVirtual

bool Cell::fVirtual
protected

whether it is a true MURE cell or a virtual (user define MC geometry).

◆ fVolume

double Cell::fVolume
protected

the Cell Volume

◆ fZlevel

int Cell::fZlevel
protected

The Z level of this cell, need for thermal coupling.

◆ fZone

int Cell::fZone
protected

Attribute to declare a group of cells to be in the same zone.


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

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