VICUS Library
Documentation of Vicus library
|
#include <VICUS_NetworkFluid.h>
Public Types | |
enum | para_t { P_Density , P_HeatCapacity , P_Conductivity , NUM_P } |
Public Types inherited from VICUS::AbstractDBElement | |
enum | ComparisonResult { Equal , OnlyMetaDataDiffers , Different } |
Public Member Functions | |
void | defaultFluidWater (unsigned int id) |
bool | isValid () const |
VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID ComparisonResult | equal (const AbstractDBElement *other) const override |
Public Member Functions inherited from VICUS::AbstractDBElement | |
AbstractDBElement ()=default | |
AbstractDBElement (unsigned int id, const IBK::MultiLanguageString &name) | |
virtual | ~AbstractDBElement () |
virtual void | readXML (const TiXmlElement *element)=0 |
virtual TiXmlElement * | writeXML (TiXmlElement *parent) const =0 |
void | collectChildren (std::set< const AbstractDBElement * > &allChildrenRefs) const |
void | collectLocalChildren (std::set< AbstractDBElement * > &localChildrenRefs) const |
const QString | sourceName () const |
Public Attributes | |
IBK::Parameter | m_para [NUM_P] |
NANDRAD::LinearSplineParameter | m_kinematicViscosity |
Public Attributes inherited from VICUS::AbstractDBElement | |
unsigned int | m_id = INVALID_ID |
IBK::MultiLanguageString | m_displayName |
QColor | m_color |
bool | m_builtIn = false |
bool | m_local = true |
std::set< AbstractDBElement * > | m_childrenRefs |
bool | m_isReferenced = false |
std::string | m_errorMsg |
Contains model parameters for fluid model.
void VICUS::NetworkFluid::defaultFluidWater | ( | unsigned int | id | ) |
|
overridevirtual |
Comparison operator
Implements VICUS::AbstractDBElement.
bool VICUS::NetworkFluid::isValid | ( | ) | const |
NANDRAD::LinearSplineParameter VICUS::NetworkFluid::m_kinematicViscosity |
Kinematic viscosity [m2/s].
IBK::Parameter VICUS::NetworkFluid::m_para[NUM_P] |
List of parameters.