← Documentation
ADS-IDAC Engine 5.0.0
HydraulicJunction Class Reference

#include <HydraulicJunction.h>

Inheritance diagram for HydraulicJunction:
[legend]
Collaboration diagram for HydraulicJunction:
[legend]

Public Member Functions

 HydraulicJunction ()
 
virtual ~HydraulicJunction ()
 
void setMassFlowRate (double rate)
 
void setLiquidVelocity (double velocity)
 
void setVaporVelocity (double velocity)
 
double getMassFlowRate ()
 
double getLiquidVelocity ()
 
double getVaporVelocity ()
 
void setUnits (bool unit)
 
void setUnitOfMassFlowRate (bool unit)
 
void setUnitOfLiquidVelocity (bool unit)
 
void setUnitOfVaporVelocity (bool unit)
 
std::string getUnitOfMassFlowRate ()
 
std::string getUnitOfLiquidVelocity ()
 
std::string getUnitOfVaporVelocity ()
 
void readInfoFromFile (std::ifstream &)
 
void copyHydraulicJunction (HydraulicJunction &)
 
void saveHydraulicJunctionToFile (std::ofstream &)
 
void retrieveHydraulicJunctionFromFile (std::ifstream &)
 
- Public Member Functions inherited from THElement
 THElement ()
 
virtual ~THElement ()
 
std::string getName ()
 
void setName (std::string newName)
 
int getCardNumber ()
 
void setCardNumber (int newCardNumber)
 
void readInfoFromFile (std::ifstream &)
 
Relap5ComponentType getTypeOfCard ()
 
void setTypeOfCard (Relap5ComponentType newTypeOfCard)
 
void copyTHElement (THElement &)
 
void saveTHElementToFile (std::ofstream &)
 
void retrieveTHElementFromFile (std::ifstream &)
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

double mass_flow_rate
 
double liquid_velocity
 
double vapor_velocity
 
std::string unit_of_mass_flow_rate
 
std::string unit_of_liquid_velocity
 
std::string unit_of_vapor_velocity
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 13 of file HydraulicJunction.h.

Constructor & Destructor Documentation

◆ HydraulicJunction()

HydraulicJunction::HydraulicJunction ( )

Definition at line 16 of file HydraulicJunction.cpp.

References HydraulicJunction, liquid_velocity, mass_flow_rate, THElement::setTypeOfCard(), unit_of_liquid_velocity, unit_of_mass_flow_rate, unit_of_vapor_velocity, and vapor_velocity.

Here is the call graph for this function:

◆ ~HydraulicJunction()

HydraulicJunction::~HydraulicJunction ( )
virtual

Definition at line 28 of file HydraulicJunction.cpp.

Member Function Documentation

◆ copyHydraulicJunction()

void HydraulicJunction::copyHydraulicJunction ( HydraulicJunction &  _hj)

Definition at line 111 of file HydraulicJunction.cpp.

References THElement::copyTHElement(), getLiquidVelocity(), getMassFlowRate(), getUnitOfLiquidVelocity(), getUnitOfMassFlowRate(), getUnitOfVaporVelocity(), getVaporVelocity(), liquid_velocity, mass_flow_rate, unit_of_liquid_velocity, unit_of_mass_flow_rate, unit_of_vapor_velocity, and vapor_velocity.

Here is the call graph for this function:

◆ getLiquidVelocity()

double HydraulicJunction::getLiquidVelocity ( )

Definition at line 37 of file HydraulicJunction.cpp.

References liquid_velocity.

Referenced by copyHydraulicJunction(), and SystemDisplay::getCorrespondingSystemParameterValue().

Here is the caller graph for this function:

◆ getMassFlowRate()

double HydraulicJunction::getMassFlowRate ( )

Definition at line 36 of file HydraulicJunction.cpp.

References mass_flow_rate.

Referenced by copyHydraulicJunction(), and SystemDisplay::getCorrespondingSystemParameterValue().

Here is the caller graph for this function:

◆ getUnitOfLiquidVelocity()

string HydraulicJunction::getUnitOfLiquidVelocity ( )

Definition at line 69 of file HydraulicJunction.cpp.

References unit_of_liquid_velocity.

Referenced by copyHydraulicJunction(), and SystemDisplay::setCorrespondingSystemParameterUnit().

Here is the caller graph for this function:

◆ getUnitOfMassFlowRate()

string HydraulicJunction::getUnitOfMassFlowRate ( )

