Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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>

List of all members.

Static Public Member Functions

MPI_Op LAND ()
 User defined MPI_Operation to perform: second[i] = (first[i] && second[i]),.
MPI_Op LOR ()
 User defined MPI_Operation to perform: second[i] = (first[i] || second[i]),.
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.sampath@gmail.com

Definition at line 82 of file dtypes.h.


Member Function Documentation

MPI_Op par::Mpi_datatype< bool >::LAND  )  [inline, static]
 

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 104 of file dtypes.h.

MPI_Op par::Mpi_datatype< bool >::LOR  )  [inline, static]
 

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 119 of file dtypes.h.

MPI_Datatype par::Mpi_datatype< bool >::value  )  [inline, static]
 

Returns:
the MPI_Datatype for the C++ datatype "bool"

Definition at line 133 of file dtypes.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 24 16:14:26 2009 for DENDRO by  doxygen 1.3.9.1