chrono::vehicle::fmtv::MTV_SpringForceRear Class Reference
Description
MTV rear spring functor class - implements a nonlinear spring.
#include <MTV_SpringDamper.h>
Inheritance diagram for chrono::vehicle::fmtv::MTV_SpringForceRear:

Collaboration diagram for chrono::vehicle::fmtv::MTV_SpringForceRear:

Public Member Functions | |
MTV_SpringForceRear (double spring_constant, double min_length, double max_length) | |
virtual double | evaluate (double time, double rest_length, double length, double vel, const ChLinkTSDA &link) override |
Calculate and return the general spring-damper force 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()
|
overridevirtual |
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 associated TSDA link
Implements chrono::ChLinkTSDA::ForceFunctor.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_models/vehicle/mtv/MTV_SpringDamper.h
- /builds/uwsbel/chrono/src/chrono_models/vehicle/mtv/MTV_SpringDamper.cpp