Biorbd Release_1.13.0
Loading...
Searching...
No Matches
HillDeGrooteActiveOnlyType.cpp
1#define BIORBD_API_EXPORTS
2#include "InternalForces/Muscles/HillDeGrooteActiveOnlyType.h"
3
4#include <math.h>
5
6#include "InternalForces/Geometry.h"
7#include "InternalForces/Muscles/Characteristics.h"
8#include "Utils/String.h"
9
10using namespace BIORBD_NAMESPACE;
27
41
55
71
75
77 HillDeGrooteActiveOnlyType(const std::shared_ptr<Muscle> other)
78 : internal_forces::muscles::HillDeGrooteType(other) {}
79
86
91
95
99
101 *m_type = internal_forces::muscles::MUSCLE_TYPE::HILL_DE_GROOTE_ACTIVE;
102}
const utils::String & name() const
Return the name of the muscle.
Definition Compound.cpp:48
Holder of all the path modifiers of a muscle.
Muscle of Hill type augmented by Thelen (https://simtk-confluence.stanford.edu/display/OpenSim/Thelen...
virtual void computeFlPE()
Compute the Force-Length of the passive element.
HillDeGrooteActiveOnlyType DeepCopy() const
Deep copy of a Hill-DeGroote-type muscle.
HillDeGrooteType DeepCopy() const
Deep copy of a DeGroote-type muscle.
std::shared_ptr< utils::Scalar > m_damping
Muscle damping (spring force).
Definition HillType.h:214
std::shared_ptr< utils::Scalar > m_FlPE
Force-Length of the passive element.
Definition HillType.h:218
Characteristics & characteristics() const
Return the muscle characteristics.
Definition Muscle.cpp:254
std::shared_ptr< MUSCLE_TYPE > m_type
The type of the muscle.
Definition Muscle.h:343
EMG holder to interact with the muscle.
Definition State.h:17
Wrapper around the std::string class with augmented functionality.
Definition String.h:18