Rheolef  7.2
an efficient C++ finite element environment
communicator

MPI communicator for C++.

Description

In a distributed environment, this class wraps the MPI usual communicator for C++, as provided by the boost::mpi library. In a sequential environment, a dummy class is provided for compatibility purpose.

Example

communicator comm;
cout << "my_proc = " << comm.rank() << endl
     << "nb_proc = " << comm.size() << endl;

Implementation

This documentation has been generated from file linalg/lib/communicator.h

struct communicator {
int size() const;
int rank() const;
};
field::size_type size_type
Definition: branch.cc:430
see the communicator page for the full documentation
size_t size_type
Definition: basis_get.cc:76