Short range elastic interactions with other particles.
More...
#include <FrictionQPotSpringBlock/detail.h>
|
| Laplace1d (double k, size_type N) |
|
double | k () const |
| Return the stiffness.
|
|
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_k |
| Stiffness of the interactions.
|
|
Short range elastic interactions with other particles.
The interactions are the short-range Laplacian \( \Delta u_i \): \( f_\mathrm{inter}^{(i)} = k (u_{i - 1} - 2 u_i + u_{i + 1}) \).
Definition at line 446 of file detail.h.
◆ Laplace1d()
FrictionQPotSpringBlock::detail::Laplace1d::Laplace1d |
( |
double | k, |
|
|
size_type | N ) |
|
inline |
- Parameters
-
k | Stiffness of the interactions. |
N | Number of particles. |
Definition at line 458 of file detail.h.
◆ force()
template<class T >
void FrictionQPotSpringBlock::detail::Laplace1d::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 475 of file detail.h.
◆ k()
double FrictionQPotSpringBlock::detail::Laplace1d::k |
( |
| ) |
const |
|
inline |
Return the stiffness.
- Returns
- double
Definition at line 466 of file detail.h.
◆ m_k
double FrictionQPotSpringBlock::detail::Laplace1d::m_k |
|
protected |
Stiffness of the interactions.
Definition at line 449 of file detail.h.
◆ m_N
size_type FrictionQPotSpringBlock::detail::Laplace1d::m_N |
|
protected |
Number of particles.
Definition at line 448 of file detail.h.
The documentation for this class was generated from the following file: