All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Private Attributes | List of all members
MBSimHydraulics::RigidNodeMec Class Reference

#include <hnode_mec.h>

Inheritance diagram for MBSimHydraulics::RigidNodeMec:
MBSimHydraulics::HNodeMec MBSimHydraulics::HNode MBSim::Link MBSim::Element fmatvec::Atom

Public Member Functions

 RigidNodeMec (const std::string &name="")
 
virtual std::string getType () const
 
bool isSetValued () const
 
bool isActive () const
 
void calclaSize (int j)
 
void calcrFactorSize (int j)
 
void init (InitStage stage)
 
void updatewbRef (const fmatvec::Vec &wbParent)
 
void updateGeneralizedForces ()
 
void updategd ()
 
void updateW (int j=0)
 
void updaterFactors ()
 
void solveImpactsFixpointSingle ()
 
void solveConstraintsFixpointSingle ()
 
void solveImpactsGaussSeidel ()
 
void solveConstraintsGaussSeidel ()
 
void solveImpactsRootFinding ()
 
void solveConstraintsRootFinding ()
 
void jacobianImpacts ()
 
void jacobianConstraints ()
 
void checkImpactsForTermination ()
 
void checkConstraintsForTermination ()
 
- Public Member Functions inherited from MBSimHydraulics::HNodeMec
 HNodeMec (const std::string &name)
 
 BOOST_PARAMETER_MEMBER_FUNCTION ((void), enableOpenMBVArrows, tag,(optional(size,(double), 1)))
 
void setInitialVolume (double V0_)
 
unsigned int addTransMecArea (MBSim::Frame *f, fmatvec::Vec fN, double area, bool considerVolumeChange=true)
 
unsigned int addRotMecArea (MBSim::Frame *f, fmatvec::Vec fN, double area, MBSim::Frame *frameOfReference, bool considerVolumeChange=true)
 
void setTransMecArea (unsigned int i, double area)
 
void calcxSize ()
 
void initializeUsingXML (xercesc::DOMElement *element)
 
virtual void updateWRef (const fmatvec::Mat &Wref, int i=0)
 
virtual void updateVRef (const fmatvec::Mat &Vref, int i=0)
 
virtual void updatehRef (const fmatvec::Vec &href, int i=0)
 
virtual void updatedhdqRef (const fmatvec::Mat &dhdqRef, int i=0)
 
virtual void updatedhduRef (const fmatvec::SqrMat &dhduRef, int i=0)
 
virtual void updatedhdtRef (const fmatvec::Vec &dhdtRef, int i=0)
 
virtual void updaterRef (const fmatvec::Vec &ref, int i=0)
 
double evalQMec ()
 
double evalQMecTrans ()
 
double evalQMecRot ()
 
double getQMec (bool check=true) const
 
double getQMecTrans (bool check=true) const
 
double getQMecRot (bool check=true) const
 
virtual void updateQMec ()
 
void updateh (int j=0)
 
void updater (int j=0)
 
void updategd ()
 
void updatexd ()
 
void updatedx ()
 
void updatedhdz ()
 
void plot ()
 
void resetUpToDate ()
 
- Public Member Functions inherited from MBSimHydraulics::HNode
 HNode (const std::string &name)
 
 BOOST_PARAMETER_MEMBER_FUNCTION ((void), enableOpenMBVSphere, tag,(optional(size,(double), 1)(minimalPressure,(double), 0e5)(maximalPressure,(double), 10e5)(position,(const fmatvec::Vec3 &), fmatvec::Vec3())))
 
virtual void enableOpenMBV (double size, double pMin, double pMax, const fmatvec::Vec3 &WrON)
 
void addInFlow (HLine *in)
 
void addOutFlow (HLine *out)
 
void calcgdSize (int j)
 
void updatedhdqRef (const fmatvec::Mat &dhdqRef, int i=0)
 
void updatedhduRef (const fmatvec::SqrMat &dhduRef, int i=0)
 
void updatedhdtRef (const fmatvec::Vec &dhdtRef, int i=0)
 
double evalQHyd ()
 
double getQHyd (bool check=true) const
 
virtual void updateQHyd ()
 
void updateh (int j=0)
 
void updatedhdz ()
 
void updategd ()
 
bool isActive () const
 
bool gActiveChanged ()
 
void initializeUsingXML (xercesc::DOMElement *element)
 
void resetUpToDate ()
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (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 gdn
 
double gdd
 
MBSim::GeneralizedForceLawgfl
 
MBSim::GeneralizedImpactLawgil
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
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)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 
- Protected Attributes inherited from MBSimHydraulics::HNodeMec
std::vector
< connectedTransFrameStruct
connectedTransFrames
 
std::vector
< connectedRotFrameStruct
connectedRotFrames
 
double QMecTrans
 
double QMecRot
 
double QMec
 
double V0
 
unsigned int nTrans
 
unsigned int nRot
 
bool updQMec
 
std::vector< std::shared_ptr
< OpenMBV::Arrow > > 
openMBVArrows
 
double openMBVArrowSize
 
- Protected Attributes inherited from MBSimHydraulics::HNode
std::vector< connectedLinesStructconnectedLines
 
std::vector< connectedLinesStructconnected0DOFLines
 
std::vector< std::string > refInflowString
 
std::vector< std::string > refOutflowString
 
double QHyd
 
unsigned int nLines
 
bool updQHyd
 
std::shared_ptr< OpenMBV::GroupopenMBVGrp
 
std::shared_ptr< OpenMBV::SphereopenMBVSphere
 
fmatvec::Vec3 WrON
 

Detailed Description

RigidNodeMec


The documentation for this class was generated from the following files:

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML