chrono::vehicle::MapSpringBistopForce Class Reference
Description
Utility class for specifying a map translational spring force with bump and rebound stop.
#include <ChSubsysDefs.h>
Inheritance diagram for chrono::vehicle::MapSpringBistopForce:
Collaboration diagram for chrono::vehicle::MapSpringBistopForce:
Public Member Functions | |
MapSpringBistopForce (double spring_min_length, double spring_max_length) | |
MapSpringBistopForce (const std::vector< std::pair< double, double >> &data, double spring_min_length, double spring_max_length) | |
void | add_point (double x, double y) |
virtual double | operator() (double time, double rest_length, double length, double vel, ChLinkTSDA *link) override |
Calculate and return the general spring-damper force at the specified configuration. More... | |
Member Function Documentation
◆ operator()()
|
inlineoverridevirtual |
Calculate and return the general spring-damper force at the specified configuration.
If the link has internal ODE states, the current states can be accessed with link->GetStates().
- Parameters
-
time current time rest_length undeformed length length current length vel current velocity (positive when extending) link back-pointer to associated link
Implements chrono::ChLinkTSDA::ForceFunctor.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_vehicle/ChSubsysDefs.h