MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
Cell Class Reference

A Cell is a MCNP cell. More...

#include <Cell.hxx>

Public Member Functions

 Cell (Shape_ptr theShape, Material *theMaterial=0, int theImportance=1, double theTemperature=-10)
 Normal constructor. More...
 
 Cell (int theNumber, Material *theMaterial, double theVolume, int theImportance=1, double theTemperature=-10)
 Special Constructor. More...
 
 Cell (Material *theMaterial, int theNumber, double theVolume, double theTemperature)
 used for OutCore virtual cells More...
 
 Cell (const Cell &c)
 Copy constructor. More...
 
 ~Cell ()
 destructor More...
 
General Cell attributes
void SetShape (Shape_ptr theShape)
 give a Shape(_ptr) to the Cell More...
 
Shape_ptr GetShape ()
 returns the Shape of the Cell More...
 
void SetMaterial (Material *theMaterial)
 set the Material constituing the Cell More...
 
MaterialGetMaterial ()
 returns the Material constituing the Cell More...
 
void SetTemperature (double T)
 set the temperature (in K) to T More...
 
double GetTemperature ()
 returns the temperature in K. More...
 
void SetImportance (int imp)
 Set all the MCNP Cell importance (imp card) More...
 
void SetImportance (int part, int imp)
 Set the MCNP Cell importance for particle part. More...
 
vector< int > GetImportance ()
 returns the MCNP Cell importance (imp card) More...
 
vector< string > GetParticle ()
 returns the Particle type (N=neutron, P=photon, E=Electron) More...
 
void AddParticle (string Part, int Imp)
 add a particle type Part (N, P or E) and its importance More...
 
int GetNumber ()
 returns the MCNP Number of the Cell More...
 
void SetNumber (int Number)
 
double GetVolume ()
  Get the Volume of a Cell. More...
 
void SetVolume (double V)
 Set Cell volume. More...
 
double GetMass ()
 Get Cell mass. More...
 
void SetComment (string Comment="")
 Give a comment to the Cell (default=no comment) More...
 
string GetComment ()
 return the Cell comment More...
 
void AddSpatialVariable (string name, double value)
 Add spatial variables to a Cell. More...
 
vector< string > & GetSpatialVariableNames ()
 return spatial variable names More...
 
vector< double > & GetSpatialVariables ()
 return spatial varibale values More...
 
bool IsSpatialVariable (string name)
 Returns if spatial variable "name" is defined. More...
 
double GetSpatialVariable (string name)
 Returns value of spatial variable "name". More...
 
Lattice methods

these methods are used to define lattices.

void Lattice (int LatticeType, int *RangeX, int *RangeY=0, int *RangeZ=0)
 Declaration of a Lattice. More...
 
void Lattice (int LatticeType, int Xmin=0, int Xmax=0, int Ymin=0, int Ymax=0, int Zmin=0, int Zmax=0)
 Declaration of a Lattice. More...
 
int FillLattice (int Universe, int *Pos=0, int Trans=0)
 Fill a Cell Lattice with Universe. More...
 
int FillLattice (Shape_ptr theShape, int *Pos=0, int OldUniverse=0, int Trans=0)
 Fill a Cell Lattice with Universe. More...
 
int GetUniverse ()
 returns the MCNP Universe Number of the Cell More...
 
int *** GetLattice ()
 Returns the Lattice Matrix. More...
 
int ** GetLatticeRange ()
 Returns the Lattice Range. More...
 
int *** GetTransLattice ()
 Returns the Lattice Matrix Transformation. More...
 
Cell Transformations
CellLikeBut (Cell *InsertionCell, double x=0, double y=0, double z=0)
 Create new cloned cell, translation. More...
 
void SetLikeNumber (int Number)
 Set the like but number of new cell clone. More...
 
void SetTransformation (Transformation *TR)
 Set the transformation of the new cell. More...
 
TransformationGetTransformation ()
 Get the transformation of the new cell. More...
 
void ExcludeCell (Cell *ACell)
 Vector of LikeBut cells to exclude. More...
 
Cell Evolution linked methods
bool IsEvolving ()
 return true for an evolving cell More...
 
