chrono::ChLinkRotSpringCB::TorqueFunctor Class Referenceabstract
Description
Class to be used as a functor interface for calculating the general spring-damper torque.
A derived class must implement the virtual operator().
#include <ChLinkRotSpringCB.h>
Inheritance diagram for chrono::ChLinkRotSpringCB::TorqueFunctor:
Public Member Functions | |
virtual double | operator() (double time, double angle, double vel, ChLinkRotSpringCB *link)=0 |
Calculate and return the general spring-damper torque at the specified configuration. More... | |
Member Function Documentation
◆ operator()()
|
pure virtual |
Calculate and return the general spring-damper torque at the specified configuration.
- Parameters
-
time current time angle relative angle of rotation vel relative angular speed link back-pointer to associated link
Implemented in chrono::vehicle::MapDamperTorque, chrono::vehicle::MapSpringTorque, chrono::vehicle::LinearSpringDamperActuatorTorque, chrono::vehicle::LinearSpringDamperTorque, chrono::vehicle::LinearDamperTorque, and chrono::vehicle::LinearSpringTorque.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLinkRotSpringCB.h