MURE
Loading...
Searching...
No Matches
SerpentZTorus.hxx
Go to the documentation of this file.
1/*
2 This file is part of MURE,
3 Copyright (C) 2007-2021 MURE developers.
4
5 MURE is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 MURE is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with MURE. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef _SERPENTZTORUS_
20#define _SERPENTZTORUS_
21
27#include <string>
28
29#include "MathZTorus.hxx"
30#include "Shape.hxx"
32
33namespace Serpent
34{
35
37
49class ZTorus : public MathZTorus
50{
51 public :
53
64 ZTorus(double TubeR, double TorusR, double Xc = 0, double Yc = 0, double Zc = 0, int Sign = - 1);
65
70 string Print() override;
74
75 protected:
76 ZTorus *CreateNewInstance(int sign = 1) override;
77
78};
79}
80
81#endif
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MathZTorus class.
Header file for SerpentSurfaceCard class.
Header file for Shape class and Shape_ptr type.
Define a MathZTorus Shape.
Definition MathZTorus.hxx:49
SerpentSurfaceCard class print a mathematical surface in Serpent output format.
Definition SerpentSurfaceCard.hxx:45
Define a ZTorus Shape.
Definition SerpentZTorus.hxx:50
string Print() override
Print the Shape surface in MCNP cell.
Definition SerpentZTorus.cxx:40
ZTorus * CreateNewInstance(int sign=1) override
a new Sphere instance (if sign=-1, create the complemantary).
Definition SerpentZTorus.cxx:73
void DefineSurface(SerpentSurfaceCard *&S)
Define surface card for Serpent.
Definition SerpentZTorus.cxx:55
SerpentSurfaceCard * GetSurfaceCard() override
return the surface card for a Serpent Torus
Definition SerpentZTorus.cxx:46
the namespace use to couple MURE and Serpent

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024