19#ifndef _MCNPCYLINDER_HXX_
20#define _MCNPCYLINDER_HXX_
65 Cylinder(
double R = 0.01,
double X = 0,
double Y = 0,
double Z = 0,
66 double dX = 0,
double dY = 0,
double dZ = 1,
int Sign = - 1);
71 string Print()
override;
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MCNP::Node class.
Header file for MCNPSurfaceCard class.
Header file for MathCylinder class.
MCNPSurfaceCard class print a mathematical surface in MCNP output format.
Definition MCNPSurfaceCard.hxx:41
Infinite cylinder Shape.
Definition MCNPCylinder.hxx:51
Cylinder * CreateNewInstance(int sign=1) override
a new Cylinder instance.
Definition MCNPCylinder.cxx:148
string Print() override
Print the Shape surface in MCNP cell.
Definition MCNPCylinder.cxx:44
SurfaceCard * GetSurfaceCard() override
return the surface card for a MCNP cylinder(cx, ...)
Definition MCNPCylinder.cxx:52
void DefineSurface(MCNPSurfaceCard *&S)
Define surface in MCNP format.
Definition MCNPCylinder.cxx:62
Infinite cylinder Shape.
Definition MathCylinder.hxx:47
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