walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T > Class Template Reference

Detailed Description

template<typename T>
class walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >

!

Wraps a ParticleAccessor to change its getInvMass and getInvInertiaBF methods to include virtual mass.

Template Parameters
TA ParticleAccessor providing functions getInvMass and getInvInertiaBF, and their respective getInvMassIncludingVirtual and getInvInertiaBFIncludingVirtual.

#include <ParticleAccessorWithShapeVirtualMassWrapper.h>

+ Inheritance diagram for walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >:

Public Member Functions

 ParticleAccessorWithShapeVirtualMassWrapper (std::shared_ptr< mesa_pd::data::ParticleStorage > &ps, std::shared_ptr< mesa_pd::data::ShapeStorage > &ss)
 
auto getInvMass (const size_t p_idx) const
 
const auto getMass (const size_t p_idx) const
 
auto getInvInertiaBF (const size_t p_idx) const
 
const auto getInertiaBF (const size_t p_idx) const
 

Constructor & Destructor Documentation

◆ ParticleAccessorWithShapeVirtualMassWrapper()

Member Function Documentation

◆ getInertiaBF()

template<typename T >
const auto walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >::getInertiaBF ( const size_t  p_idx) const
inline

◆ getInvInertiaBF()

template<typename T >
auto walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >::getInvInertiaBF ( const size_t  p_idx) const
inline

◆ getInvMass()

template<typename T >
auto walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >::getInvMass ( const size_t  p_idx) const
inline

◆ getMass()

template<typename T >
const auto walberla::lbm_mesapd_coupling::ParticleAccessorWithShapeVirtualMassWrapper< T >::getMass ( const size_t  p_idx) const
inline

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