Dune Core Modules (2.9.0)

mpidata.hh File Reference

Interface class to translate objects to a MPI_Datatype, void* and size used for MPI calls. More...

#include <vector>
#include <string>
#include <dune/common/typetraits.hh>
#include <dune/common/std/type_traits.hh>
#include <dune/common/parallel/mpitraits.hh>

Go to the source code of this file.

Namespaces

 Dune
 Dune namespace.
 

Detailed Description

Interface class to translate objects to a MPI_Datatype, void* and size used for MPI calls.

Furthermore it can be used to resize the object if possible. This makes it possible to receive a message with variable size. See Communication::rrecv.

To 'register' a new dynamic type for MPI communication specialize MPIData or overload getMPIData.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 25, 22:37, 2024)