mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
#ifndef PQCONSTANTS_H
|
|
#define PQCONSTANTS_H
|
|
|
|
#include "blackmisc/pqallquantities.h"
|
|
|
|
namespace BlackMisc{
|
|
|
|
class CPhysicalQuantitiesConstants
|
|
{
|
|
|
|
public:
|
|
/*!
|
|
* \brief Temperature absolute Zero in °C
|
|
* \return
|
|
*/
|
|
static const CTemperature& TemperatureAbsoluteZero() { static CTemperature t(-273.15, CTemperatureUnit::C()); return t;}
|
|
/*!
|
|
* \brief Tripe point of purified water, 0.01°C
|
|
* \return
|
|
*/
|
|
static const CTemperature& TemperatureTriplePointOfVSMOW() { static CTemperature t(-273.16, CTemperatureUnit::K()); return t;}
|
|
/*!
|
|
* \brief Temperature absolute Zero in °C
|
|
* \return
|
|
*/
|
|
static const CTemperature& TemperatureAbsoluteZeroC() { static CTemperature t(-273.15, CTemperatureUnit::C()); return t;}
|
|
/*!
|
|
* \brief Standard pressure 1013,25mbar / 29.92inHg
|
|
* \return
|
|
*/
|
|
static const CPressure& InternationalStandardSeaLevelPressure() { static CPressure p(1013.25, CPressureUnit::hPa()); return p;}
|
|
};
|
|
} // namespace
|
|
#endif // PQCONSTANTS_H
|