preCICE v3.3.0
Loading...
Searching...
No Matches
ReceivedPartitionTest.cpp File Reference
#include <Eigen/Core>
#include <algorithm>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "com/Communication.hpp"
#include "com/Extra.hpp"
#include "com/SharedPointer.hpp"
#include "com/SocketCommunication.hpp"
#include "com/SocketCommunicationFactory.hpp"
#include "fixtures.hpp"
#include "m2n/DistributedComFactory.hpp"
#include "m2n/M2N.hpp"
#include "mapping/Mapping.hpp"
#include "mapping/NearestNeighborMapping.hpp"
#include "mapping/NearestProjectionMapping.hpp"
#include "mapping/PetRadialBasisFctMapping.hpp"
#include "mapping/SharedPointer.hpp"
#include "mapping/impl/BasisFunctions.hpp"
#include "math/constants.hpp"
#include "mesh/BoundingBox.hpp"
#include "mesh/Data.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/SharedPointer.hpp"
#include "mesh/Vertex.hpp"
#include "partition/Partition.hpp"
#include "partition/ProvidedPartition.hpp"
#include "partition/ReceivedPartition.hpp"
#include "precice/impl/Types.hpp"
#include "precice/impl/versions.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
#include "utils/assertion.hpp"
Include dependency graph for ReceivedPartitionTest.cpp:

Go to the source code of this file.

Classes

class  Edge
 Linear edge of a mesh, defined by two Vertex objects. More...
class  Mesh
 Container and creator for meshes. More...
class  Vertex
 Vertex of a mesh. More...

Namespaces

namespace  precice
 Main namespace of the precice library.
namespace  precice::mesh
 provides Mesh, Data and primitives.

Typedefs

using Rank
using PtrMesh

Functions

void createSolidzMesh2D (PtrMesh pSolidzMesh)
void createSolidzMesh2DSmall (PtrMesh pSolidzMesh)
void createNastinMesh2D (PtrMesh pNastinMesh, Rank rank)
void createNastinMesh2D2 (PtrMesh pNastinMesh, Rank rank)
void createSolidzMesh3D (PtrMesh pSolidzMesh)
void createNastinMesh3D (PtrMesh pNastinMesh, Rank rank)
void createNastinMesh3D2 (PtrMesh pNastinMesh, Rank rank)
 PRECICE_TEST_SETUP ("Solid"_on(1_rank), "Fluid"_on(3_ranks).setupIntraComm(), Require::Events) BOOST_AUTO_TEST_CASE(RePartitionNNBroadcastFilter2D)
 PRECICE_TEST_SETUP ("Solid"_on(1_rank), "Fluid"_on(3_ranks).setupIntraComm(), Require::Events, Require::PETSc) BOOST_AUTO_TEST_CASE(RePartitionRBFGlobal2D)
 PRECICE_TEST_SETUP ("Fluid"_on(3_ranks).setupIntraComm(), "Solid"_on(1_rank), Require::Events) BOOST_AUTO_TEST_CASE(RePartitionNPBroadcastFilter3D)
 PRECICE_TEST_SETUP ("Fluid"_on(1_rank), "Solid"_on(1_rank), Require::Events) BOOST_AUTO_TEST_CASE(ProvideAndReceiveCouplingMode)
 PRECICE_TEST_SETUP ("SOLIDZ"_on(1_rank), "NASTIN"_on(3_ranks).setupIntraComm(), Require::Events) BOOST_AUTO_TEST_CASE(TestCompareBoundingBoxes2D)
void testParallelSetOwnerInformation (PtrMesh mesh, int dimensions)
 PRECICE_TEST_SETUP (""_on(4_ranks).setupIntraComm(), Require::Events) BOOST_AUTO_TEST_CASE(parallelSetOwnerInformationVertexCount)

Typedef Documentation

◆ PtrMesh

Definition at line 15 of file SharedPointer.hpp.

◆ Rank

Type used to represent local ranks of a parallel participant.

The primary participant has Rank 0.

Definition at line 37 of file Types.hpp.

Function Documentation

◆ createNastinMesh2D()

void createNastinMesh2D ( PtrMesh pNastinMesh,
Rank rank )

Definition at line 106 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createNastinMesh2D2()

void createNastinMesh2D2 ( PtrMesh pNastinMesh,
Rank rank )

Definition at line 130 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createNastinMesh3D()

void createNastinMesh3D ( PtrMesh pNastinMesh,
Rank rank )

Definition at line 188 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createNastinMesh3D2()

void createNastinMesh3D2 ( PtrMesh pNastinMesh,
Rank rank )

Definition at line 212 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createSolidzMesh2D()

void createSolidzMesh2D ( PtrMesh pSolidzMesh)

Definition at line 55 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createSolidzMesh2DSmall()

void createSolidzMesh2DSmall ( PtrMesh pSolidzMesh)

Definition at line 88 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ createSolidzMesh3D()

void createSolidzMesh3D ( PtrMesh pSolidzMesh)

Definition at line 155 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [1/6]

PRECICE_TEST_SETUP ( "" _on4_ranks).setupIntraComm(,
Require::Events  )

Definition at line 1118 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [2/6]

PRECICE_TEST_SETUP ( "Fluid" _on1_rank,
"Solid" _on1_rank,
Require::Events  )

Definition at line 874 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [3/6]

PRECICE_TEST_SETUP ( "Fluid" _on3_ranks).setupIntraComm(,
"Solid" _on1_rank,
Require::Events  )

Definition at line 733 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [4/6]

PRECICE_TEST_SETUP ( "Solid" _on1_rank,
"Fluid" _on3_ranks).setupIntraComm(,
Require::Events  )

Definition at line 237 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [5/6]

PRECICE_TEST_SETUP ( "Solid" _on1_rank,
"Fluid" _on3_ranks).setupIntraComm(,
Require::Events ,
Require::PETSc  )

Definition at line 402 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ PRECICE_TEST_SETUP() [6/6]

PRECICE_TEST_SETUP ( "SOLIDZ" _on1_rank,
"NASTIN" _on3_ranks).setupIntraComm(,
Require::Events  )

Definition at line 944 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function:

◆ testParallelSetOwnerInformation()

void testParallelSetOwnerInformation ( PtrMesh mesh,
int dimensions )

Definition at line 1084 of file ReceivedPartitionTest.cpp.

Here is the call graph for this function: