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 (data::ParticleStorage &ps, const domain::IDomain &domain, const real_t dx) const
 

Private Attributes

std::vector< uint_tneighborRanks_
 
walberla::mpi::BufferSystem bs = walberla::mpi::BufferSystem( walberla::mpi::MPIManager::instance()->comm() )
 cache for neighbor ranks -> will be updated in operator() More...
 
int numProcesses_ = walberla::mpi::MPIManager::instance()->numProcesses()
 
int rank_ = walberla::mpi::MPIManager::instance()->rank()
 

Member Function Documentation

void walberla::mesa_pd::mpi::SyncNextNeighbors::generateSynchronizationMessages ( data::ParticleStorage ps,
const domain::IDomain domain,
const real_t  dx 
) const
private
int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getBytesReceived ( ) const
inline
int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getBytesSent ( ) const
inline
int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getNumberOfReceives ( ) const
inline
int64_t walberla::mesa_pd::mpi::SyncNextNeighbors::getNumberOfSends ( ) const
inline
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

walberla::mpi::BufferSystem walberla::mesa_pd::mpi::SyncNextNeighbors::bs = walberla::mpi::BufferSystem( walberla::mpi::MPIManager::instance()->comm() )
mutableprivate

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

std::vector<uint_t> walberla::mesa_pd::mpi::SyncNextNeighbors::neighborRanks_
mutableprivate
int walberla::mesa_pd::mpi::SyncNextNeighbors::numProcesses_ = walberla::mpi::MPIManager::instance()->numProcesses()
private
int walberla::mesa_pd::mpi::SyncNextNeighbors::rank_ = walberla::mpi::MPIManager::instance()->rank()
private

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