DFT-EFE
 
Loading...
Searching...
No Matches
MPITypes.h File Reference
#include <complex>
#include <utils/MPITypes.t.cpp>
Include dependency graph for MPITypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dftefe::utils::mpi::Types< T >
 A simple struct to return the MPIDatatype based on the user provided primitive data type (e.g., int, double, char, etc) More...
 
struct  dftefe::utils::mpi::Types< char >
 
struct  dftefe::utils::mpi::Types< signed char >
 
struct  dftefe::utils::mpi::Types< unsigned char >
 
struct  dftefe::utils::mpi::Types< wchar_t >
 
struct  dftefe::utils::mpi::Types< short >
 
struct  dftefe::utils::mpi::Types< unsigned short >
 
struct  dftefe::utils::mpi::Types< int >
 
struct  dftefe::utils::mpi::Types< unsigned int >
 
struct  dftefe::utils::mpi::Types< long >
 
struct  dftefe::utils::mpi::Types< unsigned long >
 
struct  dftefe::utils::mpi::Types< float >
 
struct  dftefe::utils::mpi::Types< double >
 
struct  dftefe::utils::mpi::Types< long double >
 
struct  dftefe::utils::mpi::Types< long long int >
 
struct  dftefe::utils::mpi::Types< unsigned long long int >
 
struct  dftefe::utils::mpi::Types< std::complex< float > >
 
struct  dftefe::utils::mpi::Types< std::complex< double > >
 

Namespaces

namespace  dftefe
 dealii includes
 
namespace  dftefe::utils
 
namespace  dftefe::utils::mpi
 

Typedefs

using dftefe::utils::mpi::ErrorCode = int
 The following provides a unified framework to use typedefs that will be valid both with and without the use of an MPI library. This allows the user to write application code in terms of the following typedefs, and as a result, compile the code successfully both with and without MPI. The idea is that while not using an MPI library, we uses aliases (typedefs) for the MPI datatypes (e.g.m MPIFloat, MPIByte, etc.) On the other hand, while not using an MPI library, the same aliases are equated to int (integer). The choice of int is arbitrary, one can use any other low-memory datatype (e.e., char, unsigned cha, etc) More...
 
