OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
relocation.h File Reference
#include "particles/contact/contactFunctions.h"
#include "particles/functions/particleDynamicsFunctions.h"
+ Include dependency graph for relocation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::particles
 
namespace  olb::particles::communication
 

Functions

template<typename T , typename PARTICLETYPE >
void olb::particles::communication::updateSurfacePtr (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t iP)
 
template<typename T , typename PARTICLETYPE >
std::size_t olb::particles::communication::appendSerializedParticle (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::uint8_t rawBuffer[])
 
template<typename T , typename PARTICLETYPE >
std::size_t olb::particles::communication::insertSerializedParticle (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t idxParticle, std::uint8_t rawBuffer[])
 
template<typename T , typename PARTICLETYPE >
std::size_t olb::particles::communication::attachSerializedParticle (ParticleSystem< T, PARTICLETYPE > &particleSystem, std::uint8_t *rawBuffer)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::prepareRelocation (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, Particle< T, PARTICLETYPE > &particle, int globiC, int globiCdest, std::multimap< int, std::unique_ptr< std::uint8_t[]> > &rankDataMapRelocationInter, std::vector< std::unique_ptr< std::uint8_t[]> > &dataListRelocationIntra, std::size_t serialSize)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::checkSurfaceRelocation (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, const T physDeltaX, Particle< T, PARTICLETYPE > &particle, int globiC, std::multimap< int, std::unique_ptr< std::uint8_t[]> > &rankDataMapRelocationInter, std::vector< std::unique_ptr< std::uint8_t[]> > &dataListRelocationIntra, std::size_t serialSize, const Vector< bool, PARTICLETYPE::d > &periodicity)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::checkRelocation (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, const T physDeltaX, std::multimap< int, std::unique_ptr< std::uint8_t[]> > &rankDataMapRelocationInter, std::vector< std::unique_ptr< std::uint8_t[]> > &dataListRelocationIntra, std::size_t serialSize, const Vector< bool, PARTICLETYPE::d > &periodicity)
 
void olb::particles::communication::fillSendBuffer (std::multimap< int, std::unique_ptr< std::uint8_t[]> > &rankDataMap, std::map< int, std::vector< std::uint8_t > > &rankDataMapSorted, std::size_t serialSize)
 
void olb::particles::communication::sendMappedData (std::map< int, std::vector< std::uint8_t > > &rankDataMapSorted, const std::unordered_set< int > &availableRanks, const std::size_t serialSize, MPI_Comm Comm, singleton::MpiNonBlockingHelper &mpiNbHelper)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::checkInvalidationOnReceival (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, std::vector< std::vector< std::size_t > > &receivedLocalIDs, const Vector< bool, PARTICLETYPE::d > &periodicity)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::assignParticleToIC (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, std::vector< std::vector< std::size_t > > &receivedLocalIDs, int rankOrig, std::uint8_t *rawBuffer)
 
template<typename F >
void olb::particles::communication::receiveAndExecuteForData (const std::unordered_set< int > &availableRanks, std::size_t serialSize, MPI_Comm Comm, singleton::MpiNonBlockingHelper &mpiNbHelper, F f)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::receiveParticles (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, std::vector< std::unique_ptr< std::uint8_t[]> > &dataListRelocationIntra, std::size_t serialSize, MPI_Comm particleDistributionComm, singleton::MpiNonBlockingHelper &mpiNbHelper, const Vector< bool, PARTICLETYPE::d > &periodicity)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::communication::updateParticleCuboidDistribution (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, const T physDeltaX, MPI_Comm particleDistributionComm, const Vector< bool, PARTICLETYPE::d > &periodicity)
 
template<typename DATA >
void olb::particles::communication::collectDataAndAppendVector (std::vector< DATA > &dataVector, std::unordered_set< int > &availableRanks, singleton::MpiNonBlockingHelper &mpiNbHelper, MPI_Comm commGroup=MPI_COMM_WORLD)