20#ifndef _LINEAR_REGULARIZED_COULOMB_FRICTION_H_
21#define _LINEAR_REGULARIZED_COULOMB_FRICTION_H_
23#include "mbsim/functions/function.h"
49 fmatvec::Vec operator()(
const fmatvec::Vec &gd,
const double& laN)
override;
50 fmatvec::Vec parDer2(
const fmatvec::Vec &gd,
const double& laN)
override;
51 void initializeUsingXML(xercesc::DOMElement *element)
override;
55 void setFrictionCoefficient(
double mu_) {
mu=mu_; }
56 void setMarginalVelocity(
double gdLim_) { gdLim=gdLim_; }
63 double mu{0}, gdLim{0.01};
Definition: function.h:53
function describing a linear regularized relationship between the input relative velocity and the out...
Definition: linear_regularized_coulomb_friction.h:34
double mu
friction coefficient, border with respect to the relative velocity for the linear regularized increas...
Definition: linear_regularized_coulomb_friction.h:63
LinearRegularizedCoulombFriction(double mu_, double gdLim_=0.01)
constructor
Definition: linear_regularized_coulomb_friction.h:46
LinearRegularizedCoulombFriction()
constructor
Definition: linear_regularized_coulomb_friction.h:39
namespace MBSim
Definition: bilateral_constraint.cc:30