FrictionQPotSpringBlock v0.22.7
Loading...
Searching...
No Matches
FrictionQPotSpringBlock::detail::Quartic1d Class Reference

Short range interaction based on a quartic potential. More...

#include <FrictionQPotSpringBlock/detail.h>

Public Member Functions

 Quartic1d (double a1, double a2, size_type N)
 
template<class T >
void force (const T &u, T &f)
 Update forces based on current slips.
 

Protected Attributes

size_type m_N
 Number of particles.
 
double m_a1
 Stiffness of the interactions.
 
double m_a2
 Stiffness of the interactions.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Quartic1d()

FrictionQPotSpringBlock::detail::Quartic1d::Quartic1d ( double a1,
double a2,
size_type N )
inline
Parameters
a1Stiffness of the interactions.
a2Stiffness of the interactions.
NNumber of particles.

Definition at line 771 of file detail.h.

Member Function Documentation

◆ force()

template<class T >
void FrictionQPotSpringBlock::detail::Quartic1d::force ( const T & u,
T & f )
inline

Update forces based on current slips.

Parameters
uSlip per particle.
fForce per particle (output).

Definition at line 779 of file detail.h.

Member Data Documentation

◆ 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: