walberla::mesa_pd::mpi Namespace Reference

Classes

class  BroadcastProperty
 Broadcast a property from the master particle to all corresponding ghost particles. More...
 
class  ClearGhostOwnerSync
 Clear all ghost particles and reset ghost owner information. More...
 
class  ClearNextNeighborSync
 Clear all ghost particles and reset ghost owner information. More...
 
class  ContactFilter
 Contact filter for parallel execution of collision detection. More...
 
class  ReduceContactHistory
 Reduces all contact history from ghost particles to the master particle. More...
 
class  ReduceProperty
 Reduce a property from all ghost particles to the corresponding master particle. More...
 
class  SyncGhostOwners
 Kernel which updates all ghost particles. More...
 
class  SyncNextNeighbors
 Kernel which updates all ghost particles. More...
 
class  SyncNextNeighborsBlockForest
 Kernel which updates all ghost particles. More...
 
class  SyncNextNeighborsNoGhosts
 Next neighbor synchronization kernel without ghost particles. More...
 

Functions

data::ParticleStorage::iterator removeAndNotify (walberla::mpi::BufferSystem &bs, data::ParticleStorage &ps, data::ParticleStorage::iterator &pIt)
 Removes a particle from the local storage and informs ghost particle holders. More...
 
void correctParticlePosition (Vec3 &pt, const Vec3 &center, const math::AABB &domain, const std::array< bool, 3 > &periodic)
 

Function Documentation

◆ correctParticlePosition()

void walberla::mesa_pd::mpi::correctParticlePosition ( Vec3 pt,
const Vec3 center,
const math::AABB domain,
const std::array< bool, 3 > &  periodic 
)

◆ removeAndNotify()

data::ParticleStorage::iterator walberla::mesa_pd::mpi::removeAndNotify ( walberla::mpi::BufferSystem bs,
data::ParticleStorage ps,
data::ParticleStorage::iterator pIt 
)

Removes a particle from the local storage and informs ghost particle holders.

This function removes the particle from the particle storage and generates deletion notifications.