MURE
Loading...
Searching...
No Matches
SerpentPlane.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 SERPENTPLANE_H
20#define SERPENTPLANE_H
21
22#include <string>
23
24#include "MathPlane.hxx"
26#include "SerpentNode.hxx"
32namespace Serpent
33{
34
36
46class Plane: public MathPlane
47{
48 public:
50
63 Plane(double A = 0, double B = 0, double C = 1, double D = 0, int Sign = - 1);
64
69 Plane *getXPlane(double D = 0, int Sign = - 1);
70 Plane *getYPlane(double D = 0, int Sign = - 1);
71 Plane *getZPlane(double D = 0, int Sign = - 1);
72
73 string Print() override;
77
78 protected:
79 Plane *CreateNewInstance(int sign = 1) override;
80
82
83};
84
85}
86
87#endif // SERPENTPLANE_H
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MathPlane class.
Header file for Serpent::Node class.
Header file for SerpentSurfaceCard class.
Infinite plane Shape (or half space).
Definition MathPlane.hxx:44
SerpentSurfaceCard class print a mathematical surface in Serpent output format.
Definition SerpentSurfaceCard.hxx:45
Infinite plane Shape (or half space).
Definition SerpentPlane.hxx:47
Plane * getZPlane(double D=0, int Sign=- 1)
return a Plane perpendicular to Z-axis
Definition SerpentPlane.cxx:48
Plane * CreateNewInstance(int sign=1) override
a new Plane instance
Definition SerpentPlane.cxx:112
void nullateParametersLowerThanPrecision()
set all parameter less than a precision to 0
Definition SerpentPlane.cxx:68
string Print() override
Print the Shape surface in Serpent cell.
Definition SerpentPlane.cxx:54
Plane * getXPlane(double D=0, int Sign=- 1)
return a Plane perpendicular to X-axis
Definition SerpentPlane.cxx:36
Plane * getYPlane(double D=0, int Sign=- 1)
return a Plane perpendicular to Y-axis
Definition SerpentPlane.cxx:42
void DefineSurface(SerpentSurfaceCard *&S)
Define surface card for Serpent.
Definition SerpentPlane.cxx:81
SerpentSurfaceCard * GetSurfaceCard() override
return the surface card for a Serpent Plane (px, ...)
Definition SerpentPlane.cxx:60
the namespace use to couple MURE and Serpent

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