OpenLB 1.7
|
Functions | |
template<typename T , typename S , typename PARTICLETYPE , typename F > | |
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) | |
template<typename T , typename PARTICLETYPE , typename PCONDITION = conditions::valid_particles> | |
std::vector< std::size_t > | gatherActivity (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem) |
Gather number of active particles and total number for each cuboid. | |
template<typename T , typename PARTICLETYPE > | |
void | printActivityGathered (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem) |
Print activity gathered a main processor. | |
void olb::particles::statistics::evaluateParticleSystemStatistics | ( | SuperParticleSystem< T, PARTICLETYPE > & | sParticleSystem, |
std::vector< S > & | data, | ||
int | noSampledQuantities, | ||
F | f, | ||
int | root = 0 ) |
Evaluate particle statistics for each cuboid (each ParticleSystem)
Definition at line 38 of file particleStatistics.h.
References olb::particles::communication::forSystemsInSuperParticleSystem(), olb::singleton::MpiManager::gatherv(), olb::SuperStructure< T, D >::getLoadBalancer(), olb::singleton::MpiManager::getSize(), olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getSuperStructure(), and olb::singleton::mpi().
std::vector< std::size_t > olb::particles::statistics::gatherActivity | ( | SuperParticleSystem< T, PARTICLETYPE > & | sParticleSystem | ) |
Gather number of active particles and total number for each cuboid.
Definition at line 73 of file particleStatistics.h.
References evaluateParticleSystemStatistics(), and olb::particles::access::isActive().
void olb::particles::statistics::printActivityGathered | ( | SuperParticleSystem< T, PARTICLETYPE > & | sParticleSystem | ) |
Print activity gathered a main processor.
Definition at line 103 of file particleStatistics.h.
References gatherActivity().