142 void Translate(
double dx,
double dy,
double dz,
bool ForceTranslation =
false);
235 vector < double >
fR;
Header file for Cell class.
A Cell is composed from a Shape and a Material.
Definition Cell.hxx:84
A Material constituing a Cell.
Definition Material.hxx:83
PinCell class allows to create cylindrical cell set included as Matrioshka.
Definition PinCell.hxx:53
void SetSurroundingMaterial(Material *mat, double Volume=- 1)
Definition PinCell.cxx:178
bool IsTrueTranslation()
Definition PinCell.hxx:147
void SetLayerVolume(int i, double V)
Definition PinCell.hxx:160
PinCell * Duplicate()
Definition PinCell.cxx:95
string fPinType
a type of pin (Fuel, Guide Tube, ...)
Definition PinCell.hxx:252
bool fAutoBuildingCells
True if the Connector::BuildPinCells is called from EvolutionSolver (with Auto flag=true)
Definition PinCell.hxx:246
Material * GetLayerMaterial(int i)
return the material of the layer i (i=0, innerest layer)
Definition PinCell.cxx:162
void SetControlLayerNumber(int ControlLayerNumber)
Definition PinCell.hxx:222
void SetUniverse(int u)
Definition PinCell.hxx:182
bool IsSurroundingMaterialCalled()
Definition PinCell.hxx:119
int fControlLayerNumber
the number of the layer containing the control material
Definition PinCell.hxx:241
int GetNumberOfLayer()
Definition PinCell.hxx:96
bool IsAutoBuildingCells()
Definition PinCell.hxx:208
vector< Material * > fMaterialVector
a vector of layer material
Definition PinCell.hxx:237
bool IsTranslated()
true if the PinCell has been translated
Definition PinCell.cxx:207
bool fTrueTranslation
if the translation is forced for Serpent (i.e., the translation is also done in Serpent)
Definition PinCell.hxx:248
vector< int > & GetAssociatedCellNumber()
Definition PinCell.hxx:198
Material * fSurroundingMaterial
the surrounding material
Definition PinCell.hxx:238
PinCell * Clone() override
Definition PinCell.hxx:62
void SetLayerMaterial(int i, Material *mat)
Definition PinCell.hxx:91
vector< string > & GetSpatialVariableNames(int layeridx)
Definition PinCell.hxx:170
void Translate(double dx, double dy, double dz, bool ForceTranslation=false)
Definition PinCell.cxx:213
vector< double > fR
a vector of radii
Definition PinCell.hxx:235
vector< double > & GetTranslation()
Definition PinCell.hxx:143
void AddLayer(Material *mat, double R, double Volume=- 1)
Definition PinCell.cxx:141
int GetControlLayerNumber()
Definition PinCell.hxx:226
void AddAssociatedCellNumber(int num)
Definition PinCell.hxx:194
vector< double > fLayerVolume
a vector of layer volumes
Definition PinCell.hxx:236
vector< double > & GetSpatialVariables(int layeridx)
Definition PinCell.hxx:174
double GetLayerVolume(int i)
Definition PinCell.hxx:164
void SetPinType(string type)
Definition PinCell.hxx:212
Material * GetSurroundingMaterial() const
Definition PinCell.hxx:115
vector< int > fAssociatedCellNumber
vector of associated cell number
Definition PinCell.hxx:244
string GetPinType()
Definition PinCell.hxx:216
vector< vector< double > > fPCSpatialVariables
Information on the cell's spatial position.
Definition PinCell.hxx:250
bool fIsSurroundingMaterialCalled
just to be sure that the surrounding material has been called
Definition PinCell.hxx:242
void AddSpatialVariable(int layeridx, string name, double value)
add Spatial variable to a layer or to the surrounding material
Definition PinCell.cxx:222
int fUniverse
the pin universe number
Definition PinCell.hxx:240
~PinCell() override
Definition PinCell.cxx:132
Cell * GetAssociatedCell(int i)
return the ith associated cell
Definition PinCell.cxx:191
int GetUniverse() override
Definition PinCell.hxx:178
vector< vector< string > > fPCSpatialVariableNames
Names of the spatial variables (e.g assemblyx, crayon#, ringradius)
Definition PinCell.hxx:251
vector< double > fTranslation
translation vector of the PinCell
Definition PinCell.hxx:247
double GetLayerRadius(int i)
return the radius of the layer i
Definition PinCell.cxx:170
void SetAutoBuildingCells(bool flag)
Definition PinCell.hxx:204