Commit 87334751 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[cell-centered implicit] fix bug introduced by r13823

It was not such a good idea to change the name of the protected
evalDirichletSegment_ function of the CCLocalResidual, since it can be
overwritten in derived LocalResiduals, and in fact is already
overwritten in MPNCLocalResidual. The name is changed back to its
original.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13824 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent a78975bb
...@@ -94,7 +94,7 @@ protected: ...@@ -94,7 +94,7 @@ protected:
// evaluate the pure Dirichlet conditions at the boundary face // evaluate the pure Dirichlet conditions at the boundary face
if (bcTypes.hasDirichlet() && !bcTypes.hasNeumann()) if (bcTypes.hasDirichlet() && !bcTypes.hasNeumann())
this->asImp_().evalDirichletSegmentPure_(isIt, bcTypes); this->asImp_().evalDirichletSegment_(isIt, bcTypes);
} }
} }
...@@ -211,7 +211,7 @@ protected: ...@@ -211,7 +211,7 @@ protected:
* \brief Treat Dirichlet boundary conditions in a weak sense for a single * \brief Treat Dirichlet boundary conditions in a weak sense for a single
* intersection that only has Dirichlet boundary conditions * intersection that only has Dirichlet boundary conditions
*/ */
void evalDirichletSegmentPure_(const IntersectionIterator &isIt, void evalDirichletSegment_(const IntersectionIterator &isIt,
const BoundaryTypes &bcTypes) const BoundaryTypes &bcTypes)
{ {
// temporary vector to store the Dirichlet boundary fluxes // temporary vector to store the Dirichlet boundary fluxes
...@@ -243,8 +243,6 @@ protected: ...@@ -243,8 +243,6 @@ protected:
PrimaryVariables values; PrimaryVariables values;
Valgrind::SetUndefined(values); Valgrind::SetUndefined(values);
unsigned bfIdx = isIt->indexInInside();
this->problem_().dirichlet(values, *isIt); this->problem_().dirichlet(values, *isIt);
Valgrind::CheckDefined(values); Valgrind::CheckDefined(values);
......
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