Files
CoolProp/include/HumidAirProp.h
Julien Marrec 6913fc41dc Format macros, they keep getting picked incrementally by clang format + Strip trailing whitespaces
```
find . -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx|py)$' | xargs -I@ sed -i 's/[ \t]*$//' "@"
```
2022-04-01 07:39:35 -04:00

48 lines
1.4 KiB
C++

#ifndef HUMAIR_H
#define HUMAIR_H
#include "CoolPropTools.h"
namespace HumidAir {
/* \brief Standard I/O function using base SI units exclusively
*
*/
double HAPropsSI(const std::string& OutputName, const std::string& Input1Name, double Input1, const std::string& Input2Name, double Input2,
const std::string& Input3Name, double Input3);
/* \brief Standard I/O function using mixed kSI units
*
* \warning DEPRECATED!! Use \ref HAPropsSI
*/
double HAProps(const std::string& OutputName, const std::string& Input1Name, double Input1, const std::string& Input2Name, double Input2,
const std::string& Input3Name, double Input3);
// -----------------------
// Extra I/O function
// -----------------------
double HAProps_Aux(const char* OutputName, double T, double p, double W, char* units);
// Properties for Ice Ih at temperatures below 273.16 K
double IceProps(const char* Name, double T, double p);
//Turn on the use of virial correlations for air and water
void UseVirialCorrelations(int flag);
void UseIsothermCompressCorrelation(int flag);
void UseIdealGasEnthalpyCorrelations(int flag);
// --------------
// Help functions
// --------------
void HAHelp(void);
int returnHumAirCode(const char* Code);
// ----------------------
// Other simple functions
// ----------------------
double cair_sat(double T);
} /* namespace HumidAir */
#endif