MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ControlMaterial.hxx
Go to the documentation of this file.
1 #ifndef _CONTROLMATERIAL_
2 #define _CONTROLMATERIAL_
3 
8 #include <math.h>
9 #include <vector>
10 #include "MureHeaders.hxx"
11 using namespace std;
12 
13 //________________________________________________________________________
14 //
15 // ControlMaterial
16 //________________________________________________________________________
17 
18 
20 
30 class ControlMaterial : public Material
31 {
32  public:
35 
37 
41  ControlMaterial(int theNumber);
42 
44  ControlMaterial(const Material &m);
46  Material* Copy();
47 
49 
56  void AddTheControlNucleus(int Z, int A, double Proportion,ProportionUnitType ProportionUnit=kpMOL);
57 
59 
78  Material* Clone(double Temperature=-1);
79  vector<int> &GetControlIndex(){return fControlIndex;}
80  vector<Reaction> &GetControlReactions(){return fControlReactions;}
81  void AddControlReaction(Reaction r);
82 
91  ControlMaterial* Mix(Material* M2, double part,ProportionUnitType ProportionUnit);
92  vector <Material*> Duplicate(int N);
93  private:
95  vector<int> fControlIndex;
96  vector<Reaction> fControlReactions;
97 
98 };
99 #endif
vector< int > fControlIndex
Indices of the control nuclei in the composition vector.
Definition: ControlMaterial.hxx:95
~ControlMaterial()
Destructor.
Definition: ControlMaterial.hxx:45
A ControlMaterial.
Definition: ControlMaterial.hxx:30
Definition: Material.hxx:19
vector< Reaction > & GetControlReactions()
returns the index list of the control nuclei in the composition vector
Definition: ControlMaterial.hxx:80
Define a Reaction list for Tally multiplicator inputs.
Definition: Tally.hxx:233
File including all headers.
vector< int > & GetControlIndex()
returns the index list of the control nuclei in the composition vector
Definition: ControlMaterial.hxx:79
vector< Reaction > fControlReactions
Reactions which are to be tallied.
Definition: ControlMaterial.hxx:96
ProportionUnitType
Define the proportion units.
Definition: Material.hxx:19
A Material constituing a Cell.
Definition: Material.hxx:53

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014