mbsimhydraulics 4.0.0 MBSim Hydraulics Module

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

`#include <checkvalve.h>`

Inheritance diagram for MBSimHydraulics::Checkvalve:
[legend]

## Public Member Functions

| Checkvalve (const std::string &name="")
void | setFrameOfReference (MBSim::Frame *ref)
void | setLineLength (double lLine)
void | setLineDiameter (double lDiameter)
void | setLinePressureLoss (CheckvalveClosablePressureLoss *ccpl)
void | setLineMinimalXOpen (double xMin)
void | setLineSetValued (bool setValued=true)
void | setBallMass (double mBall_)
void | setBallInitialPosition (double x0Ball_)
void | setSpringForceFunction (MBSim::Function< double(double, double)> *func)
void | setSpringUnloadedLength (double l0)
void | setSeatContactImpactLaw (MBSim::GeneralizedImpactLaw *seatGIL_)
void | setSeatContactForceLaw (MBSim::GeneralizedForceLaw *seatGFL_)
void | setMaximalOpening (double hMax_)
void | setMaximalContactImpactLaw (MBSim::GeneralizedImpactLaw *seatGIL_)
void | setMaximalContactForceLaw (MBSim::GeneralizedForceLaw *seatGFL_)
void | enableOpenMBVFrames ()
void | enableOpenMBVArrows ()
void | enableOpenMBVBodies ()
ClosableRigidLine * | getLine ()
MBSim::RigidBody * | getBallSeat ()
MBSim::RigidBody * | getBall ()
MBSim::Contact * | getSeatContact ()
MBSim::Contact * | getMaximalContact ()
MBSim::DirectionalSpringDamper * | getSpring ()
MBSimControl::ObjectSensor * | getXOpen ()
void | init (InitStage stage, const MBSim::InitConfigSet &config) override
void | initializeUsingXML (xercesc::DOMElement *element) override
Public Member Functions inherited from MBSim::Group
| Group (const std::string &name="")
void | addObject (Object *obj)
Public Member Functions inherited from MBSim::DynamicSystem
| DynamicSystem (const std::string &name)
void | init (InitStage stage, const InitConfigSet &config) override
void | setDynamicSystemSolver (DynamicSystemSolver *sys) override
void | plot () override
void | plotAtSpecialEvent () override
virtual int | solveConstraintsFixpointSingle ()
virtual int | solveImpactsFixpointSingle ()
virtual int | solveConstraintsGaussSeidel ()
virtual int | solveImpactsGaussSeidel ()
virtual int | solveConstraintsRootFinding ()
virtual int | solveImpactsRootFinding ()
virtual int | jacobianConstraints ()
virtual int | jacobianImpacts ()
virtual void | checkConstraintsForTermination ()
virtual void | checkImpactsForTermination ()
virtual void | updaterFactors ()
virtual Frame * | getFrame (const std::string &name, bool check=true) const
virtual Contour * | getContour (const std::string &name, bool check=true) const
void | updateqRef (fmatvec::Vec &qParent)
void | updateqdRef (fmatvec::Vec &qdParent)
void | updateuRef (fmatvec::Vec &uParent)
void | updateuallRef (fmatvec::Vec &uParent)
void | updateudRef (fmatvec::Vec &udParent)
void | updateudallRef (fmatvec::Vec &udParent)
void | updatehRef (fmatvec::Vec &hParent, int j=0)
void | updaterRef (fmatvec::Vec &rParent, int j=0)
void | updaterdtRef (fmatvec::Vec &rdtParent)
void | updateTRef (fmatvec::Mat &TParent)
void | updateMRef (fmatvec::SymMat &MParent)
void | updateLLMRef (fmatvec::SymMat &LLMParent)
virtual void | updateInternalStateRef (fmatvec::Vec &curisParent, fmatvec::Vec &nextisParent)
virtual void | updategRef (fmatvec::Vec &gParent)
virtual void | updategdRef (fmatvec::Vec &gdParent)
void | updatelaRef (fmatvec::Vec &laParent)
void | updateLaRef (fmatvec::Vec &LaParent)
virtual void | updatewbRef (fmatvec::Vec &wbParent)
virtual void | updateWRef (fmatvec::Mat &WParent, int j=0)
void | updateWInverseKineticsRef (fmatvec::Mat &WParent)
virtual void | updateVRef (fmatvec::Mat &VParent, int j=0)
void | updatesvRef (fmatvec::Vec &svParent)
void | updatejsvRef (fmatvec::VecInt &jsvParent)
void | updateLinkStatusRef (fmatvec::VecInt &LinkStatusParent)
void | updateLinkStatusRegRef (fmatvec::VecInt &LinkStatusRegParent)
void | updateresRef (fmatvec::Vec &resParent)
void | updaterFactorRef (fmatvec::Vec &rFactorParent)
void | buildListOfDynamicSystems (std::vector< DynamicSystem * > &sys)
void | buildListOfObjects (std::vector< Object * > &obj)
void | buildListOfLinks (std::vector< Link * > &lnk)
void | buildListOfConstraints (std::vector< Constraint * > &crt)
void | buildListOfFrames (std::vector< Frame * > &frm)
void | buildListOfContours (std::vector< Contour * > &cnt)
void | buildListOfModels (std::vector< ModellingInterface * > &modelList)
void | buildListOfInverseKineticsLinks (std::vector< Link * > &iklnk)
void | buildListOfObservers (std::vector< Observer * > &obsrv)
void | setUpInverseKinetics ()
void | setUpLinks ()
bool | gActiveChanged ()
bool | gActiveChangedReg ()
bool | detectImpact ()
void | calcsvSize ()
void | calclaSize (int j)
void | calcLinkStatusSize ()
void | calcLinkStatusRegSize ()
void | calclaInverseKineticsSize ()
void | calcbInverseKineticsSize ()
virtual void | aboutToUpdateInternalState ()
void | calcgSize (int j)
void | calcgdSize (int j)
void | calcrFactorSize (int j)
void | setUpObjectsWithNonConstantMassMatrix ()
void | setUpActiveLinks ()
void | checkActive (int j)
virtual void | setGeneralizedRelativePositionTolerance (double tol)
virtual void | setGeneralizedRelativeVelocityTolerance (double tol)
virtual void | setGeneralizedRelativeAccelerationTolerance (double tol)
virtual void | setGeneralizedForceTolerance (double tol)
virtual void | setGeneralizedImpulseTolerance (double tol)
virtual void | setGeneralizedRelativePositionCorrectionValue (double corr)
virtual void | setGeneralizedRelativeVelocityCorrectionValue (double corr)
void | setrMax (double rMax)
int | frameIndex (const Frame *frame_) const
void | addGroup (DynamicSystem *sys)
DynamicSystem * | getGroup (const std::string &name, bool check=true) const
void | addObject (Object *obj)
Object * | getObject (const std::string &name, bool check=true) const
void | addLink (Link *lnk)
void | addConstraint (Constraint *crt)
void | addInverseKineticsLink (Link *lnk)
Link * | getLink (const std::string &name, bool check=true) const
Constraint * | getConstraint (const std::string &name, bool check=true) const
void | addModel (ModellingInterface *model_)
ModellingInterface * | getModel (const std::string &name, bool check=true) const
Frame * | getFrameI ()
Element * | getChildByContainerAndName (const std::string &container, const std::string &name) const override
Public Member Functions inherited from MBSim::Element
| Element (const std::string &name)
const std::string & | getName () const
void | setName (const std::string &str)
DynamicSystemSolver * | getDynamicSystemSolver ()
virtual void | createPlotGroup ()
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
std::vector< Element * > | getDependencies () const
int | computeLevel ()

