20 #ifndef _SPATIAL_STRIBECK_IMPACT_H_
21 #define _SPATIAL_STRIBECK_IMPACT_H_
23 #include <mbsim/constitutive_laws/friction_impact_law.h>
39 if(
fmu)
fmu->setParent(
this);
58 virtual int getFrictionDirections() {
return 2; }
59 virtual void initializeUsingXML(xercesc::DOMElement *element);
60 virtual std::string
getType()
const {
return "SpatialStribeckImpact"; }
63 double getFrictionCoefficient(
double gd) {
return (*
fmu)(gd); }
65 void setFrictionFunction(Function<
double(
double)> *fmu_) {
67 if(
fmu)
fmu->setParent(
this);
void init(Element::InitStage stage)
plots time series header
Definition: spatial_stribeck_impact.h:47
SpatialStribeckImpact(Function< double(double)> *fmu_=NULL)
constructor
Definition: spatial_stribeck_impact.h:38
basic friction force law on velocity level for constraint description
Definition: friction_impact_law.h:32
InitStage
The stages of the initialization.
Definition: element.h:97
Definition: planar_contour.h:31
virtual void init(InitStage stage)
plots time series header
Definition: element.cc:70
Function< double(double)> * fmu
Definition: spatial_stribeck_impact.h:74
spatial Stribeck friction force law on velocity level for constraint description
Definition: spatial_stribeck_impact.h:33
virtual std::string getType() const
Definition: spatial_stribeck_impact.h:60
virtual ~SpatialStribeckImpact()
destructor
Definition: spatial_stribeck_impact.h:45