Change in Parameter: input parameter numTotalElectrons changed to numberTotalDecays. Now running until number of decays happend, for better time scale.
This commit is contained in:
@@ -22,21 +22,19 @@
|
||||
class Simulation: private Parameter, private Constants {
|
||||
public:
|
||||
Simulation();
|
||||
void doit();
|
||||
|
||||
|
||||
void doit();
|
||||
private:
|
||||
void status_updater();
|
||||
void do_statusUpdate();
|
||||
void move_electron(Electron *moveElectron, Logger *Log);
|
||||
void do_interaction(Electron *interactElectron);
|
||||
|
||||
|
||||
// Simulation
|
||||
Katrin Kat;
|
||||
Logger Log;
|
||||
ranlib::Uniform<double> rngUni;
|
||||
ranlib::NormalUnit<double> rngNormal;
|
||||
int numberElectrons;
|
||||
int numberTotalElectrons;
|
||||
int numberDecays;
|
||||
std::deque<Electron> electronQue;
|
||||
int updater_numberOfPrevious;
|
||||
int updater_fraction;
|
||||
|
||||
Reference in New Issue
Block a user