walberla::mesa_pd::kernel::cnt::ViscousDamping Class Reference

#include <ViscousDamping.h>

Public Member Functions

 ViscousDamping (real_t forceDampingFactor, real_t torqueDampingFactor)
 
template<typename Accessor >
void operator() (const size_t p_idx1, const size_t p_idx2, Accessor &ac) const
 
auto getForceDampingFactor () const
 
auto getTorqueDampingFactor () const
 

Private Attributes

const real_t forceDampingFactor_
 
const real_t torqueDampingFactor_
 

Constructor & Destructor Documentation

◆ ViscousDamping()

walberla::mesa_pd::kernel::cnt::ViscousDamping::ViscousDamping ( real_t  forceDampingFactor,
real_t  torqueDampingFactor 
)
inline

Member Function Documentation

◆ getForceDampingFactor()

auto walberla::mesa_pd::kernel::cnt::ViscousDamping::getForceDampingFactor ( ) const
inline

◆ getTorqueDampingFactor()

auto walberla::mesa_pd::kernel::cnt::ViscousDamping::getTorqueDampingFactor ( ) const
inline

◆ operator()()

template<typename Accessor >
void walberla::mesa_pd::kernel::cnt::ViscousDamping::operator() ( const size_t  p_idx1,
const size_t  p_idx2,
Accessor &  ac 
) const
inline

Member Data Documentation

◆ forceDampingFactor_

const real_t walberla::mesa_pd::kernel::cnt::ViscousDamping::forceDampingFactor_
private

◆ torqueDampingFactor_

const real_t walberla::mesa_pd::kernel::cnt::ViscousDamping::torqueDampingFactor_
private

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