Skip to content
Snippets Groups Projects
Commit ceb6beff authored by Klaus Mosthaf's avatar Klaus Mosthaf
Browse files

Corrected small bug - wrong index was used when specifying the pressure

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8252 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 3fadd1e5
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ public:
// set pressure at one point
const Scalar middle = (this->bboxMax()[0] - this->bboxMin()[0])/2;
if (onLowerBoundary_(globalPos) &&
globalPos[0] > middle - eps_ && globalPos[1] < middle + eps_)
globalPos[0] > middle - eps_ && globalPos[0] < middle + eps_)
values.setDirichlet(massBalanceIdx);
}
......
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