Detailed Description

Inserts a particle into the data::LinkedCells data structure.

Attention
Make sure to data::LinkedCells::clear() the data structure before reinserting new particles.

This kernel requires the following particle accessor interface

const walberla::mesa_pd::Vec3& getPosition(const size_t p_idx) const;
const walberla::mesa_pd::data::particle_flags::FlagT& getFlags(const size_t p_idx) const;
const size_t& getNextParticle(const size_t p_idx) const;
void setNextParticle(const size_t p_idx, const size_t& v);

#include <InsertParticleIntoLinkedCells.h>

Public Member Functions

template<typename Accessor >
void operator() (const size_t p_idx, Accessor &ac, data::LinkedCells &lc) const
 

Member Function Documentation

◆ operator()()

template<typename Accessor >
void walberla::mesa_pd::kernel::InsertParticleIntoLinkedCells::operator() ( const size_t  p_idx,
Accessor &  ac,
data::LinkedCells lc 
) const
inline

The documentation for this class was generated from the following file:
Definition: Flags.h:33