preCICE v3.2.0
Loading...
Searching...
No Matches
PointToPointCommunicationTest.cpp File Reference
#include <Eigen/Core>
#include <algorithm>
#include <map>
#include <memory>
#include <vector>
#include "com/MPIPortsCommunicationFactory.hpp"
#include "com/SharedPointer.hpp"
#include "com/SocketCommunicationFactory.hpp"
#include "m2n/DistributedCommunication.hpp"
#include "m2n/PointToPointCommunication.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/SharedPointer.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
#include "utils/IntraComm.hpp"
Include dependency graph for PointToPointCommunicationTest.cpp:

Go to the source code of this file.

Classes

class  TestContext
class  IntraComm
 Utility class for managing intra-participant communication operations. More...
class  Parallel
 Utility class for managing MPI operations. More...
class  vector< T >
 STL class. More...

Namespaces

namespace  precice
 Main namespace of the precice library.
namespace  precice::mesh
 provides Mesh, Data and primitives.
namespace  precice::utils
 contains precice-related utilities.

Functions

void process (vector< double > &data)
void runP2PComTest1 (const TestContext &context, com::PtrCommunicationFactory cf)
void runP2PComTest2 (const TestContext &context, com::PtrCommunicationFactory cf)
 a very similar test, but with a vertex that has been completely filtered out
void runSameConnectionTest (const TestContext &context, com::PtrCommunicationFactory cf)
void runCrossConnectionTest (const TestContext &context, com::PtrCommunicationFactory cf)
void runEmptyConnectionTest (const TestContext &context, com::PtrCommunicationFactory cf)
void runP2PMeshBroadcastTest (const TestContext &context, com::PtrCommunicationFactory cf)
void runP2PComLocalCommunicationMapTest (const TestContext &context, com::PtrCommunicationFactory cf)
 PRECICE_TEST_SETUP ("A"_on(2_ranks).setupIntraComm(), "B"_on(2_ranks).setupIntraComm(), Require::Events) BOOST_AUTO_TEST_CASE(P2PComTest1)

Function Documentation

◆ PRECICE_TEST_SETUP()

PRECICE_TEST_SETUP ( "A" _on2_ranks).setupIntraComm(,
"B" _on2_ranks).setupIntraComm(,
Require::Events  )

Definition at line 464 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ process()

void process ( vector< double > & data)

Definition at line 39 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runCrossConnectionTest()

void runCrossConnectionTest ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 213 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runEmptyConnectionTest()

void runEmptyConnectionTest ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 269 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runP2PComLocalCommunicationMapTest()

void runP2PComLocalCommunicationMapTest ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 380 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runP2PComTest1()

void runP2PComTest1 ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 46 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runP2PComTest2()

void runP2PComTest2 ( const TestContext & context,
com::PtrCommunicationFactory cf )

a very similar test, but with a vertex that has been completely filtered out

Definition at line 103 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runP2PMeshBroadcastTest()

void runP2PMeshBroadcastTest ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 313 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function:

◆ runSameConnectionTest()

void runSameConnectionTest ( const TestContext & context,
com::PtrCommunicationFactory cf )

Definition at line 157 of file PointToPointCommunicationTest.cpp.

Here is the call graph for this function: