TRIQS/mpi 1.3.0
C++ interface to MPI
|
Provides utilities to map custom binary functions to MPI operators.
Definition in file operators.hpp.
Go to the source code of this file.
Functions | |
template<typename T > | |
MPI_Op | mpi::map_add () |
Create a new MPI_Op for a generic addition by calling MPI_Op_create . | |
template<typename T , T(*)(T const &, T const &) F> | |
MPI_Op | mpi::map_C_function () |
Create a new MPI_Op from a given binary function by calling MPI_Op_create . | |