using dftefe::utils::mpi::MPI_Status = struct { int count=0
 
using dftefe::utils::mpi::MPIInfo = int
 
using dftefe::utils::mpi::MPIDatatype = int
 
using dftefe::utils::mpi::MPIComm = int
 
using dftefe::utils::mpi::MPIRequest = int
 
using dftefe::utils::mpi::MPIStatus = int
 
using dftefe::utils::mpi::MPIGroup = int
 
using dftefe::utils::mpi::MPIOp = int
 
using dftefe::utils::mpi::MPIErrhandler = int
 
using dftefe::utils::mpi::MPIUserFunction = void(void *, void *, int *, MPIDatatype *)
 

Variables

int dftefe::utils::mpi::cancelled = 0
 
int dftefe::utils::mpi::MPI_SOURCE = 0
 
int dftefe::utils::mpi::MPI_TAG = 0
 
int dftefe::utils::mpi::MPI_ERROR = 0
 
int dftefe::utils::mpi::MPISuccess = 0
 
int dftefe::utils::mpi::MPIAnyTag = -1
 
int dftefe::utils::mpi::MPIAnySource = -1
 
MPIStatus * dftefe::utils::mpi::MPIStatusIgnore = nullptr
 
MPIStatus * dftefe::utils::mpi::MPIStatusesIgnore = nullptr
 
int * dftefe::utils::mpi::MPIErrCodesIgnore = nullptr
 
void * dftefe::utils::mpi::MPIInPlace = (void *)-1
 
MPIDatatype dftefe::utils::mpi::MPIChar = ((mpi::MPIDatatype)0x4c000101)
 
MPIDatatype dftefe::utils::mpi::MPISignedChar = ((mpi::MPIDatatype)0x4c000118)
 
MPIDatatype dftefe::utils::mpi::MPIUnsignedChar = ((mpi::MPIDatatype)0x4c000102)
 
MPIDatatype dftefe::utils::mpi::MPIByte = ((mpi::MPIDatatype)0x4c00010d)
 
MPIDatatype dftefe::utils::mpi::MPIWChar = ((mpi::MPIDatatype)0x4c00040e)
 
MPIDatatype dftefe::utils::mpi::MPIShort = ((mpi::MPIDatatype)0x4c000203)
 
MPIDatatype dftefe::utils::mpi::MPIUnsignedShort = ((mpi::MPIDatatype)0x4c000204)
 
MPIDatatype dftefe::utils::mpi::MPIInt = ((mpi::MPIDatatype)0x4c000405)
 
MPIDatatype dftefe::utils::mpi::MPIUnsigned = ((mpi::MPIDatatype)0x4c000406)
 
MPIDatatype dftefe::utils::mpi::MPILong = ((mpi::MPIDatatype)0x4c000407)
 
MPIDatatype dftefe::utils::mpi::MPIUnsignedLong = ((mpi::MPIDatatype)0x4c000408)
 
MPIDatatype dftefe::utils::mpi::MPIFloat = ((mpi::MPIDatatype)0x4c00040a)
 
MPIDatatype dftefe::utils::mpi::MPIDouble = ((mpi::MPIDatatype)0x4c00080b)
 
MPIDatatype dftefe::utils::mpi::MPILongDouble = ((mpi::MPIDatatype)0x4c00080c)
 
MPIDatatype dftefe::utils::mpi::MPILongLongInt = ((mpi::MPIDatatype)0x4c000809)
 
MPIDatatype dftefe::utils::mpi::MPIUnsignedLongLong = ((mpi::MPIDatatype)0x4c000819)
 
MPIDatatype dftefe::utils::mpi::MPILongLong = ((mpi::MPIDatatype)0x4c000809)
 
MPIDatatype dftefe::utils::mpi::MPIComplex = ((mpi::MPIDatatype)1275070494)
 
MPIDatatype dftefe::utils::mpi::MPIDoubleComplex = ((mpi::MPIDatatype)1275072546)
 
MPIComm dftefe::utils::mpi::MPICommWorld = ((mpi::MPIComm)0x44000000)
 
MPIComm dftefe::utils::mpi::MPICommSelf = ((mpi::MPIComm)0x44000001)
 
MPIComm dftefe::utils::mpi::MPICommNull = ((mpi::MPIComm)0x04000000)
 
MPIGroup dftefe::utils::mpi::MPIGroupNull = ((mpi::MPIGroup)0x08000000)
 
MPIDatatype dftefe::utils::mpi::MPIDatatypeNull = ((mpi::MPIDatatype)0x0c000000)
 
MPIRequest dftefe::utils::mpi::MPIRequestNull = ((mpi::MPIRequest)0x2c000000)
 
MPIErrhandler dftefe::utils::mpi::MPIErrHandlerNull
 
MPIOp dftefe::utils::mpi::MPIOpNull = ((mpi::MPIOp)0x18000000)
 
MPIOp dftefe::utils::mpi::MPIMax = (mpi::MPIOp)(0x58000001)
 
MPIOp dftefe::utils::mpi::MPIMin = (mpi::MPIOp)(0x58000002)
 
MPIOp dftefe::utils::mpi::MPISum = (mpi::MPIOp)(0x58000003)
 
MPIOp dftefe::utils::mpi::MPIProd = (mpi::MPIOp)(0x58000004)
 
MPIOp dftefe::utils::mpi::MPILAnd = (mpi::MPIOp)(0x58000005)
 
MPIOp dftefe::utils::mpi::MPIBAnd = (mpi::MPIOp)(0x58000006)
 
MPIOp dftefe::utils::mpi::MPILOr = (mpi::MPIOp)(0x58000007)
 
MPIOp dftefe::utils::mpi::MPIBOr = (mpi::MPIOp)(0x58000008)
 
MPIOp dftefe::utils::mpi::MPILXOr = (mpi::MPIOp)(0x58000009)
 
MPIOp dftefe::utils::mpi::MPIBXOr = (mpi::MPIOp)(0x5800000a)
 
MPIOp dftefe::utils::mpi::MPIMinLoc = (mpi::MPIOp)(0x5800000b)
 
MPIOp dftefe::utils::mpi::MPIMaxLoc = (mpi::MPIOp)(0x5800000c)
 
MPIOp dftefe::utils::mpi::MPIReplace = (mpi::MPIOp)(0x5800000d)
 
int dftefe::utils::mpi::MPIThreadSingle = 0
 
int dftefe::utils::mpi::MPIThreadFunneled = 1
 
int dftefe::utils::mpi::MPIThreadMultiple = 2
 
int dftefe::utils::mpi::MPIThreadSerialized = 3