COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Namespaces | Macros | Typedefs
types.hpp File Reference
#include <mpi.h>
#include "common/BasicExceptions.hpp"

Go to the source code of this file.

Namespaces

 cf3
 Top-level namespace for coolfluid.
 
 cf3::common
 Most basic kernel library.
 
 cf3::common::PE
 Classes offering a MPI interface for COOLFluiD.
 

Macros

#define MPI_CHECK_RESULT(MPIFunc, Args)
 Macro for checking return values of any mpi calls and throws exception on error. More...
 

Typedefs

typedef MPI_Comm Communicator
 communicator More...
 
typedef MPI_Op Operation
 operation (mostly for reduce and all_reduce) More...
 
typedef MPI_Datatype Datatype
 datatype More...
 

Macro Definition Documentation

#define MPI_CHECK_RESULT (   MPIFunc,
  Args 
)
Value:
{ \
int check_result = MPIFunc Args; \
if (check_result != MPI_SUCCESS) \
std::string("Function: ") + \
std::string( #MPIFunc ) + \
std::string( " did not return MPI_SUCCESS (" ) + \
cf3::common::to_str(check_result) + \
std::string(").") ); \
}
Common_API std::string to_str(const T &v)
Converts to std::string.
#define FromHere()

Macro for checking return values of any mpi calls and throws exception on error.

Definition at line 20 of file types.hpp.

Send comments to:
COOLFluiD Web Admin