walberla::mpi::Datatype Class Reference

Detailed Description

RAII class for MPI data types that commits and frees them.

#include <Datatype.h>

Public Member Functions

 Datatype ()
 
 Datatype (MPI_Datatype datatype)
 
void init (MPI_Datatype datatype)
 
 ~Datatype ()
 
 operator MPI_Datatype () const
 

Protected Attributes

MPI_Datatype mpiDatatype_
 

Constructor & Destructor Documentation

◆ Datatype() [1/2]

walberla::mpi::Datatype::Datatype ( )
inline

◆ Datatype() [2/2]

walberla::mpi::Datatype::Datatype ( MPI_Datatype  datatype)
inline

◆ ~Datatype()

walberla::mpi::Datatype::~Datatype ( )
inline

Member Function Documentation

◆ init()

void walberla::mpi::Datatype::init ( MPI_Datatype  datatype)
inline

◆ operator MPI_Datatype()

walberla::mpi::Datatype::operator MPI_Datatype ( ) const
inline

Member Data Documentation

◆ mpiDatatype_

MPI_Datatype walberla::mpi::Datatype::mpiDatatype_
protected

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