Commit 31022ac7 authored by Timo Koch's avatar Timo Koch Committed by Dennis Gläser
Browse files

[bctypes] Deprecate general outflow boundary condition

parent f1d77760
......@@ -117,6 +117,7 @@ public:
/*!
* \brief Set all boundary conditions to Neumann.
*/
[[deprecated("Will be removed after release 3.4")]]
void setAllOutflow()
{
for (int eqIdx = 0; eqIdx < numEq; ++eqIdx)
......@@ -181,6 +182,7 @@ public:
* \param eqIdx The index of the equation on which the outflow
* condition applies.
*/
[[deprecated("Will be removed after release 3.4")]]
void setOutflow(int eqIdx)
{
resetEq(eqIdx);
......@@ -308,6 +310,7 @@ public:
*
* \param eqIdx The index of the equation
*/
[[deprecated("Will be removed after release 3.4")]]
bool isOutflow(unsigned eqIdx) const
{ return boundaryInfo_[eqIdx].isOutflow; }
......@@ -315,6 +318,7 @@ public:
* \brief Returns true if some equation is used to specify an
* outflow condition.
*/
[[deprecated("Will be removed after release 3.4")]]
bool hasOutflow() const
{
return std::any_of(boundaryInfo_.begin(),
......
......@@ -26,6 +26,7 @@
#include <cassert>
#include <vector>
#include <dune/common/deprecated.hh>
namespace Dumux {
......@@ -72,7 +73,9 @@ public:
hasDirichlet_ = hasDirichlet_ || vertexBCTypes_[scvIdxLocal].hasDirichlet();
hasNeumann_ = hasNeumann_ || vertexBCTypes_[scvIdxLocal].hasNeumann();
DUNE_NO_DEPRECATED_BEGIN
hasOutflow_ = hasOutflow_ || vertexBCTypes_[scvIdxLocal].hasOutflow();
DUNE_NO_DEPRECATED_END
}
}
}
......@@ -95,6 +98,7 @@ public:
* \brief Returns whether the element potentially features an
* outflow boundary segment.
*/
[[deprecated("Will be removed after release 3.4")]]
bool hasOutflow() const
{ return hasOutflow_; }
......
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