19 : isIoProcessor_(true)
29 : isIoProcessor_(other.isIoProcessor_)
31 , communicatorPtr_(other.communicatorPtr_)
38 communicatorPtr_ = &communicator;
39 if (communicator.Get_rank() == 0) {
40 isIoProcessor_ =
true;
42 isIoProcessor_ =
false;
49 isIoProcessor_ =
true;
Identifies whether this processor may do file I/O.
void setIoCommunicator(MPI::Intracomm &communicator)
Set the communicator.
void clearCommunicator()
Clear (nullify) the communicator.
Utility classes for scientific computation.