preCICE v3.1.2
Loading...
Searching...
No Matches
Functions
ExampleTests.cpp File Reference
#include <Eigen/Core>
#include <memory>
#include "com/Communication.hpp"
#include "com/SharedPointer.hpp"
#include "m2n/M2N.hpp"
#include "math/constants.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
#include "utils/IntraComm.hpp"
Include dependency graph for ExampleTests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (SingleProcessor)
 This test runs on a single processor.
 
 BOOST_AUTO_TEST_CASE (NumericalTolerance, *boost::unit_test::tolerance(1e-4))
 Test with a modified numerical tolerance.
 
 BOOST_AUTO_TEST_CASE (FourProcTests)
 Test that requires 4 processors.
 
 BOOST_AUTO_TEST_CASE (TwoProcTests)
 Test that runs on 2 processors.
 
 BOOST_AUTO_TEST_CASE (FourProcTestsWithPrimaryCommmunication)
 Test that requires 4 processors and an intra-participant communication.
 
 BOOST_AUTO_TEST_CASE (NamedContexts)
 Test that requires 2 participants "A" on 1 rank and "B" on 2 ranks.
 
 BOOST_AUTO_TEST_CASE (TwoProcTestsWithM2NCommunication)
 Tests that requires an m2n communication.
 
 BOOST_AUTO_TEST_CASE (TwoProcTestsWithPETSc)
 
 BOOST_AUTO_TEST_CASE (IntegrationTestsWithTwoParticipants)
 Integration tests with two participants.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( FourProcTests )

Test that requires 4 processors.

Definition at line 58 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( FourProcTestsWithPrimaryCommmunication )

Test that requires 4 processors and an intra-participant communication.

Definition at line 81 of file ExampleTests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( IntegrationTestsWithTwoParticipants )

Integration tests with two participants.

Definition at line 144 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( NamedContexts )

Test that requires 2 participants "A" on 1 rank and "B" on 2 ranks.

Definition at line 91 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( NumericalTolerance ,
* boost::unit_test::tolerance1e-4 )

Test with a modified numerical tolerance.

Definition at line 42 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( SingleProcessor )

This test runs on a single processor.

Definition at line 18 of file ExampleTests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( TwoProcTests )

Test that runs on 2 processors.

Definition at line 67 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( TwoProcTestsWithM2NCommunication )

Tests that requires an m2n communication.

Definition at line 111 of file ExampleTests.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TwoProcTestsWithPETSc )

Definition at line 128 of file ExampleTests.cpp.