CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
PressureUnit Class Reference

#include <Units.h>

Inheritance diagram for PressureUnit:
StandardUnit

Public Member Functions

 PressureUnit ()
 
 PressureUnit (double val, int unit)
 
void set_in_unit_system (double val, int unit_system)
 
double get_in_unit_system (int unit_system)
 
double get_SI (void)
 Return the SI system value (in Pa) More...
 
void set_SI (double SI_val)
 
- Public Member Functions inherited from StandardUnit
virtual ~StandardUnit ()
 

Public Attributes

double kPa
 
double Pa
 
double bar
 

Additional Inherited Members

- Protected Attributes inherited from StandardUnit
double SI_val
 

Detailed Description

Definition at line 19 of file Units.h.

Constructor & Destructor Documentation

PressureUnit::PressureUnit ( )
inline

Definition at line 24 of file Units.h.

PressureUnit::PressureUnit ( double  val,
int  unit 
)
inline

Definition at line 25 of file Units.h.

Member Function Documentation

double PressureUnit::get_in_unit_system ( int  unit_system)
inline

Definition at line 61 of file Units.h.

double PressureUnit::get_SI ( void  )
inline

Return the SI system value (in Pa)

Definition at line 78 of file Units.h.

void PressureUnit::set_in_unit_system ( double  val,
int  unit_system 
)
inline

Definition at line 45 of file Units.h.

void PressureUnit::set_SI ( double  SI_val)
inlinevirtual

Set the internal value in the class based on the SI unit system value

Implements StandardUnit.

Definition at line 82 of file Units.h.

Member Data Documentation

double PressureUnit::bar

Definition at line 22 of file Units.h.

double PressureUnit::kPa

Definition at line 22 of file Units.h.

double PressureUnit::Pa

Definition at line 22 of file Units.h.


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