MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
HNEvolutionControl.hxx
Go to the documentation of this file.
1 #ifndef _HNEVOLUTIONCONTROL_HXX_
2 #define _HNEVOLUTIONCONTROL_HXX_
3 
9 #include <fstream>
10 #include <iostream>
11 #include <sstream>
12 #include <vector>
13 #include <string>
14 #include "MureHeaders.hxx"
15 using namespace std;
16 //________________________________________________________________________
17 //
18 // HNEvolutionControl
20 // @author MUST BE A. BIDAUD
21 //________________________________________________________________________
22 
24 {
25  public:
27 
32 
33  virtual HNEvolutionControl* Clone(){return new HNEvolutionControl(*this);}
34 
35  virtual ~HNEvolutionControl(){}
36 
37  virtual void ControlAtEachMCNPStep();
38  virtual void ControlAtEachRKStep();
39 
40  virtual void ControlAfterEndOfRKIntegration();
41 
42  void KeepHNProportionConstant(Cell* TheCell);
43  bool IsHNProportionConstant(){return fIsHNProportionConstant;}
44  int GetMaterialWhereHNProportionConstant(){return fMaterialWhereHNProportionConstant;}
45  double GetWantedHNProportion(){return fWantedHNProportion;}
46  double GetHNProportion(ControlMaterial* TheMaterial);
47 
48 protected:
52 };
53 
54 #endif
A Cell is a MCNP cell.
Definition: Cell.hxx:48
bool fIsHNProportionConstant
true for HN proportion kept constant
Definition: HNEvolutionControl.hxx:49
A ControlMaterial.
Definition: ControlMaterial.hxx:30
virtual ~HNEvolutionControl()
destructor
Definition: HNEvolutionControl.hxx:35
int fMaterialWhereHNProportionConstant
The material number in which the HNProportion is kept constant.
Definition: HNEvolutionControl.hxx:50
File including all headers.
double fWantedHNProportion
The wanted HNProportion.
Definition: HNEvolutionControl.hxx:51
EvolutionControl for heavy nuclide content control.
Definition: HNEvolutionControl.hxx:23
bool IsHNProportionConstant()
Definition: HNEvolutionControl.hxx:43
double GetWantedHNProportion()
Definition: HNEvolutionControl.hxx:45
int GetMaterialWhereHNProportionConstant()
Definition: HNEvolutionControl.hxx:44
virtual HNEvolutionControl * Clone()
Correct way to copy a HNEvolutionControl in case of derivation.
Definition: HNEvolutionControl.hxx:33
EvolutionControl allows interactions with the evolution.
Definition: EvolutionControl.hxx:35

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