walberla::mesa_pd::domain::InfiniteDomain Class Reference

Detailed Description

Every process assumes the whole simulation space belongs to its subdomain.

#include <InfiniteDomain.h>

+ Inheritance diagram for walberla::mesa_pd::domain::InfiniteDomain:

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_tgetNeighborProcesses () 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())
 

Member Function Documentation

◆ correctParticlePosition()

void walberla::mesa_pd::domain::InfiniteDomain::correctParticlePosition ( Vec3 ) const
inlineoverridevirtual

Nothing to do here.

Implements walberla::mesa_pd::domain::IDomain.

◆ findContainingProcessRank()

int walberla::mesa_pd::domain::InfiniteDomain::findContainingProcessRank ( const Vec3 ) const
inlineoverridevirtual

Everything belongs to the calling process.

Implements walberla::mesa_pd::domain::IDomain.

◆ getNeighborProcesses()

std::vector<uint_t> walberla::mesa_pd::domain::InfiniteDomain::getNeighborProcesses ( ) const
inlineoverridevirtual

If I own everything I do not have neighbors.

Implements walberla::mesa_pd::domain::IDomain.

◆ intersectsWithProcessSubdomain()

bool walberla::mesa_pd::domain::InfiniteDomain::intersectsWithProcessSubdomain ( const uint_t  rank,
const Vec3 ,
const real_t  
) const
inlineoverridevirtual

Everything belongs to my subdomain.

Implements walberla::mesa_pd::domain::IDomain.

◆ isContainedInProcessSubdomain()

bool walberla::mesa_pd::domain::InfiniteDomain::isContainedInProcessSubdomain ( const uint_t  rank,
const Vec3  
) const
inlineoverridevirtual

Everything belongs to the calling process.

Implements walberla::mesa_pd::domain::IDomain.

◆ periodicallyMapToDomain()

void walberla::mesa_pd::domain::InfiniteDomain::periodicallyMapToDomain ( Vec3 ) const
inlineoverridevirtual

Nothing to do here since domain is infinite.

Implements walberla::mesa_pd::domain::IDomain.

Member Data Documentation

◆ rank_

const uint_t walberla::mesa_pd::domain::InfiniteDomain::rank_ = static_cast<uint_t>(MPIManager::instance()->rank())
private

The documentation for this class was generated from the following file: