Skip to content
Snippets Groups Projects
Commit 576a55ff authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[Stokes LocalResidual]

Call problem_().boxSDSource instead of problem_().source in
computeSource.
(bug found and reviewed by bernd)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9778 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent a5907dbb
No related branches found
No related tags found
No related merge requests found
......@@ -281,10 +281,11 @@ protected:
const VolumeVariables &volVars = elemVolVars[scvIdx];
// retrieve the source term intrinsic to the problem
this->problem_().source(source,
this->element_(),
this->fvGeometry_(),
scvIdx);
this->problem_().boxSDSource(source,
this->element_(),
this->fvGeometry_(),
scvIdx,
this->curVolVars_());
// ATTENTION: The source term of the mass balance has to be chosen as
// div (q_momentum) in the problem file
......
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