## Private Attributes

ClosableRigidLine * | line
MBSim::RigidBody * | ballSeat
MBSim::RigidBody * | ball
MBSim::Contact * | seatContact
MBSim::Contact * | maxContact
MBSim::DirectionalSpringDamper * | spring
MBSimControl::ObjectSensor * | xOpen
unsigned int | fromNodeAreaIndex {0}
unsigned int | toNodeAreaIndex {0}
double | hMax {0}
double | mBall {0}
std::string | refFrameString
bool | openMBVBodies {false}
bool | openMBVArrows {false}
bool | openMBVFrames {false}

## 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 MBSim::DynamicSystem
Frame * | R
std::vector< Object * > | object
fmatvec::Mat | T
fmatvec::SymMat | M
fmatvec::SymMat | LLM
fmatvec::Vec | q
fmatvec::Vec | u
fmatvec::Vec | x
fmatvec::Vec | h [2]
fmatvec::Mat | Jrla [2]
fmatvec::Vec | la
fmatvec::Vec | g
fmatvec::Vec | wb
fmatvec::Vec | res
fmatvec::Vec | rFactor
fmatvec::Vec | sv
fmatvec::VecInt | jsv
fmatvec::VecInt | LinkStatus
fmatvec::VecInt | LinkStatusReg
int | qSize
int | uSize [2]
int | xSize
int | hSize [2]
int | gSize
int | gdSize
int | laSize
int | rFactorSize
int | svSize
int | LinkStatusSize
int | LinkStatusRegSize
std::vector< Frame * > | frame
Frame * | I
int | laInverseKineticsSize
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

Checkvalve

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

- /mbsim-env/mbsim/modules/mbsimHydraulics/mbsimHydraulics/checkvalve.h