SuperStructure< T, PARTICLETYPE::d > & getSuperStructure()
void gatherv(T *sendBuf, int sendCount, T *recvBuf, int *recvCounts, int *displs, int root=0, MPI_Comm comm=MPI_COMM_WORLD)
Gather data from multiple processors to one processor.
bool isActive(Particle< T, PARTICLETYPE > particle)
void forSystemsInSuperParticleSystem(SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, F f)
std::vector< std::size_t > gatherActivity(SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem)
Gather number of active particles and total number for each cuboid.
void printActivityGathered(SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem)
Print activity gathered a main processor.
void evaluateParticleSystemStatistics(SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, std::vector< S > &data, int noSampledQuantities, F f, int root=0)
Evaluate particle statistics for each cuboid (each ParticleSystem)