diff --git a/dumux/common/boundarytypes.hh b/dumux/common/boundarytypes.hh index 6a3b9ce41653aa55625a76bec96df460f3a12da5..d06a73961618415466dbac81dd3380bcb6793c3d 100644 --- a/dumux/common/boundarytypes.hh +++ b/dumux/common/boundarytypes.hh @@ -70,7 +70,6 @@ public: boundaryInfo_[eqIdx].isOutflow = false; boundaryInfo_[eqIdx].isCouplingDirichlet = false; boundaryInfo_[eqIdx].isCouplingNeumann = false; - boundaryInfo_[eqIdx].isCouplingMortar = false; eq2pvIdx_[eqIdx] = eqIdx; pv2eqIdx_[eqIdx] = eqIdx; @@ -142,14 +141,6 @@ public: for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) setCouplingNeumann(eqIdx); } - /*! - * \brief Set all boundary conditions to mortar coupling. - */ - void setAllCouplingMortar() - { - for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) - setCouplingDirichlet(eqIdx); - } /*! * \brief Set a Neumann boundary condition for a single a single @@ -220,17 +211,6 @@ public: boundaryInfo_[eqIdx].isCouplingNeumann = true; } - /*! - * \brief Set a boundary condition for a single equation to - * a mortar coupling condition. - */ - void setCouplingMortar(int eqIdx) - { - resetEq(eqIdx); - boundaryInfo_[eqIdx].visited = true; - boundaryInfo_[eqIdx].isCouplingMortar = true; - } - /*! * \brief Set a Dirichlet boundary condition for a single primary * variable. @@ -375,29 +355,6 @@ public: return false; } - /*! - * \brief Returns true if an equation is used to specify a - * Mortar coupling condition. - * - * \param eqIdx The index of the equation - */ - bool isCouplingMortar(unsigned eqIdx) const - { - return boundaryInfo_[eqIdx].isCouplingMortar; - } - - /*! - * \brief Returns true if some equation is used to specify an - * Mortar coupling condition. - */ - bool hasCouplingMortar() const - { - for (int i = 0; i < numEq; ++i) - if (boundaryInfo_[i].isCouplingMortar) - return true; - return false; - } - /*! * \brief Returns true if an equation is used to specify a * coupling condition. @@ -407,8 +364,7 @@ public: bool isCoupling(unsigned eqIdx) const { return boundaryInfo_[eqIdx].isCouplingDirichlet - || boundaryInfo_[eqIdx].isCouplingNeumann - || boundaryInfo_[eqIdx].isCouplingMortar; + || boundaryInfo_[eqIdx].isCouplingNeumann; } /*! @@ -454,7 +410,6 @@ protected: bool isOutflow : 1; bool isCouplingDirichlet : 1; bool isCouplingNeumann : 1; - bool isCouplingMortar : 1; }; std::array<BoundaryInfo, numEq> boundaryInfo_;