20#ifndef _LINEAR_REGULARIZED_BILATERAL_CONSTRAINT_H_
21#define _LINEAR_REGULARIZED_BILATERAL_CONSTRAINT_H_
23#include "mbsim/functions/function.h"
48 double operator()(
const double& g,
const double& gd)
override {
51 void initializeUsingXML(xercesc::DOMElement *element)
override;
55 void setParameter(
double c_,
double d_) {
c=c_; d=d_; }
Definition: function.h:53
function describing a linear relationship between the input relative distance / velocity and the outp...
Definition: linear_regularized_bilateral_constraint.h:33
LinearRegularizedBilateralConstraint(double c_, double d_)
constructor
Definition: linear_regularized_bilateral_constraint.h:45
LinearRegularizedBilateralConstraint()
constructor
Definition: linear_regularized_bilateral_constraint.h:38
double c
stiffness, damping
Definition: linear_regularized_bilateral_constraint.h:62
namespace MBSim
Definition: bilateral_constraint.cc:30