ParticleFunctions.h File Reference

Detailed Description

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::mesa_pd
 

Functions

template<typename Accessor >
Vec3 walberla::mesa_pd::getVelocityAtWFPoint (const size_t p_idx, Accessor &ac, const Vec3 &wf_pt)
 Returns the "surface" velocity at a certain point given in world frame coordinates. More...
 
template<typename Accessor >
Vec3 walberla::mesa_pd::transformPositionFromWFtoBF (const size_t p_idx, Accessor &ac, const Vec3 &positionWF)
 Transformations between world frame (WF) and body frame (BF) coordinates. More...
 
template<typename Accessor >
Vec3 walberla::mesa_pd::transformVectorFromWFtoBF (const size_t p_idx, Accessor &ac, const Vec3 &vectorWF)
 
template<typename Accessor >
Vec3 walberla::mesa_pd::transformPositionFromBFtoWF (const size_t p_idx, Accessor &ac, const Vec3 &positionBF)
 
template<typename Accessor >
Vec3 walberla::mesa_pd::transformVectorFromBFtoWF (const size_t p_idx, Accessor &ac, const Vec3 &vectorBF)
 
template<typename Accessor >
Mat3 walberla::mesa_pd::getInvInertia (const size_t p_idx, Accessor &ac)
 Transform (inverse) particle's moment of inertia from body frame coordinates (as stored by shape) to world frame. More...
 
template<typename Accessor >
Mat3 walberla::mesa_pd::getInertia (const size_t p_idx, Accessor &ac)
 
template<typename Accessor >
void walberla::mesa_pd::addForceAtomic (const size_t p_idx, Accessor &ac, const Vec3 &f)
 Force is applied at the center of mass. More...
 
template<typename Accessor >
void walberla::mesa_pd::addForceAtWFPosAtomic (const size_t p_idx, Accessor &ac, const Vec3 &f, const Vec3 &wf_pt)
 
template<typename Accessor >
void walberla::mesa_pd::addTorqueAtomic (const size_t p_idx, Accessor &ac, const Vec3 &t)
 Torque is directly applied on the particle. More...