Short range interaction based on a quartic potential.
More...
#include <FrictionQPotSpringBlock/detail.h>
|
| Quartic1d (double a1, double a2, size_type N) |
|
template<class T > |
void | force (const T &u, T &f) |
| Update forces based on current slips.
|
|
|
size_type | m_N |
| Number of particles.
|
|
double | m_a1 |
| Stiffness of the interactions.
|
|
double | m_a2 |
| Stiffness of the interactions.
|
|
Short range interaction based on a quartic potential.
See e.g. https://doi.org/10.1103/PhysRevLett.87.187002
Definition at line 757 of file detail.h.
◆ Quartic1d()
FrictionQPotSpringBlock::detail::Quartic1d::Quartic1d |
( |
double | a1, |
|
|
double | a2, |
|
|
size_type | N ) |
|
inline |
- Parameters
-
a1 | Stiffness of the interactions. |
a2 | Stiffness of the interactions. |
N | Number of particles. |
Definition at line 771 of file detail.h.
◆ force()
template<class T >
void FrictionQPotSpringBlock::detail::Quartic1d::force |
( |
const T & | u, |
|
|
T & | f ) |
|
inline |
Update forces based on current slips.
- Parameters
-
u | Slip per particle. |
f | Force per particle (output). |
Definition at line 779 of file detail.h.
◆ m_a1
double FrictionQPotSpringBlock::detail::Quartic1d::m_a1 |
|
protected |
Stiffness of the interactions.
Definition at line 760 of file detail.h.
◆ m_a2
double FrictionQPotSpringBlock::detail::Quartic1d::m_a2 |
|
protected |
Stiffness of the interactions.
Definition at line 761 of file detail.h.
◆ m_N
size_type FrictionQPotSpringBlock::detail::Quartic1d::m_N |
|
protected |
Number of particles.
Definition at line 759 of file detail.h.
The documentation for this class was generated from the following file: