MURE
Loading...
Searching...
No Matches
MCNPZTorus.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 _MCNPZTORUS_
20#define _MCNPZTORUS_
21
27#include <string>
28
29#include "MathZTorus.hxx"
30#include "Shape.hxx"
31#include "MCNPSurfaceCard.hxx"
32
33class MCNPSurfaceCard;
34class SurfaceCard;
35
36namespace MCNP
37{
38
40
52class ZTorus : public MathZTorus
53{
54 public :
56
70 ZTorus(double TubeR, double TorusR, double Xc = 0, double Yc = 0, double Zc = 0, int Sign = - 1);
71
76 string Print() override;
77 SurfaceCard *GetSurfaceCard() override;
80
81 protected:
82 ZTorus *CreateNewInstance(int sign = 1) override;
83
84};
85}
86
87#endif
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MCNPSurfaceCard class.
Header file for MathZTorus class.
Header file for Shape class and Shape_ptr type.
MCNPSurfaceCard class print a mathematical surface in MCNP output format.
Definition MCNPSurfaceCard.hxx:41
Define a ZTorus Shape.
Definition MCNPZTorus.hxx:53
string Print() override
Print the Shape surface in MCNP cell.
Definition MCNPZTorus.cxx:45
void DefineSurface(MCNPSurfaceCard *&S)
Define surface in MCNP format.
Definition MCNPZTorus.cxx:63
SurfaceCard * GetSurfaceCard() override
Definition MCNPZTorus.cxx:53
ZTorus * CreateNewInstance(int sign=1) override
a new Sphere instance (if sign=-1, create the complemantary).
Definition MCNPZTorus.cxx:86
Define a MathZTorus Shape.
Definition MathZTorus.hxx:49
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

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