Skip to content
Snippets Groups Projects
Commit 3b8cfef0 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[benzene] remove functions with throw statement

Overloading inhibits the static assertion in the base class to jump in
parent 9dd5e3bf
No related branches found
No related tags found
1 merge request!836Feature/compile time not impl
......@@ -49,81 +49,6 @@ public:
static std::string name()
{ return "benzene"; }
/*!
* \brief The molar mass in \f$\mathrm{[kg/mol]}\f$ of benzene
*/
static Scalar molarMass()
{
DUNE_THROW(Dune::NotImplemented, "molar mass for benzene");
}
/*!
* \brief Returns the critical temperature \f$\mathrm{[K]}\f$ of benzene.
*/
static Scalar criticalTemperature()
{
DUNE_THROW(Dune::NotImplemented, "criticalTemperature for benzene");
}
/*!
* \brief Returns the critical pressure \f$\mathrm{[Pa]}\f$ of benzene.
*/
static Scalar criticalPressure()
{
DUNE_THROW(Dune::NotImplemented, "criticalPressure for benzene");
}
/*!
* \brief Returns the temperature \f$\mathrm{[K]}\f$ at benzene's triple point.
*/
static Scalar tripleTemperature()
{
DUNE_THROW(Dune::NotImplemented, "tripleTemperature for benzene");
}
/*!
* \brief Returns the pressure \f$\mathrm{[Pa]}\f$ at benzene's triple point.
*/
static Scalar triplePressure()
{
DUNE_THROW(Dune::NotImplemented, "triplePressure for benzene");
}
/*!
* \brief The vapor pressure in \f$\mathrm{[Pa]}\f$ of pure benzene
* at a given temperature.
*
* \param T temperature of component in \f$\mathrm{[K]}\f$
*/
static Scalar vaporPressure(Scalar T)
{
DUNE_THROW(Dune::NotImplemented, "vaporPressure for benzene");
}
/*!
* \brief Specific enthalpy of benzene steam \f$\mathrm{[J/kg]}\f$.
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
*/
static const Scalar gasEnthalpy(Scalar temperature,
Scalar pressure)
{
DUNE_THROW(Dune::NotImplemented, "gasEnthalpy for benzene");
}
/*!
* \brief Specific enthalpy of liquid benzene \f$\mathrm{[J/kg]}\f$.
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
*/
static const Scalar liquidEnthalpy(Scalar temperature,
Scalar pressure)
{
DUNE_THROW(Dune::NotImplemented, "liquidEnthalpy for benzene");
}
/*!
* \brief The density of benzene steam at a given pressure and temperature \f$\mathrm{[kg/m^3]}\f$.
*
......@@ -148,18 +73,6 @@ public:
return 889.51; // [kg/m^3]
}
/*!
* \brief The dynamic viscosity \f$\mathrm{[Pa*s]}\f$ of benzene steam.
*
* \param temperature temperature of component in \f$\mathrm{[K]}\f$
* \param pressure pressure of component in \f$\mathrm{[Pa]}\f$
* \param regularize defines, if the functions is regularized or not, set to true by default
*/
static Scalar gasViscosity(Scalar temperature, Scalar pressure, bool regularize=true)
{
DUNE_THROW(Dune::NotImplemented, "gasViscosity for benzene");
}
/*!
* \brief The dynamic viscosity \f$\mathrm{[Pa*s]}\f$ of pure benzene.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment