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
constexpr Face getOppositeFace(const Face &f)
Get the Face opposite to Face f.
Definition domain.h:34
A wrapper for global ELA data.
Definition domain.h:43
T getMax(const T &in) const
Get the maximum value across all domains.
Definition domain.h:132
fields::Helper< svec::SVector > getGhost(const Face &f, const int &n)
From s [n], returns ghost cells immediately adjacent to Face f.
std::vector< fields::Owner< svec::SVector > > s
Source vector field.
Definition domain.h:78
constexpr bool hasNeighbor(Face f) const
Determine if there is a neighboring domain on the Face f.
Definition domain.h:126
Domain(const int &ni, const int &nj, const int &nk, const int &nn)
Construct a new Domain object.
const int n[3]
Storage for ni, nj, and nk.
Definition domain.h:57
const int & nj
Number of (non-ghost) cells in second direction.
Definition domain.h:63
std::vector< fields::Owner< svec::NormalizedSVector > > c
Vector dilation field.
Definition domain.h:87
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
fields::Helper< svec::SVector > getEdge(const Face &f, const int &n)
From s [n], returns cells in the domain immediately adjacent to Face f.