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

Merge branch 'feature/efftoabs-interface-changes' into 'master'

[efftoabs][2p] Remove underscore from public member function names

See merge request !1922
parents 7d3239ae e21ea024
No related branches found
No related tags found
1 merge request!1922[efftoabs][2p] Remove underscore from public member function names
......@@ -243,10 +243,12 @@ public:
* and then the params container is constructed accordingly. Afterwards the values are set there, too.
* \return Absolute saturation of the non-wetting phase.
*/
static Scalar sweToSw(const Params &params, Scalar swe)
{ return swe*(1. - params.swr() - params.snr()) + params.swr(); }
[[deprecated("Will be removed after 3.2. Use sweToSw (without underscore suffix) instead!")]]
static Scalar sweToSw_(const Params &params, Scalar swe)
{
return swe*(1. - params.swr() - params.snr()) + params.swr();
}
{ return sweToSw(params, swe); }
/*!
* \brief Derivative of the effective saturation w.r.t. the absolute saturation.
......@@ -256,9 +258,13 @@ public:
* and then the params container is constructed accordingly. Afterwards the values are set there, too.
* \return Derivative of the effective saturation w.r.t. the absolute saturation.
*/
static Scalar dswe_dsw_(const Params &params)
static Scalar dswe_dsw(const Params &params)
{ return 1.0/(1. - params.swr() - params.snr()); }
[[deprecated("Will be removed after 3.2. Use dswe_dsw (without underscore suffix) instead!")]]
static Scalar dswe_dsw_(const Params &params)
{ return dswe_dsw(params); }
/*!
* \brief Derivative of the absolute saturation w.r.t. the effective saturation.
*
......@@ -267,8 +273,12 @@ public:
* and then the params container is constructed accordingly. Afterwards the values are set there, too.
* \return Derivative of the absolute saturation w.r.t. the effective saturation.
*/
static Scalar dsw_dswe_(const Params &params)
static Scalar dsw_dswe(const Params &params)
{ return 1. - params.swr() - params.snr(); }
[[deprecated("Will be removed after 3.2. Use dsw_dswe (without underscore suffix) instead!")]]
static Scalar dsw_dswe_(const Params &params)
{ return dsw_dswe(params); }
};
} // end namespace Dumux
......
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