Definition at line 68 of file HydraulicJunction.cpp.

References unit_of_mass_flow_rate.

Referenced by copyHydraulicJunction(), and SystemDisplay::setCorrespondingSystemParameterUnit().

Here is the caller graph for this function:

◆ getUnitOfVaporVelocity()

string HydraulicJunction::getUnitOfVaporVelocity ( )

Definition at line 70 of file HydraulicJunction.cpp.

References unit_of_vapor_velocity.

Referenced by copyHydraulicJunction(), and SystemDisplay::setCorrespondingSystemParameterUnit().

Here is the caller graph for this function:

◆ getVaporVelocity()

double HydraulicJunction::getVaporVelocity ( )

Definition at line 38 of file HydraulicJunction.cpp.

References vapor_velocity.

Referenced by copyHydraulicJunction(), and SystemDisplay::getCorrespondingSystemParameterValue().

Here is the caller graph for this function:

◆ readInfoFromFile()

void HydraulicJunction::readInfoFromFile ( std::ifstream &  )

Definition at line 71 of file HydraulicJunction.cpp.

References THElement::readInfoFromFile().

Here is the call graph for this function:

◆ retrieveHydraulicJunctionFromFile()

void HydraulicJunction::retrieveHydraulicJunctionFromFile ( std::ifstream &  )

Definition at line 102 of file HydraulicJunction.cpp.

References liquid_velocity, mass_flow_rate, THElement::retrieveTHElementFromFile(), unit_of_liquid_velocity, unit_of_mass_flow_rate, unit_of_vapor_velocity, and vapor_velocity.

Here is the call graph for this function:

◆ saveHydraulicJunctionToFile()

void HydraulicJunction::saveHydraulicJunctionToFile ( std::ofstream &  )

Definition at line 74 of file HydraulicJunction.cpp.

References e, liquid_velocity, mass_flow_rate, THElement::saveTHElementToFile(), unit_of_liquid_velocity, unit_of_mass_flow_rate, unit_of_vapor_velocity, and vapor_velocity.

Here is the call graph for this function:

◆ serialize()

template<class Archive >
void HydraulicJunction::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

◆ setLiquidVelocity()

void HydraulicJunction::setLiquidVelocity ( double  velocity)

Definition at line 34 of file HydraulicJunction.cpp.

References liquid_velocity.

◆ setMassFlowRate()

void HydraulicJunction::setMassFlowRate ( double  rate)

Definition at line 33 of file HydraulicJunction.cpp.

References mass_flow_rate.

◆ setUnitOfLiquidVelocity()

void HydraulicJunction::setUnitOfLiquidVelocity ( bool  unit)

Definition at line 52 of file HydraulicJunction.cpp.

References si_unit, and unit_of_liquid_velocity.

Referenced by setUnits().

Here is the caller graph for this function:

◆ setUnitOfMassFlowRate()

void HydraulicJunction::setUnitOfMassFlowRate ( bool  unit)

Definition at line 44 of file HydraulicJunction.cpp.

References si_unit, and unit_of_mass_flow_rate.

Referenced by setUnits().

Here is the caller graph for this function:

◆ setUnitOfVaporVelocity()

void HydraulicJunction::setUnitOfVaporVelocity ( bool  unit)

Definition at line 60 of file HydraulicJunction.cpp.

References si_unit, and unit_of_vapor_velocity.

Referenced by setUnits().

Here is the caller graph for this function:

◆ setUnits()

void HydraulicJunction::setUnits ( bool  unit)

Definition at line 39 of file HydraulicJunction.cpp.

References setUnitOfLiquidVelocity(), setUnitOfMassFlowRate(), and setUnitOfVaporVelocity().

Here is the call graph for this function:

◆ setVaporVelocity()

void HydraulicJunction::setVaporVelocity ( double  velocity)

Definition at line 35 of file HydraulicJunction.cpp.

References vapor_velocity.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 43 of file HydraulicJunction.h.

Member Data Documentation

◆ liquid_velocity

◆ mass_flow_rate

◆ unit_of_liquid_velocity

std::string HydraulicJunction::unit_of_liquid_velocity
private

◆ unit_of_mass_flow_rate

std::string HydraulicJunction::unit_of_mass_flow_rate
private

◆ unit_of_vapor_velocity

std::string HydraulicJunction::unit_of_vapor_velocity
private

◆ vapor_velocity


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