#include <pressure_loss.h>
Public Member Functions | |
| void | setAlpha (double alpha_) |
| double | operator() (const double &Q) override |
| void | initializeUsingXML (xercesc::DOMElement *element) override |
Public Member Functions inherited from MBSimHydraulics::CheckvalveClosablePressureLoss | |
| void | setBallRadius (double rBall_) |
| double | getBallRadius () const |
| virtual double | calcBallForceArea () |
| void | initializeUsingXML (xercesc::DOMElement *element) override |
Public Member Functions inherited from MBSimHydraulics::PressureLoss | |
| virtual void | setLine (const HLine *line_) |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Private Attributes | |
| double | alpha {0} |
| double | numer [2] |
| double | denom [2] |
| double | c {0} |
Additional Inherited Members | |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Static Public Member Functions inherited from fmatvec::Atom | |
| static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
| static std::ostream & | msgStatic (MsgType type) |
| static bool | msgActStatic (MsgType type) |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Protected Attributes inherited from MBSimHydraulics::CheckvalveClosablePressureLoss | |
| double | rBall {0} |
Protected Attributes inherited from MBSimHydraulics::PressureLoss | |
| const HLine * | line {nullptr} |
| bool | initialized {false} |
VariablePressureLossCheckvalveCone