chrono::ChLinkSpringCB::ForceFunctor Class Referenceabstract
Description
Class to be used as a callback interface for calculating the general spring-damper force.
#include <ChLinkSpringCB.h>
Public Member Functions | |
virtual double | operator() (double time, double rest_length, double length, double vel, ChLinkSpringCB *link)=0 |
Calculate and return the general spring-damper force at the specified configuration. More... | |
Member Function Documentation
◆ operator()()
|
pure virtual |
Calculate and return the general spring-damper force at the specified configuration.
- Parameters
-
time current time rest_length undeformed length length current length vel current velocity (positive when extending) link back-pointer to associated link
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLinkSpringCB.h