chrono::ChRotSpringTorqueCallback Class Referenceabstract

Description

Base callback function for implementing a general rotational spring-damper force.

A derived class must implement the virtual operator().

#include <ChLinkRotSpringCB.h>

Inheritance diagram for chrono::ChRotSpringTorqueCallback:

Public Member Functions

virtual double operator() (double time, double angle, double vel)=0
 

Member Function Documentation

virtual double chrono::ChRotSpringTorqueCallback::operator() ( double  time,
double  angle,
double  vel 
)
pure virtual
Parameters
timecurrent time
anglerelative angle of rotation
velrelative angular speed