MURE
Loading...
Searching...
No Matches
SerpentCylinder.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 SERPENTCYLINDER_H
20#define SERPENTCYLINDER_H
21#include <string>
22
23#include "MathCylinder.hxx"
30namespace Serpent
31{
33
44{
45 public :
58 Cylinder(double R = 0.01, double X = 0, double Y = 0, double Z = 0,
59 double dX = 0, double dY = 0, double dZ = 1, int Sign = - 1);
64 string Print() override;
69
70 protected:
71 Cylinder *CreateNewInstance(int sign = 1) override;
72
73 private:
78};
79}
80
81#endif // SERPENTCYLINDER_H
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MathCylinder class.
Header file for SerpentSurfaceCard class.
Infinite cylinder Shape.
Definition MathCylinder.hxx:47
SerpentSurfaceCard class print a mathematical surface in Serpent output format.
Definition SerpentSurfaceCard.hxx:45
Infinite cylinder Shape.
Definition SerpentCylinder.hxx:44
void DefineSurfaceCardWhenParallelToZAxis(SerpentSurfaceCard *&S)
define a cylz
Definition SerpentCylinder.cxx:70
Cylinder * CreateNewInstance(int sign=1) override
a new Cylinder instance.
Definition SerpentCylinder.cxx:130
string Print() override
Print the Brick surface in a Serpent cell.
Definition SerpentCylinder.cxx:38
void DefineSurfaceCardWhenParallelToYAxis(SerpentSurfaceCard *&S)
define a cyly
Definition SerpentCylinder.cxx:61
void DefineSurfaceCardWhenParallelToXAxis(SerpentSurfaceCard *&S)
define a cylx
Definition SerpentCylinder.cxx:52
void DefineSurfaceCardWhenInclined(SerpentSurfaceCard *&S)
define a quadratic surface
Definition SerpentCylinder.cxx:79
void DefineSurface(SerpentSurfaceCard *&S)
Define surface card for Serpent.
Definition SerpentCylinder.cxx:113
SerpentSurfaceCard * GetSurfaceCard() override
return the surface card for a Serpent cylinder(cylx, cyly, cylz)
Definition SerpentCylinder.cxx:44
void nullateParametersLowerThanPrecision()
set all parameter less than a precision to 0
Definition SerpentCylinder.cxx:102
the namespace use to couple MURE and Serpent

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