preCICE v3.1.2
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
MPI_Mock.hpp File Reference

Go to the source code of this file.

Typedefs

using MPI_Comm = std::nullptr_t
 
using MPI_Op = std::nullptr_t
 
using MPI_Datatype = std::nullptr_t
 

Functions

int MPI_Barrier (MPI_Comm comm)
 
int MPI_Comm_rank (MPI_Comm comm, int *rank)
 
int MPI_Comm_size (MPI_Comm comm, int *size)
 
template<class T >
int MPI_Allreduce (const T *sendbuf, T *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
 
template<class T >
int MPI_Reduce (const T *sendbuf, T *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
 

Variables

static MPI_Comm MPI_COMM_WORLD = nullptr
 
const MPI_Datatype MPI_LONG = nullptr
 
const MPI_Op MPI_MIN = nullptr
 
const MPI_Op MPI_MAX = nullptr
 

Typedef Documentation

◆ MPI_Comm

MPI Mock

Inlines because of getting multiple definitions from the compiler otherwise.

Definition at line 9 of file MPI_Mock.hpp.

◆ MPI_Datatype

Definition at line 11 of file MPI_Mock.hpp.

◆ MPI_Op

Definition at line 10 of file MPI_Mock.hpp.

Function Documentation

◆ MPI_Allreduce()

template<class T >
int MPI_Allreduce ( const T * sendbuf,
T * recvbuf,
int count,
MPI_Datatype datatype,
MPI_Op op,
MPI_Comm comm )
inline

Definition at line 37 of file MPI_Mock.hpp.

Here is the call graph for this function:

◆ MPI_Barrier()

int MPI_Barrier ( MPI_Comm comm)
inline

Definition at line 19 of file MPI_Mock.hpp.

◆ MPI_Comm_rank()

int MPI_Comm_rank ( MPI_Comm comm,
int * rank )
inline

Definition at line 24 of file MPI_Mock.hpp.

◆ MPI_Comm_size()

int MPI_Comm_size ( MPI_Comm comm,
int * size )
inline

Definition at line 30 of file MPI_Mock.hpp.

◆ MPI_Reduce()

template<class T >
int MPI_Reduce ( const T * sendbuf,
T * recvbuf,
int count,
MPI_Datatype datatype,
MPI_Op op,
int root,
MPI_Comm comm )
inline

Definition at line 44 of file MPI_Mock.hpp.

Here is the call graph for this function:

Variable Documentation

◆ MPI_COMM_WORLD

MPI_Comm MPI_COMM_WORLD = nullptr
static

Definition at line 13 of file MPI_Mock.hpp.

◆ MPI_LONG

const MPI_Datatype MPI_LONG = nullptr

Definition at line 15 of file MPI_Mock.hpp.

◆ MPI_MAX

const MPI_Op MPI_MAX = nullptr

Definition at line 17 of file MPI_Mock.hpp.

◆ MPI_MIN

const MPI_Op MPI_MIN = nullptr

Definition at line 16 of file MPI_Mock.hpp.