COMBINATORIAL_BLAS  1.6
par::Mpi_datatype< bool > Class Template Reference

A template specialization of the abstract class Mpi_datatype. This can be used for communicating messages of type "bool". More...

#include <dtypes.h>

Static Public Member Functions

static MPI_Op LAND ()
 User defined MPI_Operation to perform: second[i] = (first[i] && second[i]),. More...
 
static MPI_Op LOR ()
 User defined MPI_Operation to perform: second[i] = (first[i] || second[i]),. More...
 
static MPI_Datatype value ()
 

Detailed Description

template<>
class par::Mpi_datatype< bool >

A template specialization of the abstract class Mpi_datatype. This can be used for communicating messages of type "bool".

Author
Rahul Sampath, rahul.nosp@m..sam.nosp@m.path@.nosp@m.gmai.nosp@m.l.com

Definition at line 135 of file dtypes.h.

Member Function Documentation

◆ LAND()

static MPI_Op par::Mpi_datatype< bool >::LAND ( )
inlinestatic

User defined MPI_Operation to perform: second[i] = (first[i] && second[i]),.

Remarks
first and second are 2 arrays of type bool and '&&' represents the 'Logical AND' operation.

Definition at line 157 of file dtypes.h.

◆ LOR()

static MPI_Op par::Mpi_datatype< bool >::LOR ( )
inlinestatic

User defined MPI_Operation to perform: second[i] = (first[i] || second[i]),.

Remarks
first and second are 2 arrays of type bool and '||' represents the 'Logical OR' operation.

Definition at line 172 of file dtypes.h.

◆ value()

static MPI_Datatype par::Mpi_datatype< bool >::value ( )
inlinestatic
Returns
the MPI_Datatype for the C++ datatype "bool"

Definition at line 186 of file dtypes.h.


The documentation for this class was generated from the following file: