Biorbd Release_1.13.0
Loading...
Searching...
No Matches
HillDeGrooteTypeFatigable.h
1#ifndef BIORBD_MUSCLES_HILL_DE_GROOTE_TYPE_FATIGABLE_H
2#define BIORBD_MUSCLES_HILL_DE_GROOTE_TYPE_FATIGABLE_H
3
4#include "biorbdConfig.h"
5
6#include "InternalForces/Muscles/FatigueModel.h"
7#include "InternalForces/Muscles/HillDeGrooteType.h"
8
9namespace BIORBD_NAMESPACE {
10namespace utils {
11class String;
12}
13
14namespace internal_forces {
15namespace muscles {
16class MuscleGeometry;
17
25 public FatigueModel {
26 public:
31
40 const utils::String& name,
41 const MuscleGeometry& geometry,
43 STATE_FATIGUE_TYPE dynamicFatigueType =
44 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
45
55 const utils::String& name,
56 const MuscleGeometry& geometry,
58 const State& emg,
59 STATE_FATIGUE_TYPE dynamicFatigueType =
60 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
61
71 const utils::String& name,
72 const MuscleGeometry& geometry,
74 const internal_forces::PathModifiers& pathModifiers,
75 STATE_FATIGUE_TYPE dynamicFatigueType =
76 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
77
88 const utils::String& name,
89 const MuscleGeometry& geometry,
91 const internal_forces::PathModifiers& pathModifiers,
92 const State& emg,
93 STATE_FATIGUE_TYPE dynamicFatigueType =
94 STATE_FATIGUE_TYPE::SIMPLE_STATE_FATIGUE);
95
100 HillDeGrooteTypeFatigable(const Muscle& other);
101
106 HillDeGrooteTypeFatigable(const std::shared_ptr<Muscle> other);
107
113
119 void DeepCopy(const HillDeGrooteTypeFatigable& other);
120
125 virtual void computeFlCE(const State& emg);
126
127 protected:
131 virtual void setType();
132};
133
134} // namespace muscles
135} // namespace internal_forces
136} // namespace BIORBD_NAMESPACE
137
138#endif // BIORBD_MUSCLES_HILL_DE_GROOTE_TYPE_FATIGABLE_H
const utils::String & name() const
Return the name of the muscle.
Definition Compound.cpp:48
Holder of all the path modifiers of a muscle.
FatigueModel(STATE_FATIGUE_TYPE dynamicFatigueType)
Contruct a fatigable muscle model.
HillDeGrooteTypeFatigable DeepCopy() const
Deep copy of a Hill-DeGroote-type fatigable muscle.
virtual void computeFlCE(const State &emg)
Compute the Force-Length of the contractile element.
HillDeGrooteTypeFatigable()
Contruct a Hill-DeGroote-type fatigable muscle.
Characteristics & characteristics() const
Return the muscle characteristics.
Definition Muscle.cpp:254
EMG holder to interact with the muscle.
Definition State.h:17
Wrapper around the std::string class with augmented functionality.
Definition String.h:18