mbsimhydraulics  4.0.0
MBSim Hydraulics Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimHydraulics::RigidNodeMec Class Reference

#include <hnode_mec.h>

Inheritance diagram for MBSimHydraulics::RigidNodeMec:
[legend]

Public Member Functions

 RigidNodeMec (const std::string &name="")
 
bool isSetValued () const override
 
bool isActive () const override
 
void calclaSize (int j) override
 
void calcrFactorSize (int j) override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void updatewbRef (fmatvec::Vec &wbParent) override
 
void updateGeneralizedForces () override
 
void updategd () override
 
void updateW (int j=0) override
 
void updaterFactors () override
 
void solveImpactsFixpointSingle () override
 
void solveConstraintsFixpointSingle () override
 
void solveImpactsGaussSeidel () override
 
void solveConstraintsGaussSeidel () override
 
void solveImpactsRootFinding () override
 
void solveConstraintsRootFinding () override
 
void jacobianImpacts () override
 
void jacobianConstraints () override
 
void checkImpactsForTermination () override
 
void checkConstraintsForTermination () override
 
- 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, const fmatvec::Vec &fN, double area, bool considerVolumeChange=true)
 
unsigned int addRotMecArea (MBSim::Frame *f, const fmatvec::Vec &fN, double area, MBSim::Frame *frameOfReference, bool considerVolumeChange=true)
 
void setTransMecArea (unsigned int i, double area)
 
void calcxSize () override
 
void calclaSize (int j) override
 
void calccorrSize (int j) override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void updateWRef (fmatvec::Mat &Wref, int i=0) override
 
void updateVRef (fmatvec::Mat &Vref, int i=0) override
 
void updatehRef (fmatvec::Vec &href, int i=0) override
 
virtual void updatedhdqRef (fmatvec::Mat &dhdqRef, int i=0)
 
virtual void updatedhduRef (fmatvec::SqrMat &dhduRef, int i=0)
 
virtual void updatedhdtRef (fmatvec::Vec &dhdtRef, int i=0)
 
void updaterRef (fmatvec::Vec &ref, int i=0) override
 
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) override
 
void updater (int j=0) override
 
void updategd () override
 
void updatexd () override
 
void updatedhdz ()
 
void plot () override
 
void resetUpToDate () override
 
- Public Member Functions inherited from MBSimHydraulics::HNode
 HNode (const std::string &name)
 
void calcSize () override
 
 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) override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void updatedhdqRef (fmatvec::Mat &dhdqRef, int i=0)
 
void updatedhduRef (fmatvec::SqrMat &dhduRef, int i=0)
 
void updatedhdtRef (fmatvec::Vec &dhdtRef, int i=0)
 
double evalQHyd ()
 
double getQHyd (bool check=true) const
 
virtual void updateQHyd ()
 
void updateh (int j=0) override
 
void updatedhdz ()
 
void updategd () override
 
bool isActive () const override
 
bool gActiveChanged () override
 
void plot () override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void resetUpToDate () override
 

Private Attributes

double gdn
 
double gdd
 
MBSim::GeneralizedForceLaw * gfl
 
MBSim::GeneralizedImpactLaw * gil
 

Additional Inherited Members

- 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
HydraulicEnvironment * hydEnv =nullptr
 
std::vector< connectedLinesStruct > connectedLines
 
std::vector< connectedLinesStruct > connected0DOFLines
 
std::vector< std::string > refInflowString
 
std::vector< std::string > refOutflowString
 
double QHyd
 
unsigned int nLines
 
bool updQHyd
 
std::shared_ptr< OpenMBV::Group > openMBVGrp
 
std::shared_ptr< OpenMBV::Sphere > openMBVSphere
 
fmatvec::Vec3 WrON
 

Detailed Description


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