Basic DEM kernel.
DEM kernel with spring-dashpot interaction in normal direction and spring in tangential direction.
#include <SpringDashpotSpring.h>
Public Member Functions | |
SpringDashpotSpring (const uint_t numParticleTypes) | |
SpringDashpotSpring (const SpringDashpotSpring &other)=default | |
SpringDashpotSpring (SpringDashpotSpring &&other)=default | |
SpringDashpotSpring & | operator= (const SpringDashpotSpring &other)=default |
SpringDashpotSpring & | operator= (SpringDashpotSpring &&other)=default |
template<typename Accessor > | |
void | operator() (const size_t p_idx1, const size_t p_idx2, Accessor &ac, const Vec3 &contactPoint, const Vec3 &contactNormal, const real_t &penetrationDepth, const real_t dt) const |
void | setStiffnessN (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setDampingN (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setStiffnessT (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setCoefficientOfFriction (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
real_t | getStiffnessN (const size_t type1, const size_t type2) const |
real_t | getDampingN (const size_t type1, const size_t type2) const |
real_t | getStiffnessT (const size_t type1, const size_t type2) const |
real_t | getCoefficientOfFriction (const size_t type1, const size_t type2) const |
real_t | calcCoefficientOfRestitution (const size_t type1, const size_t type2, const real_t meff) |
real_t | calcCollisionTime (const size_t type1, const size_t type2, const real_t meff) |
void | setParametersFromCOR (const size_t type1, const size_t type2, const real_t cor, const real_t collisionTime, const real_t meff) |
Private Attributes | |
uint_t | numParticleTypes_ |
std::vector< real_t > | stiffnessN_ {} |
std::vector< real_t > | dampingN_ {} |
std::vector< real_t > | stiffnessT_ {} |
std::vector< real_t > | coefficientOfFriction_ {} |
walberla::mesa_pd::kernel::SpringDashpotSpring::SpringDashpotSpring | ( | const uint_t | numParticleTypes | ) |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
inline |
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
private |
|
private |
|
private |
|
private |
|
private |