preCICE v3.2.0
Loading...
Searching...
No Matches
fixtures.hpp
Go to the documentation of this file.
2
3namespace precice::partition {
4
5/*
6 * @brief A fixture that is used to access private functions of the receivedPartition class.
7 *
8 * The fixture can be used to call private functions for individual testing.
9 */
12 {
14 }
16 {
17 part.tagMeshFirstRound();
18 }
20 {
21 part.prepareBoundingBox();
22 }
23};
24
25} // namespace precice::partition
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.
contains the partitioning of distributed meshes.
Definition Partition.cpp:5
static void tagMeshFirstRound(ReceivedPartition &part)
Definition fixtures.hpp:15
static void prepareBoundingBox(ReceivedPartition &part)
Definition fixtures.hpp:19
static void createOwnerInformation(ReceivedPartition &part)
Definition fixtures.hpp:11