OpenLB 1.7
|
#include <superParticleSystem.h>
Public Member Functions | |
SuperParticleSystem (SuperStructure< T, PARTICLETYPE::d > &superStructure, T maximalCircumRadius=T{0.}) | |
SuperParticleSystem (SuperGeometry< T, PARTICLETYPE::d > &superGeometry, T maximalCircumRadius=T{0.}) | |
Create SuperParticleSystem from SuperGeometry and optional maximal circumference radius (if already known) | |
void | print () |
void | addDynamics (std::shared_ptr< dynamics::ParticleDynamics< T, PARTICLETYPE > > &dynamicsSPtr) |
template<typename DYNAMICS , typename ... Args> | |
void | defineDynamics (Args &&...args) |
std::vector< ParticleSystem< T, PARTICLETYPE > * > & | getBlockParticleSystems () |
SuperStructure< T, PARTICLETYPE::d > & | getSuperStructure () |
const std::unordered_set< int > & | getNeighbourRanks () |
const std::unordered_set< int > & | getExtendedNeighbourRanks () |
const std::vector< std::unordered_set< int > > & | getCuboidNeighborhood () |
std::size_t | getGlobID () |
std::size_t | getSerialSize () const |
Particle< T, PARTICLETYPE > | get (std::size_t globalParticleID) |
template<typename PCONDITION = conditions::all_particles> | |
constexpr std::size_t | size () |
void | checkForErrors () |
void | updateOffsetFromCircumRadius (T circumRadius) |
Definition at line 32 of file superParticleSystem.h.
olb::particles::SuperParticleSystem< T, PARTICLETYPE >::SuperParticleSystem | ( | SuperStructure< T, PARTICLETYPE::d > & | superStructure, |
T | maximalCircumRadius = T{0.} ) |
Definition at line 32 of file superParticleSystem.hh.
References olb::SuperStructure< T, D >::getCuboidGeometry(), and olb::SuperStructure< T, D >::getLoadBalancer().
olb::particles::SuperParticleSystem< T, PARTICLETYPE >::SuperParticleSystem | ( | SuperGeometry< T, PARTICLETYPE::d > & | superGeometry, |
T | maximalCircumRadius = T{0.} ) |
Create SuperParticleSystem from SuperGeometry and optional maximal circumference radius (if already known)
Definition at line 52 of file superParticleSystem.hh.
void olb::particles::SuperParticleSystem< T, PARTICLETYPE >::addDynamics | ( | std::shared_ptr< dynamics::ParticleDynamics< T, PARTICLETYPE > > & | dynamicsSPtr | ) |
Definition at line 85 of file superParticleSystem.hh.
void olb::particles::SuperParticleSystem< T, PARTICLETYPE >::checkForErrors | ( | ) |
Definition at line 193 of file superParticleSystem.hh.
References olb::singleton::mpi().
void olb::particles::SuperParticleSystem< T, PARTICLETYPE >::defineDynamics | ( | Args &&... | args | ) |
Definition at line 97 of file superParticleSystem.hh.
Particle< T, PARTICLETYPE > olb::particles::SuperParticleSystem< T, PARTICLETYPE >::get | ( | std::size_t | globalParticleID | ) |
Definition at line 152 of file superParticleSystem.hh.
References olb::singleton::MpiManager::getRank(), and olb::singleton::mpi().
std::vector< ParticleSystem< T, PARTICLETYPE > * > & olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getBlockParticleSystems | ( | ) |
Definition at line 125 of file superParticleSystem.hh.
const std::vector< std::unordered_set< int > > & olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getCuboidNeighborhood | ( | ) |
Definition at line 118 of file superParticleSystem.hh.
const std::unordered_set< int > & olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getExtendedNeighbourRanks | ( | ) |
Definition at line 112 of file superParticleSystem.hh.
std::size_t olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getGlobID | ( | ) |
Definition at line 138 of file superParticleSystem.hh.
const std::unordered_set< int > & olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getNeighbourRanks | ( | ) |
Definition at line 106 of file superParticleSystem.hh.
std::size_t olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getSerialSize | ( | ) | const |
Definition at line 144 of file superParticleSystem.hh.
SuperStructure< T, PARTICLETYPE::d > & olb::particles::SuperParticleSystem< T, PARTICLETYPE >::getSuperStructure | ( | ) |
Definition at line 132 of file superParticleSystem.hh.
void olb::particles::SuperParticleSystem< T, PARTICLETYPE >::print | ( | ) |
Definition at line 59 of file superParticleSystem.hh.
|
constexpr |
Definition at line 178 of file superParticleSystem.hh.
References olb::singleton::mpi(), and olb::singleton::MpiManager::reduceAndBcast().
void olb::particles::SuperParticleSystem< T, PARTICLETYPE >::updateOffsetFromCircumRadius | ( | T | circumRadius | ) |
Definition at line 206 of file superParticleSystem.hh.