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

#include <leakage_line.h>

Inheritance diagram for MBSimHydraulics::LeakageLine:
[legend]

Public Member Functions

 LeakageLine (const std::string &name)
 
void setGapLengthFunction (MBSim::Function< double(double)> *s)
 
double evalGapLength () const
 
void setSurface1VelocityFunction (MBSim::Function< double(double)> *s)
 
double evalSurface1Velocity () const
 
void setSurface2VelocityFunction (MBSim::Function< double(double)> *s)
 
double evalSurface2Velocity () const
 
void init (InitStage stage, const MBSim::InitConfigSet &config) 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 plot () 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
 

Protected Attributes

LeakagePressureLoss * lpl
 
- 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
 

Private Attributes

MBSim::Function< double(double)> * s1vFunction
 
MBSim::Function< double(double)> * s2vFunction
 
MBSim::Function< double(double)> * glFunction
 

Detailed Description


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