preCICE
Loading...
Searching...
No Matches
precice::com::serialize Namespace Reference

contains serialization logic More...

Classes

class  SerializedBoundingBox
 serialized representation of a mesh::BoundingBox More...
class  SerializedBoundingBoxMap
 serialized representation of a BoundingBoxMap More...
class  SerializedConnectionMap
 serialized representation of ConnectionMap More...
class  SerializedMesh
 serialized representation of mesh::Mesh More...
class  SerializedStamples
 serialized representation of CouplingData More...

Detailed Description

contains serialization logic

Given an instance of type T, one can serialize() it. This serialized representation of T can now be sent or broadcast. On the receiving side, one can receive a serialized representation of a type T and then call to<Type>() to build the desired type. The serialized representation is validated after the serialization and the receive, to detect faulty states close to the communication layer.

This should simplify debugging faulty communication.