void SetEvolutiveSystem (EvolutiveSystem *es)
 set the EvolutiveSystem of this cell More...
 
EvolutiveSystemGetEvolutiveSystem ()
 return the EvolutiveSystem of this cell More...
 
void SetTallyNumber (int num)
 Set Tally Number for the Cell. More...
 
int GetTallyNumber ()
 returns Tally Number for the Cell More...
 
void SetTallyBinNumber (int num)
 Set the Tally bin number (i.e. the bin in which the cell is stored) More...
 
int GetTallyBinNumber ()
 returns the Tally bin number More...
 
void SetFlux (double phi)
 set the mean flux in this cell More...
 
void SetFlux (ValErr_t phi)
 set the mean flux in this cell More...
 
double GetFlux ()
 returns the mean flux in this cell More...
 
ValErr_t GetMCNPFlux ()
 returns the mean flux in this cell More...
 
void BuildMultiGroupFlux (int N)
 Build the group flux for multigroup run. More...
 
void SetMultiGroupFlux (int i, ValErr_t Flux)
 set "Flux" to group i More...
 
ValErr_t GetMultiGroupFlux (int i)
 get the value of the group i flux More...
 
vector< ValErr_t > & GetMultiGroupFlux ()
 return the multigroup flux vector More...
 
int GetNEnergyGroup ()
 return the number of groups of the flux More...
 
void SetEnergyGroup (float *E)
 set the energy group array More...
 
float * GetEnergyGroups ()
 return the energy group array More...
 
Reactivity control

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

void SetTrueCell ()
 say the cell is a true one More...
 
bool GetTrueCell ()
 return true for a true Cell More...
 
void SetGlobalTallyNumber (int num)
 Give a Tally number for poison/control rod (abs, ...) More...
 
int GetGlobalTallyNumber ()
 return the Tally number More...
 
void SetCellAbsorptions (ValErr_t rate)
 Set absorption rate of the cell. More...
 
void SetCellN2N (ValErr_t rate)
 Set (n,2n) rate of the cell. More...
 
void SetCellN3N (ValErr_t rate)
 Set (n,3n) rate of the cell. More...
 
void SetCellFissions (ValErr_t rate)
 Set fission rate of the cell. More...
 
void SetCellNuFissions (ValErr_t rate)
 Set fission*Nu rate of the cell. More...
 
void SetControlRate (Reaction r, ValErr_t rate)
 
void SetControlRate (int ReactionCode, ValErr_t rate)
 
ValErr_t GetCellAbsorptions ()
 return absorption rate of the cell More...
 
ValErr_t GetCellN2N ()
 return (n,2n) rate of the cell More...
 
ValErr_t GetCellN3N ()
 return (n,3n) rate of the cell More...
 
ValErr_t GetCellFissions ()
 return fission rate of the cell More...
 
ValErr_t GetCellNuFissions ()
 return fission*Nu rate of the cell More...
 
ValErr_t GetControlRate (Reaction r)
 return the cell reaction rates when evolution is controled by ControlMaterial More...
 
ValErr_t GetControlRate (int ReactionCode)
 return the cell reaction rates when evolution is controled by ControlMaterial More...
 
bool IsFissile ()
 return true when a Cell contains a fissile Nucleus More...
 
bool IsControlRod ()
 return true for a Control Rod More...
 
void SetControlRod (double InitialLength, bool flag=true)
 give the initial length of a Control Rod More...
 
void SetControlRodLength (double l)
 give the length of a Control Rod (used in MURE only) More...
 
double GetControlRodLength ()
 return the Control Rod length More...
 
Miscelaneous methods
bool IsFuel ()
 return true for a fuel Cell More...
 
bool IsModerator ()
 return true for a moderator Cell More...
 
void SetFuel (bool flag=true)
 say that the Cell contains fuel More...
 
void SetModerator (bool flag=true)
 say that the Cell moderator fuel More...
 
void SetZone (int z)
 Set that this cell is in a given zone with other cells. More...
 
int GetZone ()
 return the zone number of this cell More...
 
void SetZlevel (int z)
 Set that this cell is in a certain zlevel with other cells. More...
 
