Detailed Description

Broadcast a property from the master particle to all corresponding ghost particles.

Usage:
The property which will be broadcasted can be selected by the Notification template (see ForceTorqueNotification). void update(data::Particle&& p, const Notification::Parameters& objparam) will be called to update the ghost particles with the information transmitted.
Postcondition
  • all ghost particles got updated

#include <BroadcastProperty.h>

Public Member Functions

template<typename Notification >
void operator() (data::ParticleStorage &ps) const
 
int64_t getBytesSent () const
 
int64_t getBytesReceived () const
 
int64_t getNumberOfSends () const
 
int64_t getNumberOfReceives () const
 

Private Attributes

int numProcesses_ = walberla::mpi::MPIManager::instance()->numProcesses()
 
int64_t bytesSent_ = 0
 
int64_t bytesReceived_ = 0
 
int64_t numberOfSends_ = 0
 
int64_t numberOfReceives_ = 0
 

Member Function Documentation

◆ getBytesReceived()

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

◆ getBytesSent()

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

◆ getNumberOfReceives()

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

◆ getNumberOfSends()

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

◆ operator()()

template<typename Notification >
void walberla::mesa_pd::mpi::BroadcastProperty::operator() ( data::ParticleStorage ps) const

Member Data Documentation

◆ bytesReceived_

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

◆ bytesSent_

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

◆ numberOfReceives_

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

◆ numberOfSends_

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

◆ numProcesses_

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

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