19 #ifndef _GENERALIZED_ELASTIC_CONNECTION_H_
20 #define _GENERALIZED_ELASTIC_CONNECTION_H_
22 #include "mbsim/links/dual_rigid_body_link.h"
23 #include "mbsim/functions/function.h"
25 #include "mbsim/utils/boost_parameters.h"
26 #include "mbsim/utils/openmbv_utils.h"
37 void updateGeneralizedForces();
42 std::string
getType()
const {
return "GeneralizedElasticConnection"; }
45 void setGeneralizedForceFunction(
Function<fmatvec::VecV(fmatvec::VecV,fmatvec::VecV)> *func_) {
47 func->setParent(
this);
48 func->
setName(
"GeneralizedForce");
51 void initializeUsingXML(xercesc::DOMElement *element);
54 std::string saved_body1, saved_body2;
bool isActive() const
Definition: generalized_elastic_connection.h:39
Definition: dual_rigid_body_link.h:30
void init(InitStage stage)
plots time series header
Definition: generalized_elastic_connection.cc:41
InitStage
The stages of the initialization.
Definition: element.h:97
virtual bool isSingleValued() const
asks the link if it contains single valued force laws that contribute to the right-hand side vector h...
Definition: generalized_elastic_connection.h:41
Definition: generalized_elastic_connection.h:30
bool gActiveChanged()
Definition: generalized_elastic_connection.h:40
std::string name
name of element
Definition: element.h:298
void setName(const std::string &str)
Definition: element.h:163
std::string getType() const
Definition: generalized_elastic_connection.h:42