int GetZlevel ()
 return the z level number of this cell More...
 
void SetGuideTubeCoolant ()
 Set that this cell is a GuideTube coolant cell. More...
 
bool IsGuideTubeCoolant ()
 return true for a guide tube coolant cell More...
 
double GetLocalKeff ()
 Calculate the value of Keff unique to this cell from reaction rates and surrounding fluxes. More...
 
void AddBetaCollector (BetaCollector *BC)
 add a beta collector at a particular time step More...
 
string Print ()
 Print the Cell (MCNP cell block) More...
 
bool IsVirtual ()
 
void SetTHLevelPosition (int level)
 Set spatial level position of a cell (used for thermal-hydraulics) More...
 
int GetTHLevelPosition ()
 Get spatial level position of a cell (used for thermal-hydraulics) More...
 
void SetTHZonePosition (int zone)
 Set spatial zone position (arbitrary) of a cell (used for thermal-hydraulics) More...
 
int GetTHZonePosition ()
 Get spatial zone position (arbitrary) of a cell (used for thermal-hydraulics) More...
 
void AddToNuNSigmaFisPhi (double Value)
 adding value to Nu sigma phi total More...
 
void SetNuNSigmaFisPhi (double Value)
 used to renice More...
 
double GetNuNSigmaFisPhi ()
 Get Nutot*N*sigmafis*Flux of all nucleus in the cell. More...
 
void SetNSigmaFisPhiOfNucleus (int i, double Value)
 Set N*sigmafis*Flux of a nucleus in a cell - nucleus are arbitrary ordered. More...
 
double GetNSigmaFisPhiOfNucleus (int i)
 returns N*sigmafis*Flux More...
 
vector< double > GetNSigmaFisPhiOfAllNucleus ()
 returns N*sigmafis*Flux of a nucleus in a cell More...
 

Private Attributes

int fNumber
 MCNP Number of the Cell. More...
 
Shape_ptr fShape
 Shape of the Cell. More...
 
MaterialfMaterial
 Material constituing the Cell. More...
 
double fTemperature
 Temperature (in K) of the Cell. More...
 
double fFlux
 Flux in the cell. More...
 
ValErr_t fMCNPFlux
 Flux in the cell. More...
 
int fGlobalImportance
 vector of Importance in the Cell for the coresponding particle More...
 
vector< int > fImportance
 vector of Importance in the Cell for the coresponding particle More...
 
vector< string > fParticle
 vector of Particle More...
 
string fComment
 Cell comment (to be written in MCNP file) More...
 
double fVolume
 the Cell Volume More...
 
int fLatticeType
 0=no lattice ; 1=paralepipedic latt ; 2=hexagonal latt More...
 
int ** fLatticeRange
 the lattice range if exists More...
 
int *** fLattice
 the lattice array containing universe number More...
 
bool fEvolving
 Whether or not the cell material is evolving. More...
 
double fMass
 mass of the cell. More...
 
double fNatoms
 Number of nuclei in the cell. More...
 
EvolutiveSystemfEvolutiveSystem
 If the cell is evolving, then this is its corresponding evolutive system. More...
 
bool fFromCopy
 flag to know if the Copy method has been used (for destructor) More...
 
int fTallyNum
 Tally Number for flux calculation (evolution) More...
 
int fTallyBinNum
 Tally Bin Number for flux calculation (evolution) More...
 
vector< double > fSpatialVariables
 Information on the cell's spatial position. More...
 
