walberla::lbm_mesapd_coupling::AddAccelerationOnParticlesKernel Class Reference

#include <AddAccelerationOnParticlesKernel.h>

Public Member Functions

 AddAccelerationOnParticlesKernel (const Vector3< real_t > &acceleration)
 
template<typename ParticleAccessor_T >
void operator() (const size_t idx, ParticleAccessor_T &ac) const
 
void setAcceleration (const Vector3< real_t > &newAcceleration)
 
Vector3< real_tgetAcceleration () const
 

Private Attributes

Vector3< real_tacceleration_
 

Constructor & Destructor Documentation

◆ AddAccelerationOnParticlesKernel()

walberla::lbm_mesapd_coupling::AddAccelerationOnParticlesKernel::AddAccelerationOnParticlesKernel ( const Vector3< real_t > &  acceleration)
inlineexplicit

Member Function Documentation

◆ getAcceleration()

Vector3<real_t> walberla::lbm_mesapd_coupling::AddAccelerationOnParticlesKernel::getAcceleration ( ) const
inline

◆ operator()()

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

◆ setAcceleration()

void walberla::lbm_mesapd_coupling::AddAccelerationOnParticlesKernel::setAcceleration ( const Vector3< real_t > &  newAcceleration)
inline

Member Data Documentation

◆ acceleration_

Vector3<real_t> walberla::lbm_mesapd_coupling::AddAccelerationOnParticlesKernel::acceleration_
private

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