MURE
Loading...
Searching...
No Matches
MCNPReactorAssembly.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 _MCNPReactorAssembly_HXX
20#define _MCNPReactorAssembly_HXX
21
27#include <vector>
28#include <iosfwd>
29#include <string>
30
32#include "LatticeCell.hxx"
33#include "PinCell.hxx"
34#include "Material.hxx"
35
36using namespace std;
37
38
40
95namespace MCNP
96{
98{
99 public:
106 double Pitch,
107 int NRadialZones = 1,
108 int NZLevels = 1,
109 string AssemblyName = "GenericAss"
110 );
111
114 {
115 return new ReactorAssembly(*this);
116 }
117 ~ReactorAssembly() override;
119
120
122
123
127 void BuildAssemblyGeometry() override;
129
130
136
139 void SetSource(
140 int NPS = 5000,
141 int ActivesCycles = 100,
142 int InactivesCycles = 100
143 ) override;
145
146
147 protected:
148
154 void Copy(const ReactorAssembly &m);
155
156
158 void CreateDuct() override;
159
161 void CreatePlenum() override;
163
164
165};
166}
167#endif
168
169
170
Header file for abstract class GenricReactorAssembly.
Header file for Material class.
Header file for PinCell class.
This abstract class is used to built a reactor assembly.
Definition GenericReactorAssembly.hxx:69
Definition MCNPReactorAssembly.hxx:98
~ReactorAssembly() override
Default destructor.
void Copy(const ReactorAssembly &m)
< Copy ReactorMesh object m attributs in this
Definition MCNPReactorAssembly.cxx:60
void CreateDuct() override
Creates duct shapes.
Definition MCNPReactorAssembly.cxx:227
void BuildAssemblyGeometry() override
Geometry methods.
Definition MCNPReactorAssembly.cxx:69
void SetSource(int NPS=5000, int ActivesCycles=100, int InactivesCycles=100) override
Sets a volumic neutron source.
Definition MCNPReactorAssembly.cxx:277
void CreatePlenum() override
Creates plenum shapes.
Definition MCNPReactorAssembly.cxx:252
ReactorAssembly * Clone() override
Definition MCNPReactorAssembly.hxx:113
This MCNP (concrete) class is used to built a reactor assembly.
Definition MCNPBrick.hxx:41
the namespace of the Standard C++

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