vector< string > fSpatialVariableNames
 Names of the spatial variables (e.g assemblyx,crayon#,ringradius) More...
 
bool fIsTrueCell
 true for True cell (fms) More...
 
int fGlobalTallyNum
 fms More...
 
vector< BetaCollector * > fCellBetaCollectors
 vector of gathered beta emitters at different time steps More...
 
ValErr_t fCellAbsorptions
 absorption rate of the cell More...
 
ValErr_t fCellN2N
 (n,2n) rate of the cell More...
 
ValErr_t fCellN3N
 (n,2n) rate of the cell More...
 
ValErr_t fCellNuFissions
 nu*fission rate of the cell More...
 
ValErr_t fCellFissions
 fission rate of the cell More...
 
map< Reaction, ValErr_t,
EqualReaction
fControlRate
 cell reaction rates when evolution is controled by ControlMaterial More...
 
bool fCellCanFission
 a fissile material as been put in the Cell More...
 
vector< double > fCellGlobalRatesVector
 contains duplicates More...
 
int *** fTransLattice
 the lattice array containing transformation number More...
 
bool fControlRod
 Whether or not the cell is a control rod. More...
 
double fControlRodLength
 Whether or not the cell is a control rod. More...
 
bool fIsLikeBut
 Flag to say that new cell is like cell X, but put somewhere else. More...
 
int fLikeNumber
 The cell that it is copied from. More...
 
TransformationfTransformation
 The Transformation that applies to this like but cell. More...
 
vector< Cell * > fExcludedCells
 Vector of all the other LikeBut cells inside this one. More...
 
bool fFuel
 whether or not this cell has is fuel material. More...
 
bool fModerator
 whether or not this has moderator material. More...
 
bool fVirtual
 wether it is a true MURE cell or a virtual (user define MCNP geometry). More...
 
int fZlevel
 The Z level of this cell, need for thermal coupling. More...
 
int fZone
 Attribute to declare a group of cells to be in the same zone. More...
 
bool fGuideTubeCoolant
 Attribute to declare a guide tube cell containing the same coolant as neighbour cells. More...
 
double fLocalKeff
 The local Keff of this cell. More...
 
vector< ValErr_t > fPhiE
 The multigroup flux in case of multigroup run. More...
 
float * fEnergyGroups
 array of the energy groups More...
 
int fNEnergyGroup
 Number of groups. More...
 
int fTHLevelPosition
 explicit spatial level position of a cell (used for thermal-hydraulics) More...
 
int fTHZonePosition
 explicit spatial zone position (arbitrary) of a cell (used for thermal-hydraulics) More...
 
double fNuNSigmaFisPhiTotalOfCell
 Nutot*N*sigmafis*Flux of all nucleus in the cell. More...
 
vector< double > fNSigmaFisPhiOfNucleus
 N*sigmafis*Flux of a nucleus in a cell. More...
 

Detailed Description

A Cell is a MCNP cell.

A Cell is a MCNP cell. One needs to give a Shape_ptr corresponding to the geometrical form of the cell.

Author
PTO
JWilson
FMS
Version
0.8
See Also
User Guide

Constructor & Destructor Documentation

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

Normal constructor.

Default: a void Shape_ptr at 293.6K with importance 1. if Material is specified and the cell temperature is not, the cell temperature is taken from the material

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::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::Cell ( Material theMaterial,
int  theNumber,
double  theVolume,
double  theTemperature 
)

used for OutCore virtual cells

Cell::Cell ( const Cell c)

Copy constructor.

Cell::~Cell ( )

destructor

Member Function Documentation

void Cell::AddBetaCollector ( BetaCollector BC)
inline

add a beta collector at a particular time step

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

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

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.

void Cell::AddToNuNSigmaFisPhi ( double  Value)
inline

adding value to Nu sigma phi total

void Cell::BuildMultiGroupFlux ( int  N)

Build the group flux for multigroup run.

void Cell::ExcludeCell ( Cell ACell)
inline

Vector of LikeBut cells to exclude.

int Cell::FillLattice ( int  Universe,
int *  Pos = 0,
int  Trans = 0 
)

Fill a Cell Lattice with Universe.

Returns Universe;

Parameters
Universe: the universe filling the lattice
Pos: the (i,j,k) index position in the lattice ; if Pos=0, all the Lattice is filled with that Universe.
Trans: a transformation number may be added
int Cell::FillLattice ( Shape_ptr  theShape,
int *  Pos = 0,
int  OldUniverse = 0,
int  Trans = 0 
)

Fill a Cell Lattice with Universe.

Returns the filling universe;

Parameters
theShape: Fills the Lattice with theShape's universe. if theShape'universe is 0, give a new universe to theShape.
Pos: the (i,j,k) index position in the lattice ; if Pos=0, all the Lattice is filled with theShape's universe.
OldUniverse: if OldUniverse>0, gives OldUniverse to theShape;
Trans: a transformation number may be added
ValErr_t Cell::GetCellAbsorptions ( )
inline

return absorption rate of the cell

ValErr_t Cell::GetCellFissions ( )
inline

return fission rate of the cell

ValErr_t Cell::GetCellN2N ( )
inline

return (n,2n) rate of the cell

ValErr_t Cell::GetCellN3N ( )
inline

return (n,3n) rate of the cell

ValErr_t Cell::GetCellNuFissions ( )
inline

return fission*Nu rate of the cell

string Cell::GetComment ( )
inline

return the Cell comment

ValErr_t Cell::GetControlRate ( Reaction  r)
inline

return the cell reaction rates when evolution is controled by ControlMaterial

ValErr_t Cell::GetControlRate ( int  ReactionCode)
inline

return the cell reaction rates when evolution is controled by ControlMaterial

double Cell::GetControlRodLength ( )
inline

return the Control Rod length

float* Cell::GetEnergyGroups ( )
inline

return the energy group array

EvolutiveSystem* Cell::GetEvolutiveSystem ( )
inline

return the EvolutiveSystem of this cell

double Cell::GetFlux ( )
inline

returns the mean flux in this cell

int Cell::GetGlobalTallyNumber ( )
inline

return the Tally number

vector<int> Cell::GetImportance ( )
inline

returns the MCNP Cell importance (imp card)

int*** Cell::GetLattice ( )
inline

Returns the Lattice Matrix.

int** Cell::GetLatticeRange ( )
inline

Returns the Lattice Range.

double Cell::GetLocalKeff ( )

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

double Cell::GetMass ( )

Get Cell mass.

Material* Cell::GetMaterial ( )
inline

returns the Material constituing the Cell

ValErr_t Cell::GetMCNPFlux ( )
inline

returns the mean flux in this cell

ValErr_t Cell::GetMultiGroupFlux ( int  i)
inline

get the value of the group i flux

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

return the multigroup flux vector

int Cell::GetNEnergyGroup ( )
inline

return the number of groups of the flux

vector<double> Cell::GetNSigmaFisPhiOfAllNucleus ( )
inline

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

double Cell::GetNSigmaFisPhiOfNucleus ( int  i)
inline

returns N*sigmafis*Flux

int Cell::GetNumber ( )
inline

returns the MCNP Number of the Cell

double Cell::GetNuNSigmaFisPhi ( )
inline

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

vector<string> Cell::GetParticle ( )
inline

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

Shape_ptr Cell::GetShape ( )
inline

returns the Shape of the Cell

double Cell::GetSpatialVariable ( string  name)

Returns value of spatial variable "name".

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

return spatial variable names

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

return spatial varibale values

int Cell::GetTallyBinNumber ( )
inline

returns the Tally bin number

int Cell::GetTallyNumber ( )
inline

returns Tally Number for the Cell

double Cell::GetTemperature ( )
inline

returns the temperature in K.

int Cell::GetTHLevelPosition ( )
inline

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

int Cell::GetTHZonePosition ( )
inline

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

Transformation* Cell::GetTransformation ( )
inline

Get the transformation of the new cell.

int*** Cell::GetTransLattice ( )
inline

Returns the Lattice Matrix Transformation.

bool Cell::GetTrueCell ( )
inline

return true for a true Cell

int Cell::GetUniverse ( )
inline

returns the MCNP Universe Number of the Cell

double Cell::GetVolume ( )
inline

 Get the Volume of a Cell.

Returns -1 when not able to calculate volume

int Cell::GetZlevel ( )
inline

return the z level number of this cell

int Cell::GetZone ( )
inline

return the zone number of this cell

bool Cell::IsControlRod ( )
inline

return true for a Control Rod

bool Cell::IsEvolving ( )
inline

return true for an evolving cell

bool Cell::IsFissile ( )

return true when a Cell contains a fissile Nucleus

bool Cell::IsFuel ( )
inline

return true for a fuel Cell

bool Cell::IsGuideTubeCoolant ( )
inline

return true for a guide tube coolant cell

bool Cell::IsModerator ( )
inline

return true for a moderator Cell

bool Cell::IsSpatialVariable ( string  name)

Returns if spatial variable "name" is defined.

bool Cell::IsVirtual ( )
inline
void Cell::Lattice ( int  LatticeType,
int *  RangeX,
int *  RangeY = 0,
int *  RangeZ = 0 
)

Declaration of a Lattice.

Parameters
LatticeType: 1=parallelepipedic lattice, 2=hexagonal lattice
RangeX: array of (Xmin,Xmax) for X-Lattice extension
RangeY: array of (Ymin,Ymax) for Y-Lattice extension
RangeZ: array of (Zmin,Zmax) for Z-Lattice extension
void Cell::Lattice ( int  LatticeType,
int  Xmin = 0,
int  Xmax = 0,
int  Ymin = 0,
int  Ymax = 0,
int  Zmin = 0,
int  Zmax = 0 
)

Declaration of a Lattice.

Parameters
LatticeType: 1=parallelepipedic lattice, 2=hexagonal lattice
Xmin: minimum extension of X-Lattice
Xmax: maximum extension of X-Lattice
Ymin: minimum extension of Y-Lattice
Ymax: maximum extension of Y-Lattice
Zmin: minimum extension of Z-Lattice
Zmax: maximum extension of Z-Lattice
Cell * Cell::LikeBut ( Cell InsertionCell,
double  x = 0,
double  y = 0,
double  z = 0 
)

Create new cloned cell, translation.

string Cell::Print ( )

Print the Cell (MCNP cell block)

void Cell::SetCellAbsorptions ( ValErr_t  rate)
inline

Set absorption rate of the cell.

void Cell::SetCellFissions ( ValErr_t  rate)
inline

Set fission rate of the cell.

void Cell::SetCellN2N ( ValErr_t  rate)
inline

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

void Cell::SetCellN3N ( ValErr_t  rate)
inline

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

void Cell::SetCellNuFissions ( ValErr_t  rate)
inline

Set fission*Nu rate of the cell.

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

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

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.
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.
void Cell::SetControlRod ( double  InitialLength,
bool  flag = true 
)

give the initial length of a Control Rod

void Cell::SetControlRodLength ( double  l)
inline

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

void Cell::SetEnergyGroup ( float *  E)
inline

set the energy group array

void Cell::SetEvolutiveSystem ( EvolutiveSystem es)
inline

set the EvolutiveSystem of this cell

void Cell::SetFlux ( double  phi)
inline

set the mean flux in this cell

void Cell::SetFlux ( ValErr_t  phi)
inline

set the mean flux in this cell

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

say that the Cell contains fuel

void Cell::SetGlobalTallyNumber ( int  num)
inline

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

void Cell::SetGuideTubeCoolant ( )
inline

Set that this cell is a GuideTube coolant cell.

void Cell::SetImportance ( int  imp)

Set all the MCNP Cell importance (imp card)

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

Set the MCNP Cell importance for particle part.

void Cell::SetLikeNumber ( int  Number)
inline

Set the like but number of new cell clone.

void Cell::SetMaterial ( Material theMaterial)

set the Material constituing the Cell

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

say that the Cell moderator fuel

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

set "Flux" to group i

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

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

void Cell::SetNumber ( int  Number)
inline

set's the MCNP Number of the Cell

void Cell::SetNuNSigmaFisPhi ( double  Value)
inline

used to renice

void Cell::SetShape ( Shape_ptr  theShape)
inline

give a Shape(_ptr) to the Cell

void Cell::SetTallyBinNumber ( int  num)
inline

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

void Cell::SetTallyNumber ( int  num)
inline

Set Tally Number for the Cell.

void Cell::SetTemperature ( double  T)

set the temperature (in K) to T

void Cell::SetTHLevelPosition ( int  level)
inline

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

void Cell::SetTHZonePosition ( int  zone)
inline

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

void Cell::SetTransformation ( Transformation TR)
inline

Set the transformation of the new cell.

void Cell::SetTrueCell ( )
inline

say the cell is a true one

void Cell::SetVolume ( double  V)

Set Cell volume.

void Cell::SetZlevel ( int  z)
inline

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

void Cell::SetZone ( int  z)
inline

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

Member Data Documentation

ValErr_t Cell::fCellAbsorptions
private

absorption rate of the cell

vector<BetaCollector*> Cell::fCellBetaCollectors
private

vector of gathered beta emitters at different time steps

bool Cell::fCellCanFission
private

a fissile material as been put in the Cell

ValErr_t Cell::fCellFissions
private

fission rate of the cell

vector<double> Cell::fCellGlobalRatesVector
private

contains duplicates

ValErr_t Cell::fCellN2N
private

(n,2n) rate of the cell

ValErr_t Cell::fCellN3N
private

(n,2n) rate of the cell

ValErr_t Cell::fCellNuFissions
private

nu*fission rate of the cell

string Cell::fComment
private

Cell comment (to be written in MCNP file)

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

cell reaction rates when evolution is controled by ControlMaterial

bool Cell::fControlRod
private

Whether or not the cell is a control rod.

double Cell::fControlRodLength
private

Whether or not the cell is a control rod.

float* Cell::fEnergyGroups
private

array of the energy groups

EvolutiveSystem* Cell::fEvolutiveSystem
private

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

bool Cell::fEvolving
private

Whether or not the cell material is evolving.

vector<Cell*> Cell::fExcludedCells
private

Vector of all the other LikeBut cells inside this one.

double Cell::fFlux
private

Flux in the cell.

bool Cell::fFromCopy
private

flag to know if the Copy method has been used (for destructor)

bool Cell::fFuel
private

whether or not this cell has is fuel material.

int Cell::fGlobalImportance
private

vector of Importance in the Cell for the coresponding particle

int Cell::fGlobalTallyNum
private

fms

bool Cell::fGuideTubeCoolant
private

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

vector<int> Cell::fImportance
private

vector of Importance in the Cell for the coresponding particle

bool Cell::fIsLikeBut
private

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

bool Cell::fIsTrueCell
private

true for True cell (fms)

int*** Cell::fLattice
private

the lattice array containing universe number

int** Cell::fLatticeRange
private

the lattice range if exists

int Cell::fLatticeType
private

0=no lattice ; 1=paralepipedic latt ; 2=hexagonal latt

int Cell::fLikeNumber
private

The cell that it is copied from.

double Cell::fLocalKeff
private

The local Keff of this cell.

double Cell::fMass
private

mass of the cell.

Material* Cell::fMaterial
private

Material constituing the Cell.

ValErr_t Cell::fMCNPFlux
private

Flux in the cell.

bool Cell::fModerator
private

whether or not this has moderator material.

double Cell::fNatoms
private

Number of nuclei in the cell.

int Cell::fNEnergyGroup
private

Number of groups.

vector<double> Cell::fNSigmaFisPhiOfNucleus
private

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

int Cell::fNumber
private

MCNP Number of the Cell.

double Cell::fNuNSigmaFisPhiTotalOfCell
private

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

vector<string> Cell::fParticle
private

vector of Particle

vector<ValErr_t> Cell::fPhiE
private

The multigroup flux in case of multigroup run.

Shape_ptr Cell::fShape
private

Shape of the Cell.

vector<string> Cell::fSpatialVariableNames
private

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

vector<double> Cell::fSpatialVariables
private

Information on the cell's spatial position.

int Cell::fTallyBinNum
private

Tally Bin Number for flux calculation (evolution)

int Cell::fTallyNum
private

Tally Number for flux calculation (evolution)

double Cell::fTemperature
private

Temperature (in K) of the Cell.

int Cell::fTHLevelPosition
private

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

int Cell::fTHZonePosition
private

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

Transformation* Cell::fTransformation
private

The Transformation that applies to this like but cell.

int*** Cell::fTransLattice
private

the lattice array containing transformation number

bool Cell::fVirtual
private

wether it is a true MURE cell or a virtual (user define MCNP geometry).

double Cell::fVolume
private

the Cell Volume

int Cell::fZlevel
private

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

int Cell::fZone
private

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