waLBerla 7.2
Loading...
Searching...
No Matches
walberla::mpi::MPIOperation Class Reference

Detailed Description

RAII class for MPI operators that commits and frees them.

#include <MPIOperation.h>

Public Member Functions

 MPIOperation ()=delete
 
 MPIOperation (MPI_User_function *fct)
 
 ~MPIOperation ()
 
 operator MPI_Op () const
 

Protected Attributes

MPI_Op mpiOperation_
 

Constructor & Destructor Documentation

◆ MPIOperation() [1/2]

walberla::mpi::MPIOperation::MPIOperation ( )
delete

◆ MPIOperation() [2/2]

walberla::mpi::MPIOperation::MPIOperation ( MPI_User_function * fct)
inlineexplicit

◆ ~MPIOperation()

walberla::mpi::MPIOperation::~MPIOperation ( )
inline

Member Function Documentation

◆ operator MPI_Op()

walberla::mpi::MPIOperation::operator MPI_Op ( ) const
inline

Member Data Documentation

◆ mpiOperation_

MPI_Op walberla::mpi::MPIOperation::mpiOperation_
protected

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