MURE
Loading...
Searching...
No Matches
SerpentTube.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 SERPENTTUBE_H
20#define SERPENTTUBE_H
21#include <vector>
22#include <string>
23
24#include "SerpentNode.hxx"
25#include "MathTube.hxx"
32namespace Serpent
33{
35
47class Tube: public MathTube, public Node
48{
49 public :
51
58 Tube(double HalfHeight = 0.005, double Rout = 0.01, double Rin = 0., int Sign = - 1);
59
61
74 Tube(double X, double Y, double Z, double dX, double dY, double dZ, double HalfHeight, double Rout, double Rin = 0., int Sign = - 1);
75 Tube(const Tube &t);
76
77 string Print() override;
79 int GetMonoSurfaceType() override;
80
81 protected :
82 Tube *CreateNewInstance(int sign = 1) override;
84 void ReplaceMathShape();
85};
86}
87
88#endif // SERPENTTUBE_H
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MathTube class.
Header file for Serpent::Node class.
Header file for SerpentSurfaceCard class.
A MathTube is a finite cylinder with an optional hole inside (like a pipe).
Definition MathTube.hxx:50
SerpentSurfaceCard class print a mathematical surface in Serpent output format.
Definition SerpentSurfaceCard.hxx:45
Node allows to construct Union or Intersection of Shape.
Definition SerpentNode.hxx:50
A Tube is a finite Cylinder with a hole inside (like a pipe).
Definition SerpentTube.hxx:48
void DefineSurface(SerpentSurfaceCard *&S)
Define single surface card.
Definition SerpentTube.cxx:171
string Print() override
Print the Tube surface in Serpent cell.
Definition SerpentTube.cxx:155
void ReplaceMathShape()
Replace MathShape leaf by Serpent Shape.
Definition SerpentTube.cxx:63
SerpentSurfaceCard * GetSurfaceCard() override
return the surface card for Serpent
Definition SerpentTube.cxx:164
Tube * CreateNewInstance(int sign=1) override
a new Tube instance
Definition SerpentTube.cxx:214
int GetMonoSurfaceType() override
return 0=general, 1=axis // to X, 2=axis // to y or 3=axis // to z
Definition SerpentTube.cxx:120
the namespace use to couple MURE and Serpent

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