preCICE v3.1.2
|
A partition that is provided by the participant. More...
#include <ProvidedPartition.hpp>
Public Member Functions | |
ProvidedPartition (mesh::PtrMesh mesh) | |
virtual | ~ProvidedPartition () |
void | communicate () override |
The mesh is gathered and sent to another participant (if required) | |
void | compute () override |
All distribution data structures are set up. | |
void | compareBoundingBoxes () override |
Intersections between bounding boxes around each rank are computed. | |
Public Member Functions inherited from precice::partition::Partition | |
Partition (mesh::PtrMesh mesh) | |
Constructor. | |
Partition & | operator= (Partition &&)=delete |
virtual | ~Partition () |
void | addFromMapping (mapping::PtrMapping fromMapping) |
void | addToMapping (mapping::PtrMapping toMapping) |
void | addM2N (m2n::PtrM2N m2n) |
Private Member Functions | |
void | prepare () |
Private Attributes | |
logging::Logger | _log {"partition::ProvidedPartition"} |
Additional Inherited Members | |
Protected Attributes inherited from precice::partition::Partition | |
mesh::PtrMesh | _mesh |
std::vector< mapping::PtrMapping > | _fromMappings |
std::vector< mapping::PtrMapping > | _toMappings |
std::vector< m2n::PtrM2N > | _m2ns |
m2n connection to each connected participant | |
A partition that is provided by the participant.
The participant already provides a partition by calling setMeshVertices etc. If required the mesh needs to be sent to another participant. Furthermore, distribution data structures need to be set up.
Definition at line 18 of file ProvidedPartition.hpp.
precice::partition::ProvidedPartition::ProvidedPartition | ( | mesh::PtrMesh | mesh | ) |
Definition at line 29 of file ProvidedPartition.cpp.
|
inlinevirtual |
Definition at line 22 of file ProvidedPartition.hpp.
|
overridevirtual |
The mesh is gathered and sent to another participant (if required)
Implements precice::partition::Partition.
Definition at line 35 of file ProvidedPartition.cpp.
|
overridevirtual |
Intersections between bounding boxes around each rank are computed.
Implements precice::partition::Partition.
Definition at line 241 of file ProvidedPartition.cpp.
|
overridevirtual |
All distribution data structures are set up.
Implements precice::partition::Partition.
Definition at line 228 of file ProvidedPartition.cpp.
|
private |
@TODO are these distributions allowed to contain verices already?
Definition at line 117 of file ProvidedPartition.cpp.
|
private |
Definition at line 35 of file ProvidedPartition.hpp.