33#ifndef PFC_MPI_COMMUNICATOR_HPP
34#define PFC_MPI_COMMUNICATOR_HPP
51 std::shared_ptr<MPI_Comm> comm_ptr;
56inline communicator::operator
MPI_Comm()
const {
63inline int communicator::size()
const {
65 MPI_Comm_size(MPI_Comm(*
this), &size_);
69inline int communicator::rank()
const {
71 MPI_Comm_rank(MPI_Comm(*
this), &rank_);
Definition communicator.hpp:42
Represents the global simulation domain (the "world").
Definition world.hpp:91