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

Short range interactions based on quartic interactions. More...

#include <FrictionQPotSpringBlock/detail.h>

Public Member Functions

 QuarticGradient2d (double k2, double k4, size_type rows, size_type cols)
 
template<class T >
void force (const T &u, T &f)
 Update forces based on current slips.
 

Protected Attributes

size_type m_rows
 Number of rows.
 
size_type m_cols
 Number of columns.
 
double m_k2
 Stiffness of the interactions.
 
double m_k4
 Stiffness of the interactions.
 

Detailed Description

Short range interactions based on quartic interactions.

Definition at line 658 of file detail.h.

Constructor & Destructor Documentation

◆ QuarticGradient2d()

FrictionQPotSpringBlock::detail::QuarticGradient2d::QuarticGradient2d ( double k2,
double k4,
size_type rows,
size_type cols )
inline
Parameters
k2Stiffness of the interactions.
k4Stiffness of the interactions.
rowsNumber of rows.
colsNumber of columns.

Definition at line 674 of file detail.h.

Member Function Documentation

◆ force()

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

Update forces based on current slips.

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

Definition at line 683 of file detail.h.

Member Data Documentation

◆ m_cols

size_type FrictionQPotSpringBlock::detail::QuarticGradient2d::m_cols
protected

Number of columns.

Definition at line 661 of file detail.h.

◆ m_k2

double FrictionQPotSpringBlock::detail::QuarticGradient2d::m_k2
protected

Stiffness of the interactions.

Definition at line 662 of file detail.h.

◆ m_k4

double FrictionQPotSpringBlock::detail::QuarticGradient2d::m_k4
protected

Stiffness of the interactions.

Definition at line 663 of file detail.h.

◆ m_rows

size_type FrictionQPotSpringBlock::detail::QuarticGradient2d::m_rows
protected

Number of rows.

Definition at line 660 of file detail.h.


The documentation for this class was generated from the following file: