mbsimhydraulics 4.0.0 MBSim Hydraulics Module

Public Member Functions | Private Attributes | List of all members
MBSimHydraulics::UnidirectionalRigidLine Class Reference

`#include <rigid_line.h>`

Inheritance diagram for MBSimHydraulics::UnidirectionalRigidLine:
[legend]

## Public Member Functions

| UnidirectionalRigidLine (const std::string &name="")
void | setUnidirectionalPressureLoss (UnidirectionalPressureLoss *upL_)
UnidirectionalPressureLoss * | getUnidirectionalPressureLoss () const
void | setMinimalPressureDrop (double v)
double | getMinimalPressureDrop () const
void | init (InitStage stage, const MBSim::InitConfigSet &config) override
void | initializeUsingXML (xercesc::DOMElement *element) override
Public Member Functions inherited from MBSimHydraulics::RigidLine
| RigidLine (const std::string &name="")
void | setDiameter (double diameter_)
double | getDiameter () const
void | setLinePressureLoss (LinePressureLoss *pL_)
void | init (InitStage stage, const MBSim::InitConfigSet &config) override
void | plot () override
void | initializeUsingXML (xercesc::DOMElement *element) override
Public Member Functions inherited from MBSimHydraulics::RigidHLine
| RigidHLine (const std::string &name)
void | setLength (double length_)
double | getLength () const
void | addInflowDependencyOnOutflow (RigidHLine *line)
void | addInflowDependencyOnInflow (RigidHLine *line)
void | calcqSize () override
void | calcuSize (int j=0) override
fmatvec::Mat | calculateJacobian (std::vector< RigidHLine * > dep_check)
void | updatePressureLossGravity ()
double | evalPressureLossGravity ()
void | updateQ () override
void | updateh (int j=0) override
void | updateM () override
void | initializeUsingXML (xercesc::DOMElement *element) override
void | init (InitStage stage, const MBSim::InitConfigSet &config) override
void | resetUpToDate () override
Public Member Functions inherited from MBSimHydraulics::HLine
| HLine (const std::string &name)
void | calcSize () override
void | updateh (int j=0) override
void | updateJacobians (int j=0)
void | updateInverseKineticsJacobians ()
std::shared_ptr< OpenMBV::Group > | getOpenMBVGrp () override
virtual void | setFrameOfReference (MBSim::Frame *frame)
void | setFromNode (HNode *nFrom_)
void | setToNode (HNode *nTo_)
void | setDirection (const fmatvec::Vec &dir)
HNode * | getFromNode ()
HNode * | getToNode ()
void | setOutflowRelative (bool rel=true)
void | setInflowRelative (bool rel=true)
virtual fmatvec::VecV | getInflowFactor ()
virtual fmatvec::VecV | getOutflowFactor ()
const fmatvec::VecV & | evalQIn ()
const fmatvec::VecV & | evalQOut ()
const fmatvec::VecV & | getQIn (bool check=true) const
const fmatvec::VecV & | getQOut (bool check=true) const
const fmatvec::MatV & | getJacobian () const
void | updateM () override
void | init (InitStage stage, const MBSim::InitConfigSet &config) override
void | initializeUsingXML (xercesc::DOMElement *element) override
virtual Element * | getDependency () const
void | resetUpToDate () override
HydraulicEnvironment * | getHydEnv () const
Public Member Functions inherited from MBSim::Object
| Object (const std::string &name)
virtual void | updateqRef (fmatvec::Vec &qRef)
virtual void | updateqdRef (fmatvec::Vec &qdRef)
virtual void | updatedqRef (fmatvec::Vec &dqRef)
virtual void | updateuRef (fmatvec::Vec &uRef)
virtual void | updateuallRef (fmatvec::Vec &uallRef)
virtual void | updateudRef (fmatvec::Vec &udRef)
virtual void | updateduRef (fmatvec::Vec &duRef)
virtual void | updateudallRef (fmatvec::Vec &udallRef)
virtual void | updatehRef (fmatvec::Vec &hRef, int i=0)
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)
virtual void | updaterRef (fmatvec::Vec &ref, int i=0)
virtual void | updaterdtRef (fmatvec::Vec &ref)
virtual void | updateTRef (fmatvec::Mat &ref)
virtual void | updateMRef (fmatvec::SymMat &ref)
virtual void | updateLLMRef (fmatvec::SymMat &ref)
void | init (InitStage stage, const InitConfigSet &config) override
virtual void | initz ()
virtual void | writez (H5::GroupBase *group)
virtual void | readz0 (H5::GroupBase *group)
virtual void | updateLLM ()
virtual void | setUpInverseKinetics ()
void | createPlotGroup () 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)
void | setPlotAttribute (const std::string &name, const T &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

UnidirectionalPressureLoss * | upL {nullptr}
double | dpMin {0}

## 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::RigidHLine
double | pressureLossGravity
double | length
std::vector< RigidHLine * > | dependencyOnOutflow
std::vector< RigidHLine * > | dependencyOnInflow
std::vector< std::string > | refDependencyOnOutflowString
std::vector< std::string > | refDependencyOnInflowString
bool | updPLG
Protected Attributes inherited from MBSimHydraulics::HLine
HydraulicEnvironment * | hydEnv =nullptr
HNode * | nFrom
HNode * | nTo
bool | nFromRelative
bool | nToRelative
fmatvec::VecV | direction
fmatvec::SymMatV | Mlocal
fmatvec::VecV | QIn
fmatvec::VecV | QOut
fmatvec::MatV | Jacobian
MBSim::Frame * | frameOfReference
bool | updQ
Protected Attributes inherited from MBSim::Object
int | qSize
int | uSize [2]
int | hSize [2]
int | qInd
fmatvec::Vec | q
fmatvec::Vec | q0
fmatvec::Vec | qd
fmatvec::Vec | h [2]
fmatvec::Mat | dhdq
fmatvec::Mat | T
fmatvec::SymMat | M
fmatvec::SymMat | LLM
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

UnidirectionalRigidLine

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

- /mbsim-env/mbsim/modules/mbsimHydraulics/mbsimHydraulics/rigid_line.h
- /mbsim-env/mbsim/modules/mbsimHydraulics/mbsimHydraulics/rigid_line.cc