8 : comm_m(new MPI_Comm(MPI_COMM_WORLD)) {
14 comm_m = std::make_shared<MPI_Comm>(comm);
20 comm_m = std::make_shared<MPI_Comm>(comm);
26 Communicator Communicator::Communicator::split(
int color,
int key)
const {
28 MPI_Comm_split(*comm_m, color, key, &newcomm);
33 MPI_Probe(source, tag, *
comm_m, status);
38 MPI_Iprobe(source, tag, *
comm_m, &flag, status);
Implementations for FFT constructor/destructor and transforms.
Communicator & operator=(MPI_Comm comm)
std::shared_ptr< MPI_Comm > comm_m
bool iprobe(int source, int tag, Status &status)
void probe(int source, int tag, Status &status)