preCICE v3.1.1
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 {
9namespace partition {
10
19public:
21
22 virtual ~ProvidedPartition() {}
23
25 void communicate() override;
26
28 void compute() override;
29
30 void compareBoundingBoxes() override;
31
32private:
33 void prepare();
34
35 logging::Logger _log{"partition::ProvidedPartition"};
36};
37
38} // namespace partition
39} // namespace precice
This class provides a lightweight logger.
Definition Logger.hpp:16
Abstract base class for partitions.
Definition Partition.hpp:29
A partition that is provided by the participant.
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.
Main namespace of the precice library.
T partition(T... args)