Every process assumes the whole simulation space belongs to its subdomain.
#include <InfiniteDomain.h>
Public Member Functions | |
bool | isContainedInProcessSubdomain (const uint_t rank, const Vec3 &) const override |
Everything belongs to the calling process. More... | |
int | findContainingProcessRank (const Vec3 &) const override |
Everything belongs to the calling process. More... | |
void | periodicallyMapToDomain (Vec3 &) const override |
Nothing to do here since domain is infinite. More... | |
std::vector< uint_t > | getNeighborProcesses () const override |
If I own everything I do not have neighbors. More... | |
bool | intersectsWithProcessSubdomain (const uint_t rank, const Vec3 &, const real_t &) const override |
Everything belongs to my subdomain. More... | |
void | correctParticlePosition (Vec3 &) const override |
Nothing to do here. More... | |
Public Member Functions inherited from walberla::mesa_pd::domain::IDomain | |
virtual | ~IDomain ()=default |
virtual bool | isContainedInLocalSubdomain (const Vec3 &, const real_t &) const |
Is the sphere located inside the local subdomain? More... | |
Private Attributes | |
const uint_t | rank_ = static_cast<uint_t>(MPIManager::instance()->rank()) |
|
inlineoverridevirtual |
Nothing to do here.
Implements walberla::mesa_pd::domain::IDomain.
|
inlineoverridevirtual |
Everything belongs to the calling process.
Implements walberla::mesa_pd::domain::IDomain.
|
inlineoverridevirtual |
If I own everything I do not have neighbors.
Implements walberla::mesa_pd::domain::IDomain.
|
inlineoverridevirtual |
Everything belongs to my subdomain.
Implements walberla::mesa_pd::domain::IDomain.
|
inlineoverridevirtual |
Everything belongs to the calling process.
Implements walberla::mesa_pd::domain::IDomain.
|
inlineoverridevirtual |
Nothing to do here since domain is infinite.
Implements walberla::mesa_pd::domain::IDomain.
|
private |