walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel Class Reference

#include <AddForceOnParticlesKernel.h>

Public Member Functions

 AddForceOnParticlesKernel (const Vector3< real_t > &force)
 
template<typename ParticleAccessor_T >
void operator() (const size_t idx, ParticleAccessor_T &ac) const
 
void setForce (const Vector3< real_t > &newForce)
 
Vector3< real_tgetForce () const
 

Private Attributes

Vector3< real_tforce_
 

Constructor & Destructor Documentation

◆ AddForceOnParticlesKernel()

walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel::AddForceOnParticlesKernel ( const Vector3< real_t > &  force)
inlineexplicit

Member Function Documentation

◆ getForce()

Vector3<real_t> walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel::getForce ( ) const
inline

◆ operator()()

template<typename ParticleAccessor_T >
void walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel::operator() ( const size_t  idx,
ParticleAccessor_T &  ac 
) const
inline

◆ setForce()

void walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel::setForce ( const Vector3< real_t > &  newForce)
inline

Member Data Documentation

◆ force_

Vector3<real_t> walberla::lbm_mesapd_coupling::AddForceOnParticlesKernel::force_
private

The documentation for this class was generated from the following file: