Added termination of Electrons after 100 Interactions
This commit is contained in:
@@ -28,7 +28,7 @@ private:
|
||||
void do_statusUpdate();
|
||||
void move_electron(Electron *moveElectron, Logger *Log);
|
||||
void do_interaction(Electron *interactElectron);
|
||||
|
||||
bool check_NumberInteractions(int &numberInteractionsThisElectron);
|
||||
Katrin Kat;
|
||||
Logger Log;
|
||||
ranlib::Uniform<double> rngUni;
|
||||
@@ -36,6 +36,9 @@ private:
|
||||
int numberTotalElectrons;
|
||||
int numberDecays;
|
||||
std::deque<Electron> electronQue;
|
||||
Electron *actionElectronPtr;
|
||||
|
||||
//Updater
|
||||
int updater_numberOfPrevious;
|
||||
int updater_fraction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user