96 std::string
toString(
bool addBrackets =
true)
const;
134 int numberOfLiftsInThisTree,
135 int numberOfDropsInThisTree,
136 int numberOfReassignmentsInThisTree,
137 int numberOfLiftsIntoSieveSetInThisTree,
138 int numberOfDropsFromSieveSetInThisTree,
139 int numberOfDropsIntoHorizontalTreeDecomposition
143 int numberOfRemainingLocalParticles,
144 int numberOfExpiredHaloParticles,
145 int numberOfParticlesThatHaveLeftTheirDomain
179 const std::bitset<Dimensions> periodicBC
397#include "ParticleSet.cpph"
Abstract base class for all flavours of particle sets.
static int _numberOfLiftsIntoSieveSet
Sorting statistics.
static int _numberOfRemainingLocalParticles
Set by parallel state analysis.
static int _numberOfReplacedVirtualParticlesAlongBoundary
Replace virtual particles are those where we have a copy and receive an update.
static tarch::multicore::BooleanSemaphore _statisticsSemaphore
static ParticleList getParticlesToBeSievedIntoVertex(const peano4::datamanagement::VertexMarker &marker)
Make routine from SieveParticles public.
static void clearReassignmentStatistics()
Clear stats of all counters that have to do with resorting.
static std::string printReassignmentStatistics()
static SieveParticles _sieveParticles
Map of persistent particles that have to be sieved.
static int _numberOfLifts
Sorting statistics.
static int _numberOfDropsIntoHorizontalTreeDecomposition
static void clearParticleStateStatistics()
Clear stats.
static int _numberOfDroppedIncomingVirtualParticles
Number of incoming halo particles which are not worked in.
static void reduceReassignmentStatistics()
static int _numberOfDrops
Sorting statistics.
static bool registeredAnyResorting()
Returns true if there have been any lifts, drops, reassignments, ...
static tarch::logging::Log _log
std::list< T * > ParticleList
std::string toString(bool addBrackets=true) const
static int getNumberOfParticlesThatHaveBeSievedIntoVertices()
Return total number of particles to be sieved.
static int _numberOfAddedVirtualParticlesAlongBoundary
Newly "discovered" virtual particles.
static int getNumberOfRemainingLocalParticles()
Return global sum of the particles that did remain within their partition at a time.
static void updateLiftDropStatistics(int numberOfLiftsInThisTree, int numberOfDropsInThisTree, int numberOfReassignmentsInThisTree, int numberOfLiftsIntoSieveSetInThisTree, int numberOfDropsFromSieveSetInThisTree, int numberOfDropsIntoHorizontalTreeDecomposition)
static void finishedTraversal(const tarch::la::Vector< Dimensions, double > domainOffset, const tarch::la::Vector< Dimensions, double > domainSize, const std::bitset< Dimensions > periodicBC)
Finish traversal.
static bool hasParticlesToBeSievedIntoVertices()
Make routine from SieveParticles public.
static int _numberOfDropsFromSieveSet
static void shutdownDatatype()
static int _numberOfAddedLocalParticlesAlongBoundary
static SieveParticles cloneParticlesToBeSieved()
static int getNumberOfDropsIntoHorizontalTreeDecomposition()
Return number of drops into cuts recorded.
static int _numberOfReassignments
Sorting statistics.
static void updateNumberOfLocalAndExpiredParticles(int numberOfRemainingLocalParticles, int numberOfExpiredHaloParticles, int numberOfParticlesThatHaveLeftTheirDomain)
static int _numberOfExpiredHaloParticles
Set by parallel state analysis.
static int _numberOfParticlesThatHaveLeftTheirDomain
Set by parallel state analysis.
static std::string printParticleStateStatistics()
static void initDatatype()
static int _numberOfRedundantlySharedLocalParticles
Particles which are local here and local somewhere else.
static void reduceParticleStateStatistics()
Reduces and prints the global statistics.
Utility class for global sorting for all flavours of particle sets.
Vertex marker to provide information about selected vertex.