From afc3d6cab6086a91fcd6ec9fc3bea1c0b8652866 Mon Sep 17 00:00:00 2001 From: Andreas Lauser <and@poware.org> Date: Tue, 20 Sep 2011 16:20:34 +0000 Subject: [PATCH] box models: make them work again for EnablePartialReassemble == false oops. small mistake git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6638 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/boxmodels/common/boxassembler.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dumux/boxmodels/common/boxassembler.hh b/dumux/boxmodels/common/boxassembler.hh index 31752d63eb..045ad46f77 100644 --- a/dumux/boxmodels/common/boxassembler.hh +++ b/dumux/boxmodels/common/boxassembler.hh @@ -313,6 +313,9 @@ public: */ void markVertexRed(int globalVertIdx) { + if (!enablePartialReassemble_) + return; + vertexColor_[globalVertIdx] = Red; } -- GitLab