|
template<typename T , unsigned D, bool verbose = false> |
std::vector< int > | olb::particles::communication::getNeighborCuboids (CuboidGeometry< T, D > &cuboidGeometry, unsigned offset, int globiC) |
| Get neighbour cuboids.
|
|
template<typename T , unsigned D, bool verbose = false> |
std::unordered_set< int > | olb::particles::communication::getNeighbourRanksFromCuboidNeighbourhood (SuperStructure< T, D > &superStructure, int rank, std::map< int, std::vector< int > > neighbourhood) |
| Get neighbour ranks.
|
|
template<typename T , unsigned D, bool verbose = false> |
std::unordered_set< int > | olb::particles::communication::getNeighbourRanksFromCuboidNeighbourhood (SuperStructure< T, D > &superStructure, int rank, const std::vector< std::unordered_set< int > > &neighbourhood) |
| Get neighbour ranks.
|
|
template<typename T , unsigned D, bool verbose = false> |
std::unordered_set< int > | olb::particles::communication::getNeighbourRanksFromCuboidNeighbourhood (SuperStructure< T, D > &superStructure, const std::vector< std::unordered_set< int > > &neighbourhood) |
| Get neighbour ranks.
|
|
template<typename T , unsigned D, bool verbose = false> |
std::unordered_set< int > | olb::particles::communication::getNeighbourRanks (SuperStructure< T, D > &superStructure, unsigned offset, int rank) |
| Get neighbour ranks.
|
|
template<typename T , unsigned D, bool verbose = false> |
std::unordered_set< int > | olb::particles::communication::getNeighbourRanks (SuperStructure< T, D > &superStructure, unsigned offset) |
| Get neighbour ranks.
|
|
template<typename T , typename PARTICLETYPE > |
std::size_t | olb::particles::communication::serializeIcDest (int globiCdest, std::uint8_t *bufferiCandParticle) |
|
template<typename T , typename PARTICLETYPE > |
void | olb::particles::communication::serializeIcDestAndParticle (int globiCdest, Particle< T, PARTICLETYPE > &particle, std::uint8_t *bufferiCandParticle) |
|
template<typename T , typename PARTICLETYPE > |
std::size_t | olb::particles::communication::deserializeIcDest (int &globiCdest, std::uint8_t *bufferRaw) |
|
template<typename T , typename PARTICLETYPE > |
void | olb::particles::communication::deserializeIcDestAndParticle (int &globiCdest, Particle< T, PARTICLETYPE > &particle, std::uint8_t *bufferiCandParticle) |
|
template<typename T , typename PARTICLETYPE > |
void | olb::particles::communication::checkCuboidSizes (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem) |
|
template<typename T > |
T | olb::particles::communication::movePositionToStart (const T position, const T max, const T min) |
|
template<typename T > |
T | olb::particles::communication::movePositionToEnd (const T position, const T max, const T min) |
|
template<typename T > |
T | olb::particles::communication::applyPeriodicityToPosition (const bool isPeriodic, T position, const T max, const T min) |
|
template<typename T , unsigned D> |
Vector< T, D > | olb::particles::communication::getCuboidMin (const CuboidGeometry< T, D > &cuboidGeometry) |
| Returns minimal coordinate of domain for periodic particle boundaries.
|
|
template<typename T , unsigned D> |
Vector< T, D > | olb::particles::communication::getCuboidMax (const CuboidGeometry< T, D > &cuboidGeometry, const PhysR< T, D > &min) |
| Returns maximal coordinate of domain for periodic particle boundaries.
|
|
template<typename T , unsigned D> |
Vector< T, D > | olb::particles::communication::applyPeriodicityToPosition (const CuboidGeometry< T, D > &cuboidGeometry, const Vector< bool, D > &periodicity, PhysR< T, D > position) |
| Updates a position if out of bounds and periodic setup is used.
|
|
template<typename T , unsigned D> |
bool | olb::particles::communication::getCuboid (const CuboidGeometry< T, D > &cuboidGeometry, const Vector< bool, D > &periodicity, const PhysR< T, D > &position, int &iC) |
| Function returns true if cuboid was found and gives iC.
|
|