preCICE v3.2.0
Loading...
Searching...
No Matches
ProvidedPartition.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "Partition.hpp"
5#include "logging/Logger.hpp"
7
8namespace precice::partition {
9
18public:
20
21 ~ProvidedPartition() override = default;
22
24 void communicate() override;
25
27 void compute() override;
28
29 void compareBoundingBoxes() override;
30
31private:
32 void prepare();
33
34 logging::Logger _log{"partition::ProvidedPartition"};
35};
36
37} // namespace precice::partition
This class provides a lightweight logger.
Definition Logger.hpp:17
Partition(mesh::PtrMesh mesh)
Constructor.
Definition Partition.cpp:7
void compute() override
All distribution data structures are set up.
void communicate() override
The mesh is gathered and sent to another participant (if required)
void compareBoundingBoxes() override
Intersections between bounding boxes around each rank are computed.
provides Mesh, Data and primitives.
std::shared_ptr< Mesh > PtrMesh
contains the partitioning of distributed meshes.
Definition Partition.cpp:5