chrono::ChLinkForce Class Reference

Description

Class for forces in link joints of type ChLinkLock.

#include <ChLinkForce.h>

Public Member Functions

 ChLinkForce (const ChLinkForce &other)
 
ChLinkForceClone () const
 "Virtual" copy constructor (covariant return type).
 
bool IsActive () const
 
void SetActive (bool val)
 
double GetF () const
 
void SetF (double F)
 
double GetK () const
 
void SetK (double K)
 
double GetR () const
 
void SetR (double R)
 
std::shared_ptr< ChFunctionGetModulationF () const
 
std::shared_ptr< ChFunctionGetModulationK () const
 
std::shared_ptr< ChFunctionGetModulationR () const
 
void SetModulationF (std::shared_ptr< ChFunction > funct)
 
void SetModulationK (std::shared_ptr< ChFunction > funct)
 
void SetModulationR (std::shared_ptr< ChFunction > funct)
 
double GetFcurrent (double x, double x_dt, double t) const
 
double GetKcurrent (double x, double x_dt, double t) const
 
double GetRcurrent (double x, double x_dt, double t) const
 
double GetForce (double x, double x_dt, double t) const
 
void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
 
void ArchiveIN (ChArchiveIn &marchive)
 Method to allow de-serialization of transient data from archives.