Added "Population Calculation" Mode, where Particles are not logged and different communication rate between CPUs can be set to calculate equilibrium population densities in the beginning.
This commit is contained in:
@@ -13,9 +13,14 @@
|
||||
#include "process_base.h"
|
||||
|
||||
class Particle_Logger_Base : public Process_Base {
|
||||
protected:
|
||||
bool logging;
|
||||
public:
|
||||
Particle_Logger_Base(species this_species) : Process_Base(this_species) {};
|
||||
virtual void log(const Particle &logPart, const vec3 &oldLoc_m) = 0;
|
||||
void set_logging(const bool &logging) {
|
||||
this->logging = logging;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user