FrictionQPotSpringBlock v0.22.7
|
A potential energy landscape of each particle that is piecewise smooth. More...
#include <FrictionQPotSpringBlock/detail.h>
Public Member Functions | |
SemiSmooth (double mu, double kappa, Generator *chunk) | |
template<class T > | |
void | force (const T &u, T &f) |
Update forces based on current slips. | |
template<class T > | |
double | maxUniformDisplacement (const T &u, int direction) const |
Find maximum particle displacement for which the system is linear and uniform. | |
template<class T > | |
void | trigger (T &u, size_t p, double eps, int direction) const |
Trigger a specific particle. | |
Protected Types | |
using | stype = typename Generator::size_type |
Size type. | |
Protected Attributes | |
stype | m_N |
Number of particles. | |
double | m_mu |
Curvature of the potentials. | |
double | m_kappa |
Softening stiffness. | |
Generator * | m_chunk |
Pointer to chunk of yield 'positions' (automatically updated if needed) | |
A potential energy landscape of each particle that is piecewise smooth.
This corresponds to a piecewise linear force.
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |