19#ifndef SERPENTSURFACECARD_H
20#define SERPENTSURFACECARD_H
54 string Print(
bool tmpvol =
false);
56 string GetId(
int sign = 1)
const override;
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for SurfaceCard class.
SerpentSurfaceCard class print a mathematical surface in Serpent output format.
Definition SerpentSurfaceCard.hxx:45
static const string NAME_PREFIX
a prefix string associated to the surface number ("s"=> "s1")
Definition SerpentSurfaceCard.hxx:60
SerpentSurfaceCard * Clone() override
Definition SerpentSurfaceCard.hxx:49
static const string SERPENT_SURFACE_COMMAND
the "surf" serpent card
Definition SerpentSurfaceCard.hxx:61
string Print(bool tmpvol=false)
Print a surface in the Serpent input file.
Definition SerpentSurfaceCard.cxx:74
string GetId(int sign=1) const override
return the surface card "name" with a sign for inside/ouside of a shape
Definition SerpentSurfaceCard.cxx:61
SerpentSurfaceCard * FindExistingSurfaceCard(SerpentSurfaceCard *&S)
find if a surface card has already been defined
Definition SerpentSurfaceCard.cxx:85
SerpentSurfaceCard()
Definition SerpentSurfaceCard.cxx:39
SerpentSurfaceCard(const SerpentSurfaceCard &other)
Copy constructor.
string GetArgumentString() const
argument of the surface card (such as the radius of a sphere)
Definition SerpentSurfaceCard.cxx:45
static void UpdateMureSurfaceCardVector(SerpentSurfaceCard *&S)
verify that if the card exist or not ; if not adds it to MURE vector
Definition SerpentSurfaceCard.cxx:98
SurfaceCard class is used to define geometrical math surface for MC output format.
Definition SurfaceCard.hxx:42
the namespace of the Standard C++