More or less last working status, major changes comming now.
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
|
||||
#include "katrin.hpp"
|
||||
#include "electron.hpp"
|
||||
#include "logger.hpp"
|
||||
|
||||
#include "tritiumion.hpp"
|
||||
#include <deque>
|
||||
|
||||
|
||||
@@ -23,6 +22,10 @@ public:
|
||||
|
||||
void doit();
|
||||
private:
|
||||
void process_firstElectron();
|
||||
void process_firstTIon();
|
||||
|
||||
|
||||
void do_statusUpdate();
|
||||
void move_electron(Electron *moveElectron, H5_Logger *Log);
|
||||
void do_interaction(Electron *interactElectron);
|
||||
@@ -34,16 +37,21 @@ private:
|
||||
ranlib::Uniform<double> rngUni;
|
||||
ranlib::NormalUnit<double> rngNormal;
|
||||
|
||||
int numberTotalElectrons;
|
||||
int numberDecays;
|
||||
|
||||
// Electrons
|
||||
int numberTotalElectrons = 0;
|
||||
int numberDecays = 0;
|
||||
std::deque<Electron> electronQue;
|
||||
Electron *actionElectronPtr;
|
||||
|
||||
//Updater
|
||||
int updater_numberOfPrevious;
|
||||
// Ions
|
||||
int numberTotalIons = 0;
|
||||
std::deque<TritiumIon> tritiumIonQue;
|
||||
|
||||
// Updater
|
||||
int updater_numberOfPrevious = 0;
|
||||
int updater_fraction;
|
||||
|
||||
// Parameters
|
||||
static const long int seed;
|
||||
static const long int numberTotalDecays;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user