mbsimhydraulics  4.0.0
MBSim Hydraulics Module
MBSimHydraulics::RigidNode Class Reference

#include <hnode.h>

Inheritance diagram for MBSimHydraulics::RigidNode:
[legend]

Public Member Functions

 RigidNode (const std::string &name="")
 
bool isSetValued () const override
 
bool isActive () const override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void calclaSize (int j) override
 
void calcrFactorSize (int j) override
 
void calccorrSize (int j) 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
 
const double & evalgdn ()
 
const double & evalgdd ()
 
- 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 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
 
void updaterRef (fmatvec::Vec &rRef, int i=0) 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 gActiveChanged () override
 
void plot () override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void resetUpToDate () override
 
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
 
virtual void plotAtSpecialEvent ()
 
const std::string & getName () const
 
void setName (const std::string &str)
 
DynamicSystemSolver * getDynamicSystemSolver ()
 
H5::GroupBase * getPlotGroup ()
 
bool getPlotFeature (const PlotFeatureEnum &pf)
 
virtual void setPlotFeature (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
 
T * getByPath (const std::string &path, bool initialCaller=true) const
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 
virtual Element * getChildByContainerAndName (const std::string &container, const std::string &name) const
 
std::vector< Element * > getDependencies () const
 
int computeLevel ()
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage
 
- Public Attributes inherited from MBSim::Element
 resolveStringRef
 
 preInit
 
 plotting
 
 unknownStage
 
- 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
 
- Protected Attributes inherited from MBSim::Element
std::string name
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
DynamicSystemSolver * ds
 
H5::VectorSerie< double > * plotVectorSerie
 
std::vector< double > plotVector
 
std::vector< std::string > plotColumns
 
H5::GroupBase * plotGroup
 
std::vector< Element * > dependency
 
PlotFeatureMap plotFeature
 

Detailed Description


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