Inserts a particle into the data::SparseLinkedCells data structure.
- Attention
- Make sure to data::SparseLinkedCells::clear() the data structure before reinserting new particles.
This kernel requires the following particle accessor interface
const size_t& getNextParticle(const size_t p_idx) const;
void setNextParticle(const size_t p_idx, const size_t& v);
#include <InsertParticleIntoSparseLinkedCells.h>
◆ operator()()
template<typename Accessor >
void walberla::mesa_pd::kernel::InsertParticleIntoSparseLinkedCells::operator() |
( |
const size_t |
p_idx, |
|
|
Accessor & |
ac, |
|
|
data::SparseLinkedCells & |
lc |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: