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

Deprecate the empty function updateCouplingParams from ImplicitProblem

and remove corresponding calls in ImplicitLocalResidual and
ImplicitLocalJacobian. The function is nowhere reimplemented in both
stable and devel.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11273 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 60442af3
......@@ -150,13 +150,6 @@ public:
bcTypes_.update(problem_(), element_(), fvElemGeom_);
// this is pretty much a HACK because the internal state of
// the problem is not supposed to be changed during the
// evaluation of the residual. (Reasons: It is a violation of
// abstraction, makes everything more prone to errors and is
// not thread save.) The real solution are context objects!
problem_().updateCouplingParams(element_());
// set the hints for the volume variables
model_().setHints(element, prevVolVars_, curVolVars_);
......
......@@ -110,13 +110,6 @@ public:
ElementBoundaryTypes bcTypes;
bcTypes.update(problem_(), element, fvGeometry_());
// this is pretty much a HACK because the internal state of
// the problem is not supposed to be changed during the
// evaluation of the residual. (Reasons: It is a violation of
// abstraction, makes everything more prone to errors and is
// not thread save.) The real solution are context objects!
problem_().updateCouplingParams(element);
asImp_().eval(element, fvGeometry_(), volVarsPrev, volVarsCur, bcTypes);
}
......
......@@ -510,6 +510,7 @@ public:
* \param element The DUNE Codim<0> entity for which the coupling
* parameters should be computed.
*/
DUNE_DEPRECATED
void updateCouplingParams(const Element &element) const
{}
......
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