20 #ifndef _KINETICEXCITATION_H_
21 #define _KINETICEXCITATION_H_
23 #include <mbsim/links/floating_frame_link.h>
24 #include <mbsim/functions/function.h>
47 void updateGeneralizedPositions() { }
48 void updateGeneralizedVelocities() { }
81 using FloatingFrameLink::connect;
88 void initializeUsingXML(xercesc::DOMElement *element);
90 virtual std::string
getType()
const {
return "KineticExcitation"; }
99 std::string saved_ref;
void setMomentDirection(const fmatvec::Mat3xV &md)
Definition: kinetic_excitation.cc:83
floating frame link
Definition: floating_frame_link.h:43
void setForceDirection(const fmatvec::Mat3xV &fd)
Definition: kinetic_excitation.cc:75
kinetic excitations given by time dependent functions
Definition: kinetic_excitation.h:34
KineticExcitation(const std::string &name="")
constructor
Definition: kinetic_excitation.cc:34
virtual ~KineticExcitation()
destructor
Definition: kinetic_excitation.cc:38
void setMomentFunction(Function< fmatvec::VecV(double)> *func)
see setForce
Definition: kinetic_excitation.cc:97
std::vector< Frame * > frame
array in which all frames are listed, connecting bodies via a link
Definition: floating_frame_link.h:165
void setForceFunction(Function< fmatvec::VecV(double)> *func)
Set the force excitation. forceDir*func(t) is the applied force vector in space. This force vector is...
Definition: kinetic_excitation.cc:91
bool gActiveChanged()
Definition: kinetic_excitation.h:59
InitStage
The stages of the initialization.
Definition: element.h:97
bool isSingleValued() const
asks the link if it contains single valued force laws that contribute to the right-hand side vector h...
Definition: kinetic_excitation.h:58
void connect(MBSim::Frame *frame_)
Definition: kinetic_excitation.h:86
Definition: planar_contour.h:31
std::string name
name of element
Definition: element.h:298
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:37
Function< fmatvec::VecV(double)> * F
portions of the force / moment in the specific directions
Definition: kinetic_excitation.h:96
virtual std::string getType() const
Definition: kinetic_excitation.h:90
bool isActive() const
Definition: kinetic_excitation.h:57
virtual void init(InitStage stage)
plots time series header
Definition: kinetic_excitation.cc:43