Basic DEM kernel.
This DEM kernel supports spring&dashpot in normal direction as well as friction in tangential direction.
const uint_t& getType(
const size_t p_idx)
const;
const std::map<walberla::id_t, walberla::mesa_pd::Vec3>& getContactHistory(const size_t p_idx) const;
void setContactHistory(const size_t p_idx, const std::map<walberla::id_t, walberla::mesa_pd::Vec3>& v);
|
| SpringDashpot (const uint_t numParticleTypes) |
|
| SpringDashpot (const SpringDashpot &other)=default |
|
| SpringDashpot (SpringDashpot &&other)=default |
|
SpringDashpot & | operator= (const SpringDashpot &other)=default |
|
SpringDashpot & | operator= (SpringDashpot &&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 |
|
void | setStiffness (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 | setDampingT (const size_t type1, const size_t type2, const real_t &val) |
| assumes this parameter is symmetric More...
|
|
void | setFriction (const size_t type1, const size_t type2, const real_t &val) |
| assumes this parameter is symmetric More...
|
|
real_t | getStiffness (const size_t type1, const size_t type2) const |
|
real_t | getDampingN (const size_t type1, const size_t type2) const |
|
real_t | getDampingT (const size_t type1, const size_t type2) const |
|
real_t | getFriction (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) |
|