Detailed Description

Kernel which updates all ghost particles.

#include <SyncNextNeighbors.h>

Public Member Functions

void operator() (data::ParticleStorage &ps, const domain::IDomain &domain, const real_t dx=real_t(0)) const
 
int64_t getBytesSent () const
 
int64_t getBytesReceived () const
 
int64_t getNumberOfSends () const
 
int64_t getNumberOfReceives () const
 

Private Member Functions

void generateSynchronizationMessages (walberla::mpi::BufferSystem &bs, data::ParticleStorage &ps, const domain::IDomain &domain, const real_t dx) const
 

Private Attributes

std::vector< uint_tneighborRanks_
 
int numProcesses_ = walberla::mpi::MPIManager::instance()->numProcesses()
 cache for neighbor ranks -> will be updated in operator() More...
 
int rank_ = walberla::mpi::MPIManager::instance()->rank()
 
int64_t bytesSent_ = 0
 
int64_t bytesReceived_ = 0
 
int64_t numberOfSends_ = 0
 
int64_t numberOfReceives_ = 0
 

Member Function Documentation

◆ generateSynchronizationMessages()

void walberla::mesa_pd::mpi::SyncNextNeighbors::generateSynchronizationMessages ( walberla::mpi::BufferSystem bs,
data::ParticleStorage ps,
const domain::IDomain domain,
const real_t  dx 
) const
private

◆ getBytesReceived()

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getBytesReceived ( ) const
inline

◆ getBytesSent()

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getBytesSent ( ) const
inline

◆ getNumberOfReceives()

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getNumberOfReceives ( ) const
inline

◆ getNumberOfSends()

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getNumberOfSends ( ) const
inline

◆ operator()()

void walberla::mesa_pd::mpi::SyncNextNeighbors::operator() ( data::ParticleStorage ps,
const domain::IDomain domain,
const real_t  dx = real_t(0) 
) const

Member Data Documentation

◆ bytesReceived_

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::bytesReceived_ = 0
mutableprivate

◆ bytesSent_

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::bytesSent_ = 0
mutableprivate

◆ neighborRanks_

std::vector<uint_t> walberla::mesa_pd::mpi::SyncNextNeighbors::neighborRanks_
mutableprivate

◆ numberOfReceives_

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::numberOfReceives_ = 0
mutableprivate

◆ numberOfSends_

int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::numberOfSends_ = 0
mutableprivate

◆ numProcesses_

int walberla::mesa_pd::mpi::SyncNextNeighbors::numProcesses_ = walberla::mpi::MPIManager::instance()->numProcesses()
private

cache for neighbor ranks -> will be updated in operator()

◆ rank_

int walberla::mesa_pd::mpi::SyncNextNeighbors::rank_ = walberla::mpi::MPIManager::instance()->rank()
private

The documentation for this class was generated from the following files: