MURE
Loading...
Searching...
No Matches
MCNPTube.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 _MCNPTUBE_HXX_
20#define _MCNPTUBE_HXX_
21
27#include <vector>
28
29#include "MathTube.hxx"
30#include "MCNPNode.hxx"
31
32namespace MCNP
33{
34
36
48class Tube : public MathTube, public Node
49{
50 public :
52
59 Tube(double HalfHeight = 0.005, double Rout = 0.01, double Rin = 0., int Sign = - 1);
60
62
75 Tube(double X, double Y, double Z, double dX, double dY, double dZ, double HalfHeight, double Rout, double Rin = 0., int Sign = - 1);
76 Tube(const Tube &t);
77
78
79 protected :
80 Tube *CreateNewInstance(int sign = 1) override;
81 void ReplaceMathShape();
82
83};
84}
85
86#endif
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MCNP::Node class.
Header file for MathTube class.
Node allows to construct Union or Intersection of Shape.
Definition MCNPNode.hxx:51
A Tube is a finite Cylinder with a hole inside (like a pipe).
Definition MCNPTube.hxx:49
Tube * CreateNewInstance(int sign=1) override
a new Tube instance (if sign=-1, create the complemantary).
Definition MCNPTube.cxx:118
void ReplaceMathShape()
Replace MathShape (leaf) by (MCNP)Shape.
Definition MCNPTube.cxx:59
A MathTube is a finite cylinder with an optional hole inside (like a pipe).
Definition MathTube.hxx:50
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