MURE
Loading...
Searching...
No Matches
SerpentNode.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 _MCNPNODE_HXX_
20#define _MCNPNODE_HXX_
21#include <vector>
22#include <iosfwd>
23#include <string>
24
25#include "MathNode.hxx"
26
27using namespace std;
28
35namespace Serpent
36{
37
39
49class Node: virtual public MathNode
50{
51 public :
56 Node(int Sign = + 1);
57 Node(const Node &n);
58 string Print() override;
59
60 protected:
61 Node *CreateNewInstance(int sign = 1) override;
62};
63
64}
65#endif
#define sign(a)
Definition GenericReactorAssembly.cxx:43
Header file for MathNode class.
MathNode allows to construct Union or Intersection of Shape.
Definition MathNode.hxx:50
Node allows to construct Union or Intersection of Shape.
Definition SerpentNode.hxx:50
string Print() override
Print the Node surface in MCNP cell.
Definition SerpentNode.cxx:44
Node * CreateNewInstance(int sign=1) override
a new Node instance
Definition SerpentNode.cxx:80
Node(const Node &n)
Copy constructor.
the namespace use to couple MURE and Serpent
the namespace of the Standard C++

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