FrictionPotential¶
- class FrictionPotential : public ipc::TangentialPotential;¶
The friction dissipative potential.
Public Functions¶
- inline double eps_v() const;¶
Get the smooth friction mollifier parameter \(\epsilon_v\).
Protected Functions¶
-
virtual double mu_f0(const double x, const double mu_s,
const double mu_k) const override;¶ Compute the value of the ∫ μ(y) f₁(y) dy, where f₁ is the first derivative of the smooth mollifier.
-
virtual double mu_f1_over_x(const double x, const double mu_s,
const double mu_k) const override;¶ Compute the value of the [μ(y) f₁(y)] / x, where f₁ is the first derivative of the smooth mollifier.
Private Types¶
- using Super = TangentialPotential;¶