Long range interactions.
More...
#include <FrictionQPotSpringBlock/detail.h>
|
| LongRange1d (double k, double alpha, size_type N) |
|
template<class T > |
void | force (const T &u, T &f) |
| Update forces based on current slips.
|
|
Long range interactions.
The interactions decay as \( 1 / r^{d + \alpha} \). See e.g. https://doi.org/10.1103/PhysRevLett.126.025702
Definition at line 812 of file detail.h.
◆ LongRange1d()
FrictionQPotSpringBlock::detail::LongRange1d::LongRange1d |
( |
double | k, |
|
|
double | alpha, |
|
|
size_type | N ) |
|
inline |
- Parameters
-
k | Stiffness of the interactions. |
alpha | Range of interactions. |
N | Number of particles. |
Definition at line 829 of file detail.h.
◆ force()
template<class T >
void FrictionQPotSpringBlock::detail::LongRange1d::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 850 of file detail.h.
◆ m_alpha
double FrictionQPotSpringBlock::detail::LongRange1d::m_alpha |
|
protected |
Range of interactions.
Definition at line 816 of file detail.h.
◆ m_k
double FrictionQPotSpringBlock::detail::LongRange1d::m_k |
|
protected |
Stiffness of the interactions.
Definition at line 815 of file detail.h.
◆ m_m
ptrdiff_t FrictionQPotSpringBlock::detail::LongRange1d::m_m |
|
protected |
◆ m_N
size_type FrictionQPotSpringBlock::detail::LongRange1d::m_N |
|
protected |
Number of particles.
Definition at line 814 of file detail.h.
◆ m_n
ptrdiff_t FrictionQPotSpringBlock::detail::LongRange1d::m_n |
|
protected |
◆ m_prefactor
Prefactor for long-range interactions.
Definition at line 819 of file detail.h.
The documentation for this class was generated from the following file: