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:
@@ -59,6 +59,10 @@ inline void MultiZ_Particle_Logger::create(H5_File *h5_file, species this_specie
|
||||
}
|
||||
|
||||
inline void MultiZ_Particle_Logger::log(const Particle &logPart, const vec3 &oldLoc_m) {
|
||||
if (!logging) {
|
||||
return;
|
||||
}
|
||||
|
||||
double zold = oldLoc_m[2];
|
||||
double znew = logPart.get_x_m()[2];
|
||||
double zmin = std::min(zold,znew);
|
||||
|
||||
Reference in New Issue
Block a user