preCICE v3.1.1
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
precice::com Namespace Reference

contains the data communication abstraction layer. More...

Namespaces

namespace  impl
 
namespace  serialize
 contains serialization logic
 

Classes

struct  AsVectorTag
 
class  Communication
 Interface for all interprocess communication classes. More...
 
class  CommunicationConfiguration
 Configuration for communication channels between a primary and its secondary ranks. The communication between two solvers is configured in m2n::M2NConfiguration. More...
 
class  CommunicationFactory
 
class  ConnectionInfoPublisher
 
class  ConnectionInfoReader
 Reads the connection info for the given participant/rank information. More...
 
class  ConnectionInfoWriter
 Writes the connection info for the given participant/rank information. More...
 
class  MPICommunication
 Provides implementation for basic MPI point-to-point communication. More...
 
class  MPIDirectCommunication
 Provides connection methods for processes located in one communicator. More...
 
class  MPIPortsCommunication
 Provides connection methods based on MPI ports (part of MPI 2.0). More...
 
class  MPIPortsCommunicationFactory
 
class  MPIRequest
 
class  MPISinglePortsCommunication
 Provides connection methods based on MPI ports (part of MPI 2.0). More...
 
class  MPISinglePortsCommunicationFactory
 
class  Request
 
class  SocketCommunication
 Implements Communication by using sockets. More...
 
class  SocketCommunicationFactory
 
class  SocketRequest
 
class  SocketSendQueue
 

Typedefs

using PtrCommunication = std::shared_ptr<Communication>
 
using PtrCommunicationFactory = std::shared_ptr<CommunicationFactory>
 
using PtrRequest = std::shared_ptr<Request>
 

Functions

void connectCircularComm (std::string const &participantName, std::string const &tag, int rank, int size, com::Communication &left, com::Communication &right)
 
void sendMesh (Communication &communication, int rankReceiver, const mesh::Mesh &mesh)
 
void receiveMesh (Communication &communication, int rankSender, mesh::Mesh &mesh)
 
void broadcastSendMesh (Communication &communication, const mesh::Mesh &mesh)
 
void broadcastReceiveMesh (Communication &communication, mesh::Mesh &mesh)
 
void sendConnectionMap (Communication &communication, int rankReceiver, const mesh::Mesh::ConnectionMap &cm)
 
void receiveConnectionMap (Communication &communication, int rankSender, mesh::Mesh::ConnectionMap &cm)
 
void broadcastSendConnectionMap (Communication &communication, const mesh::Mesh::ConnectionMap &cm)
 
void broadcastReceiveConnectionMap (Communication &communication, mesh::Mesh::ConnectionMap &cm)
 
void sendBoundingBox (Communication &communication, int rankReceiver, const mesh::BoundingBox &bb)
 
void receiveBoundingBox (Communication &communication, int rankSender, mesh::BoundingBox &bb)
 
void sendBoundingBoxMap (Communication &communication, int rankReceiver, const mesh::Mesh::BoundingBoxMap &bbm)
 
void receiveBoundingBoxMap (Communication &communication, int rankSender, mesh::Mesh::BoundingBoxMap &bbm)
 
void broadcastSendBoundingBoxMap (Communication &communication, const mesh::Mesh::BoundingBoxMap &bbm)
 
void broadcastReceiveBoundingBoxMap (Communication &communication, mesh::Mesh::BoundingBoxMap &bbm)
 

Detailed Description

contains the data communication abstraction layer.

Typedef Documentation

◆ PtrCommunication

Definition at line 12 of file SharedPointer.hpp.

◆ PtrCommunicationFactory

Definition at line 13 of file SharedPointer.hpp.

◆ PtrRequest

Definition at line 14 of file SharedPointer.hpp.

Function Documentation

◆ broadcastReceiveBoundingBoxMap()

void precice::com::broadcastReceiveBoundingBoxMap ( Communication & communication,
mesh::Mesh::BoundingBoxMap & bbm )

Definition at line 73 of file Extra.cpp.

Here is the call graph for this function:

◆ broadcastReceiveConnectionMap()

void precice::com::broadcastReceiveConnectionMap ( Communication & communication,
mesh::Mesh::ConnectionMap & cm )

Definition at line 43 of file Extra.cpp.

Here is the call graph for this function:

◆ broadcastReceiveMesh()

void precice::com::broadcastReceiveMesh ( Communication & communication,
mesh::Mesh & mesh )

Definition at line 23 of file Extra.cpp.

Here is the call graph for this function:

◆ broadcastSendBoundingBoxMap()

void precice::com::broadcastSendBoundingBoxMap ( Communication & communication,
const mesh::Mesh::BoundingBoxMap & bbm )

Definition at line 68 of file Extra.cpp.

Here is the call graph for this function:

◆ broadcastSendConnectionMap()

void precice::com::broadcastSendConnectionMap ( Communication & communication,
const mesh::Mesh::ConnectionMap & cm )

Definition at line 38 of file Extra.cpp.

Here is the call graph for this function:

◆ broadcastSendMesh()

void precice::com::broadcastSendMesh ( Communication & communication,
const mesh::Mesh & mesh )

Definition at line 18 of file Extra.cpp.

Here is the call graph for this function:

◆ connectCircularComm()

void precice::com::connectCircularComm ( std::string const & participantName,
std::string const & tag,
int rank,
int size,
com::Communication & left,
com::Communication & right )

Establishes a circular communication for the given participant.

rank "0" connects left to rank "size-1" rank "size" connects right to rank "0"

Definition at line 359 of file Communication.cpp.

Here is the call graph for this function:

◆ receiveBoundingBox()

void precice::com::receiveBoundingBox ( Communication & communication,
int rankSender,
mesh::BoundingBox & bb )

Definition at line 53 of file Extra.cpp.

Here is the call graph for this function:

◆ receiveBoundingBoxMap()

void precice::com::receiveBoundingBoxMap ( Communication & communication,
int rankSender,
mesh::Mesh::BoundingBoxMap & bbm )

Definition at line 63 of file Extra.cpp.

Here is the call graph for this function:

◆ receiveConnectionMap()

void precice::com::receiveConnectionMap ( Communication & communication,
int rankSender,
mesh::Mesh::ConnectionMap & cm )

Definition at line 33 of file Extra.cpp.

Here is the call graph for this function:

◆ receiveMesh()

void precice::com::receiveMesh ( Communication & communication,
int rankSender,
mesh::Mesh & mesh )

Definition at line 13 of file Extra.cpp.

Here is the call graph for this function:

◆ sendBoundingBox()

void precice::com::sendBoundingBox ( Communication & communication,
int rankReceiver,
const mesh::BoundingBox & bb )

Definition at line 48 of file Extra.cpp.

Here is the call graph for this function:

◆ sendBoundingBoxMap()

void precice::com::sendBoundingBoxMap ( Communication & communication,
int rankReceiver,
const mesh::Mesh::BoundingBoxMap & bbm )

Definition at line 58 of file Extra.cpp.

Here is the call graph for this function:

◆ sendConnectionMap()

void precice::com::sendConnectionMap ( Communication & communication,
int rankReceiver,
const mesh::Mesh::ConnectionMap & cm )

Definition at line 28 of file Extra.cpp.

Here is the call graph for this function:

◆ sendMesh()

void precice::com::sendMesh ( Communication & communication,
int rankReceiver,
const mesh::Mesh & mesh )

Definition at line 8 of file Extra.cpp.

Here is the call graph for this function: