walberla::pe::communication::MarshalDynamically< BodyTypeTuple > Class Template Reference

#include <Union.h>

Classes

struct  MarshalFunctor
 

Static Public Member Functions

static void execute (mpi::SendBuffer &buffer, const RigidBody &b)
 Marshalling rigid body parameters dynamically. More...
 

Member Function Documentation

◆ execute()

template<typename BodyTypeTuple >
static void walberla::pe::communication::MarshalDynamically< BodyTypeTuple >::execute ( mpi::SendBuffer buffer,
const RigidBody b 
)
inlinestatic

Marshalling rigid body parameters dynamically.

Parameters
bufferThe buffer to be filled.
bThe object to be marshalled dynamically.
Returns
void

The rigid body is casted dynamically to its original type and then marshalled. For recognition an identifying tag is prepended.


The documentation for this class was generated from the following file: