preCICE v3.1.2
Loading...
Searching...
No Matches
fixtures.hpp
Go to the documentation of this file.
2
3namespace precice {
4namespace partition {
5
6/*
7 * @brief A fixture that is used to access private functions of the receivedPartition class.
8 *
9 * The fixture can be used to call private functions for individual testing.
10 */
13 {
15 }
17 {
18 part.tagMeshFirstRound();
19 }
21 {
22 part.prepareBoundingBox();
23 }
24};
25
26} // namespace partition
27} // namespace precice
A partition that is computed from a mesh received from another participant.
void prepareBoundingBox()
Sets _bb to the union with the mesh from fromMapping resp. toMapping, also enlage by _safetyFactor.
void tagMeshFirstRound()
Tag mesh in first round according to all mappings.
Main namespace of the precice library.
T partition(T... args)
static void tagMeshFirstRound(ReceivedPartition &part)
Definition fixtures.hpp:16
static void prepareBoundingBox(ReceivedPartition &part)
Definition fixtures.hpp:20
static void createOwnerInformation(ReceivedPartition &part)
Definition fixtures.hpp:12