Commit dc49fcaf authored by Timo Koch's avatar Timo Koch
Browse files

[components] Make isGasIdeal and isGasCompressible constexpr

parent 5d4b1372
......@@ -99,13 +99,13 @@ public:
/*!
* \brief Returns true, the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true, the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -281,13 +281,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return H2O::gasIsIdeal(); }
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return H2O::gasIsCompressible(); }
/*!
......
......@@ -95,7 +95,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
......@@ -122,7 +122,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -131,13 +131,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -384,13 +384,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -258,13 +258,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -146,13 +146,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -235,7 +235,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -413,7 +413,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return RawComponent::gasIsCompressible(); }
/*!
......@@ -425,7 +425,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return RawComponent::gasIsIdeal(); }
......
......@@ -108,7 +108,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
......@@ -149,7 +149,7 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
......@@ -304,13 +304,13 @@ public:
/*!
* \brief Returns true if the gas phase is assumed to be compressible
*/
static bool gasIsCompressible()
static constexpr bool gasIsCompressible()
{ return true; }
/*!
* \brief Returns true if the gas phase is assumed to be ideal
*/
static bool gasIsIdeal()
static constexpr bool gasIsIdeal()
{ return true; }
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment