MeDiPack  1.2.2
A Message Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
macros.h File Reference
#include <mpi.h>
#include <assert.h>
Include dependency graph for macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  medi
 Global namespace for MeDiPack - Message Differentiation Package.
 

Macros

#define INTERFACE_ARG(name)   typename name
 
#define INTERFACE_DEF(interface, name, ...)   /* empty */
 
#define MEDI_CHECK_ERROR(expr)   (expr)
 
#define MEDI_EnableAssert   1
 
#define MEDI_MPI_TARGET   MEDI_MPI_VERSION_3_1
 
#define MEDI_MPI_VERSION_1_0   100
 
#define MEDI_MPI_VERSION_1_1   101
 
#define MEDI_MPI_VERSION_1_2   102
 
#define MEDI_MPI_VERSION_1_3   103
 
#define MEDI_MPI_VERSION_2_0   200
 
#define MEDI_MPI_VERSION_2_1   201
 
#define MEDI_MPI_VERSION_2_2   202
 
#define MEDI_MPI_VERSION_3_0   300
 
#define MEDI_MPI_VERSION_3_1   301
 
#define MEDI_OPTIONAL_CONST   const
 
#define MEDI_UNUSED(name)   (void)(name)
 
#define mediAssert(x)   assert(x)
 The assert function for MeDiPack it can be enabled with the preprocessor macro MEDI_EnableAssert=true. More...
 

Macro Definition Documentation

◆ INTERFACE_ARG

#define INTERFACE_ARG (   name)    typename name

◆ INTERFACE_DEF

#define INTERFACE_DEF (   interface,
  name,
  ... 
)    /* empty */

◆ MEDI_CHECK_ERROR

#define MEDI_CHECK_ERROR (   expr)    (expr)

◆ MEDI_EnableAssert

#define MEDI_EnableAssert   1

◆ MEDI_MPI_TARGET

#define MEDI_MPI_TARGET   MEDI_MPI_VERSION_3_1

◆ MEDI_MPI_VERSION_1_0

#define MEDI_MPI_VERSION_1_0   100

◆ MEDI_MPI_VERSION_1_1

#define MEDI_MPI_VERSION_1_1   101

◆ MEDI_MPI_VERSION_1_2

#define MEDI_MPI_VERSION_1_2   102

◆ MEDI_MPI_VERSION_1_3

#define MEDI_MPI_VERSION_1_3   103

◆ MEDI_MPI_VERSION_2_0

#define MEDI_MPI_VERSION_2_0   200

◆ MEDI_MPI_VERSION_2_1

#define MEDI_MPI_VERSION_2_1   201

◆ MEDI_MPI_VERSION_2_2

#define MEDI_MPI_VERSION_2_2   202

◆ MEDI_MPI_VERSION_3_0

#define MEDI_MPI_VERSION_3_0   300

◆ MEDI_MPI_VERSION_3_1

#define MEDI_MPI_VERSION_3_1   301

◆ MEDI_OPTIONAL_CONST

#define MEDI_OPTIONAL_CONST   const

◆ MEDI_UNUSED

#define MEDI_UNUSED (   name)    (void)(name)

◆ mediAssert

#define mediAssert (   x)    assert(x)

The assert function for MeDiPack it can be enabled with the preprocessor macro MEDI_EnableAssert=true.

Parameters
xThe expression that is checked in the assert.

It can be set with the preprocessor macro MEDI_EnableAssert=<true/false>