19#ifndef _MCNPBRICK_HXX_
20#define _MCNPBRICK_HXX_
72 Brick(
double HalfX = 0.01,
double HalfY = 0.01,
double HalfZ = 0.01,
int Sign = - 1);
86 Brick(
double *Origin,
double *Ux,
double *Uy,
double *Uz,
double HalfX = 0.01,
double HalfY = 0.01,
double HalfZ = 0.01,
int Sign = - 1);
96 Brick(
const char *Infinite,
double HalfX = 0.01,
double HalfY = 0.01,
int Sign = - 1);
106 string Print()
override;
116 Brick(
double HalfX,
double HalfY,
double HalfZ,
int Sign,
bool Infinite);
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MCNP::Node class.
Header file for MCNPSurfaceCard class.
Header file for Monte-Carlo Source abstract class.
Header file for MathBrick class.
MCNPSurfaceCard class print a mathematical surface in MCNP output format.
Definition MCNPSurfaceCard.hxx:41
A 3D rectangular parallepipede Shape.
Definition MCNPBrick.hxx:58
~Brick()=default
normal destructor
MCNPSurfaceCard * fBPz
Bottom Px.
Definition MCNPBrick.hxx:127
MCNPSurfaceCard * fRPy
Right Px.
Definition MCNPBrick.hxx:126
string Print() override
Print the Brick surface in a MCNP cell.
Definition MCNPBrick.cxx:110
void DefinePlanes()
Define plane surface cards for MCNP.
Definition MCNPBrick.cxx:215
Shape_ptr GetLeaf(int i) override
return one of the Plane (and not MathPlane) composing the Brick
Definition MCNPBrick.cxx:241
MCNPSurfaceCard * fTPz
Top Px.
Definition MCNPBrick.hxx:128
MCNPSurfaceCard * fLPy
Left Px.
Definition MCNPBrick.hxx:125
bool fIsDefinedSurfaceCalled
whether or not DefinedSurface has been called
Definition MCNPBrick.hxx:129
MCNPSurfaceCard * fRPx
Right Px.
Definition MCNPBrick.hxx:124
MCNPSurfaceCard * fLPx
Left Px.
Definition MCNPBrick.hxx:123
Brick * CreateNewInstance(int sign=1) override
a new Brick instance of the good type.
Definition MCNPBrick.cxx:312
void DefineSurface()
Define surface card for MCNP.
Definition MCNPBrick.cxx:133
void DefinePlane(vector< double > N, double D, MCNPSurfaceCard *&S)
return the right MCNP surface plane card depending on the normal vector to the plane
Definition MCNPBrick.cxx:259
void ResetIsDefinedSurfaceCalled() override
Definition MCNPBrick.hxx:109
A rectangular parallepipede box.
Definition MathBrick.hxx:58
virtual SurfaceCard * GetSurfaceCard()
Definition Shape.hxx:473
SurfaceCard class is used to define geometrical math surface for MC output format.
Definition SurfaceCard.hxx:42
This MCNP (concrete) class is used to built a reactor assembly.
Definition MCNPBrick.hxx:41
the namespace of the Standard C++