preCICE v3.1.1
Loading...
Searching...
No Matches
Namespaces | Functions
PointToPointCommunication.cpp File Reference
#include <algorithm>
#include <boost/container/flat_map.hpp>
#include <boost/io/ios_state.hpp>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <set>
#include <thread>
#include <utility>
#include <vector>
#include "PointToPointCommunication.hpp"
#include "com/Communication.hpp"
#include "com/CommunicationFactory.hpp"
#include "com/Extra.hpp"
#include "com/Request.hpp"
#include "logging/LogMacros.hpp"
#include "m2n/DistributedCommunication.hpp"
#include "mesh/Mesh.hpp"
#include "precice/impl/Types.hpp"
#include "profiling/Event.hpp"
#include "utils/IntraComm.hpp"
#include "utils/algorithm.hpp"
#include "utils/assertion.hpp"
Include dependency graph for PointToPointCommunication.cpp:

Go to the source code of this file.

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::m2n
 contains the logic of the parallel communication between participants.
 

Functions

void precice::m2n::send (mesh::Mesh::VertexDistribution const &m, int rankReceiver, const com::PtrCommunication &communication)
 
void precice::m2n::receive (mesh::Mesh::VertexDistribution &m, int rankSender, const com::PtrCommunication &communication)
 
void precice::m2n::broadcastSend (mesh::Mesh::VertexDistribution const &m, const com::PtrCommunication &communication=utils::IntraComm::getCommunication())
 
void precice::m2n::broadcastReceive (mesh::Mesh::VertexDistribution &m, int rankBroadcaster, const com::PtrCommunication &communication=utils::IntraComm::getCommunication())
 
void precice::m2n::broadcast (mesh::Mesh::VertexDistribution &m)
 
void precice::m2n::print (std::map< int, std::vector< int > > const &m)
 
void precice::m2n::printCommunicationPartnerCountStats (std::map< int, std::vector< int > > const &m)
 
void precice::m2n::printLocalIndexCountStats (std::map< int, std::vector< int > > const &m)
 
std::map< int, std::vector< int > > precice::m2n::buildCommunicationMap (mesh::Mesh::VertexDistribution const &thisVertexDistribution, mesh::Mesh::VertexDistribution const &otherVertexDistribution, int thisRank=utils::IntraComm::getRank())