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>
Public Member Functions | |
virtual double | evaluate (double time, double rest_angle, double angle, double vel, const ChLinkRSDA &link)=0 |
Calculate and return the general spring-damper torque at the specified configuration. More... | |
virtual rapidjson::Value | exportJSON (rapidjson::Document::AllocatorType &allocator) |
Optional reporting function to generate a JSON value with functor information. | |
Member Function Documentation
◆ evaluate()
|
pure virtual |
Calculate and return the general spring-damper torque at the specified configuration.
- Parameters
-
time current time rest_angle undeformed angle angle relative angle of rotation vel relative angular speed link associated RSDA link
Implemented in chrono::vehicle::NonlinearSpringDamperTorque, chrono::vehicle::LinearSpringDamperTorque, chrono::vehicle::NonlinearDamperTorque, chrono::vehicle::LinearDamperTorque, chrono::vehicle::NonlinearSpringTorque, 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