Massless Spring Damper (PT1) More...
#include <massless_spring_damper.h>
Public Member Functions | |
MasslessSpringDamper (const std::string &name="") | |
virtual std::string | getType () const |
void | initializeUsingXML (xercesc::DOMElement *element) |
void | calcxSize () |
void | init (InitStage stage) |
void | updateSignal () |
void | updatedx () |
void | updatexd () |
void | plot () |
void | setSpringStiffness (double c_) |
void | setBasicSpringForce (double F0_) |
void | setDampingCoefficient (double d_) |
void | setNegativeDampingCoefficient (double d_) |
void | setFrictionForce (double FFric_) |
void | setNegativeFrictionForce (double FFric_) |
void | setMinimumPositionValue (double xMin_) |
void | setMaximumPositionValue (double xMax_) |
void | setInputSignal (Signal *inputSignal_) |
int | getSignalSize () const |
![]() | |
Signal (const std::string &name) | |
void | init (InitStage stage) |
virtual void | updateg () |
virtual void | updategd () |
virtual void | updateWRef (const fmatvec::Mat &ref, int i=0) |
virtual void | updateVRef (const fmatvec::Mat &ref, int i=0) |
virtual void | updatehRef (const fmatvec::Vec &hRef, int i=0) |
virtual void | updatedhdqRef (const fmatvec::Mat &ref, int i=0) |
virtual void | updatedhduRef (const fmatvec::SqrMat &ref, int i=0) |
virtual void | updatedhdtRef (const fmatvec::Vec &ref, int i=0) |
virtual void | updaterRef (const fmatvec::Vec &ref, int i=0) |
virtual bool | isActive () const |
virtual bool | gActiveChanged () |
virtual bool | isSingleValued () const |
std::string | getType () const |
const fmatvec::VecV & | getSignal (bool check=true) |
const fmatvec::VecV & | evalSignal () |
void | resetUpToDate () |
![]() | |
Atom & | operator= (const Atom &) |
void | setMessageStreamActive (MsgType type, bool active) |
void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) |
void | adoptMessageStreams (const Atom *src=NULL) |
std::ostream & | msg (MsgType type) |
bool | msgAct (MsgType type) |
Private Attributes | |
double | c |
double | F0 |
double | dPos |
double | dNeg |
double | FFricPos |
double | FFricNeg |
double | xMin |
double | xMax |
double | xdLocal |
Signal * | inputSignal |
std::string | inputSignalString |
Additional Inherited Members | |
![]() | |
enum | MsgType |
![]() | |
static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
static std::ostream & | msgStatic (MsgType type) |
static bool | msgActStatic (MsgType type) |
![]() | |
Atom (const Atom &src) | |
![]() | |
fmatvec::VecV | s |
bool | upds |
Massless Spring Damper (PT1)