chrono::ChLinkRSDA::TorqueFunctor Class Referenceabstract

Description

Class to be used as a callback interface for calculating the general spring-damper torque.

A derived class must implement the virtual operator().

#include <ChLinkRSDA.h>

Inheritance diagram for chrono::ChLinkRSDA::TorqueFunctor:

Public Member Functions

virtual double evaluate (double time, double angle, double vel, const ChLinkRSDA &link)=0
 Calculate and return the general spring-damper torque at the specified configuration. More...
 

Member Function Documentation

◆ evaluate()

virtual double chrono::ChLinkRSDA::TorqueFunctor::evaluate ( double  time,
double  angle,
double  vel,
const ChLinkRSDA link 
)
pure virtual

Calculate and return the general spring-damper torque at the specified configuration.

Parameters
timecurrent time
anglerelative angle of rotation
velrelative angular speed
linkassociated RSDA link

Implemented in chrono::vehicle::MapDamperTorque, chrono::vehicle::MapSpringTorque, chrono::vehicle::LinearSpringDamperTorque, chrono::vehicle::LinearDamperTorque, chrono::vehicle::LinearSpringTorque, and chrono::vehicle::ChTrackAssemblySegmented::TrackBendingFunctor.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/physics/ChLinkRSDA.h