An extension of Domain for parallelization with MPI.
Definition mpidomain.h:14
MPIDomain(const int &ni, const int &nj, const int &nk, const int &nn, MPI_Comm comm_cart)
Construct a new MPIDomain object.
void updateGhost(const Face &recv)
Update the ghost cell adjacent to Face recv.
constexpr bool isBoss() const
Check if this process is the boss (rank is 0)
Definition mpidomain.h:78
constexpr bool hasNeighbor(Face f) const
Determine if there is a neighboring domain on the Face f.
Definition mpidomain.h:73
T getMax(const T &in) const
Get the maximum value across all domains.
MPI_Comm getMPIComm() const
Get the MPI communicator.
Definition mpidomain.h:62
Container for ELA Data including its physical structure.
Definition compression.h:6
Face
Corresponds to each of the six faces of the domain.
Definition domain.h:17
A wrapper for global ELA data.
Definition domain.h:43
const int & nj
Number of (non-ghost) cells in second direction.
Definition domain.h:63
const int & ni
Number of (non-ghost) cells in first direction.
Definition domain.h:60
const int & nk
Number of (non-ghost) cells in third direction.
Definition domain.h:66