37 void AddArgument(
double arg);
39 void SetCode(
const char *code){fCode=code;}
50 string Print(
bool tmpvol=
false);
string GetCode()
return the surface code
Definition: Surface.hxx:40
double GetArea()
returns Area of the Surface
Definition: Surface.hxx:55
void SetReflectingCode(char c)
Set the reflecting code (mirror='*' or white boundary='+') to c.
Definition: Surface.hxx:51
Surface class is design to define MCNP surface format.
Definition: Surface.hxx:26
string fCode
the Surface code (Px, Cz, ..)
Definition: Surface.hxx:58
double fArea
Area of the Surface (from MCNP run)
Definition: Surface.hxx:63
int fNref
Number of times this surface is referenced.
Definition: Surface.hxx:60
void SetPeriodicPlaneNumber(int num=9999999)
Set MCNP Number of periodic plane (i.e., where a n goes after leaving)
Definition: Surface.hxx:53
int GetNref()
returns the number of times this surface is referenced
Definition: Surface.hxx:43
vector< double > fArguments
Argument list of the surface.
Definition: Surface.hxx:59
int fPeriodicPlane
MCNP Number of periodic plane.
Definition: Surface.hxx:62
void SetNumber(int n)
Set the number to the MCNP surface.
Definition: Surface.hxx:41
void SetNref(int inc=1)
increases/decreases the number of times this surface is referenced
Definition: Surface.hxx:44
int fNumber
number of the surface in MCNP
Definition: Surface.hxx:57
vector< double > GetArgument()
return the arguments vector
Definition: Surface.hxx:38
void SetCode(const char *code)
Set the surface code (e.g Px, CZ,...)
Definition: Surface.hxx:39
int GetNumber()
returns the number of the MCNP surface
Definition: Surface.hxx:42
void SetArea(double a)
set Area of the Surface (from MCNP run)
Definition: Surface.hxx:54
char fReflectingCode
the reflecting code (mirror='*' or white boundary='+')
Definition: Surface.hxx:61
char GetReflectingCode()
Returns the reflecting code (mirror='*' or white boundary='+') to c.
Definition: Surface.hxx:52