!
Wraps a ParticleAccessor to change its getInvMass and getInvInertiaBF methods to include virtual mass.
T | A ParticleAccessor providing functions getInvMass and getInvInertiaBF, and their respective getInvMassIncludingVirtual and getInvInertiaBFIncludingVirtual. |
#include <ParticleAccessorWithShapeVirtualMassWrapper.h>
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |