preCICE v3.2.0
|
#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"
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. | |
PRECICE_TEST_SETUP (""_on(4_ranks).setupIntraComm()) BOOST_AUTO_TEST_CASE(FourProcTestsWithPrimaryCommmunication) | |
Test that requires 4 processors and an intra-participant communication. | |
PRECICE_TEST_SETUP ("A"_on(1_rank), "B"_on(2_ranks)) BOOST_AUTO_TEST_CASE(NamedContexts) | |
Test that requires 2 participants "A" on 1 rank and "B" on 2 ranks. | |
PRECICE_TEST_SETUP ("A"_on(1_rank), "B"_on(1_rank), Require::Events) BOOST_AUTO_TEST_CASE(TwoProcTestsWithM2NCommunication) | |
Tests that requires an m2n communication. | |
BOOST_AUTO_TEST_CASE (TwoProcTestsWithPETSc) | |
PRECICE_TEST_SETUP ("Solid"_on(2_ranks), "Fluid"_on(2_ranks)) BOOST_AUTO_TEST_CASE(IntegrationTestsWithTwoParticipants) | |
Integration tests with two participants. |
BOOST_AUTO_TEST_CASE | ( | FourProcTests | ) |
Test that requires 4 processors.
Definition at line 61 of file ExampleTests.cpp.
BOOST_AUTO_TEST_CASE | ( | NumericalTolerance | , |
* | boost::unit_test::tolerance1e-4 ) |
Test with a modified numerical tolerance.
Definition at line 44 of file ExampleTests.cpp.
BOOST_AUTO_TEST_CASE | ( | SingleProcessor | ) |
This test runs on a single processor.
Definition at line 19 of file ExampleTests.cpp.
BOOST_AUTO_TEST_CASE | ( | TwoProcTests | ) |
Test that runs on 2 processors.
Definition at line 71 of file ExampleTests.cpp.
BOOST_AUTO_TEST_CASE | ( | TwoProcTestsWithPETSc | ) |
PRECICE_TEST_SETUP | ( | "" | _on4_ranks).setupIntraComm( | ) |
Test that requires 4 processors and an intra-participant communication.
Definition at line 87 of file ExampleTests.cpp.
PRECICE_TEST_SETUP | ( | "A" | _on1_rank, |
"B" | _on1_rank, | ||
Require::Events | ) |
Tests that requires an m2n communication.
Definition at line 118 of file ExampleTests.cpp.
PRECICE_TEST_SETUP | ( | "A" | _on1_rank, |
"B" | _on2_ranks ) |
Test that requires 2 participants "A" on 1 rank and "B" on 2 ranks.
Definition at line 97 of file ExampleTests.cpp.
PRECICE_TEST_SETUP | ( | "Solid" | _on2_ranks, |
"Fluid" | _on2_ranks ) |
Integration tests with two participants.
Definition at line 153 of file ExampleTests.cpp.