1#ifndef UTIL_MPI_FILE_IO_H
2#define UTIL_MPI_FILE_IO_H
82 MPI::Intracomm* communicatorPtr_;
93 {
return isIoProcessor_; }
100 {
return (communicatorPtr_ != 0); }
107 assert(communicatorPtr_);
108 return *communicatorPtr_;
Identifies whether this processor may do file I/O.
MPI::Intracomm & ioCommunicator() const
Get the MPI communicator by reference.
bool isIoProcessor() const
Can this processor do file I/O ?
void setIoCommunicator(MPI::Intracomm &communicator)
Set the communicator.
bool hasIoCommunicator() const
Does this object have an associated MPI communicator?
void clearCommunicator()
Clear (nullify) the communicator.
File containing preprocessor macros for error handling.
Utility classes for scientific computation.