preCICE v3.1.2
|
serialized representation of a mesh::BoundingBox More...
#include <SerializedPartitioning.hpp>
Public Member Functions | |
mesh::BoundingBox | toBoundingBox () const |
Builds and returns the BoundingBox represented by the serialized state. | |
void | assertValid () const |
asserts the content for correctness | |
void | send (Communication &communication, int rankReceiver) |
Static Public Member Functions | |
static SerializedBoundingBox | serialize (const mesh::BoundingBox &bbm) |
static SerializedBoundingBox | receive (Communication &communication, int rankSender) |
receives a SerializedBoundingBox and calls assertValid before returning | |
Private Member Functions | |
SerializedBoundingBox ()=default | |
Private Attributes | |
std::vector< double > | coords |
serialized representation of a mesh::BoundingBox
Definition at line 50 of file SerializedPartitioning.hpp.
|
privatedefault |
void precice::com::serialize::SerializedBoundingBox::assertValid | ( | ) | const |
asserts the content for correctness
Definition at line 163 of file SerializedPartitioning.cpp.
|
static |
receives a SerializedBoundingBox and calls assertValid before returning
Definition at line 176 of file SerializedPartitioning.cpp.
void precice::com::serialize::SerializedBoundingBox::send | ( | Communication & | communication, |
int | rankReceiver ) |
Definition at line 171 of file SerializedPartitioning.cpp.
|
static |
serializes a given mesh::BoundingBox
Calls assertValid
Definition at line 124 of file SerializedPartitioning.cpp.
mesh::BoundingBox precice::com::serialize::SerializedBoundingBox::toBoundingBox | ( | ) | const |
Builds and returns the BoundingBox represented by the serialized state.
Definition at line 145 of file SerializedPartitioning.cpp.
|
private |
AABB coords For 2D: 2, MinX, MinY, MaxX, MaxY For 3D: 3, MinX, MinY, MinZ, MaxX, MaxY, MaxZ
Definition at line 76 of file SerializedPartitioning.hpp.