DUNE PDELab (2.8)

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

namespace  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.111.3 (Dec 21, 23:30, 2024)