20 #ifndef _GENERALIZED_VELOCITY_EXCITATION_H_
21 #define _GENERALIZED_VELOCITY_EXCITATION_H_
23 #include "mbsim/links/generalized_kinematic_excitation.h"
24 #include "mbsim/functions/time_dependent_function.h"
25 #include "mbsim/functions/state_dependent_function.h"
38 void updateGeneralizedPositions();
39 void updateGeneralizedVelocities();
43 std::string
getType()
const {
return "GeneralizedVelocityExcitation"; }
45 void setExcitationFunction(
Function<fmatvec::VecV(fmatvec::VecV,
double)>* f_) {
50 void setExcitationFunction(Function<fmatvec::VecV(fmatvec::VecV)>* f_) {
51 setExcitationFunction(
new StateDependentFunction<fmatvec::VecV>(f_));
53 void setExcitationFunction(Function<fmatvec::VecV(
double)>* f_) {
54 setExcitationFunction(
new TimeDependentFunction<fmatvec::VecV>(f_));
std::string getType() const
Definition: generalized_velocity_excitation.h:43
Definition: generalized_kinematic_excitation.h:30
void init(InitStage stage)
plots time series header
Definition: generalized_velocity_excitation.cc:33
InitStage
The stages of the initialization.
Definition: element.h:97
std::string name
name of element
Definition: element.h:298
Definition: generalized_velocity_excitation.h:29
void setName(const std::string &str)
Definition: element.h:163