diff --git a/dumux/mixeddimension/problem.hh b/dumux/mixeddimension/problem.hh index d0e7292231de3941be0b7f88e181f245eed1c36a..ee8474fb574ede5aeb0208cee6bc33ee34e8e791 100644 --- a/dumux/mixeddimension/problem.hh +++ b/dumux/mixeddimension/problem.hh @@ -178,8 +178,10 @@ public: } else { - bulkProblem().preTimeStep(); + // call low dim problem first because it might grow and the + // coupling maps might need to be updated before the bulkproblem lowDimProblem().preTimeStep(); + bulkProblem().preTimeStep(); } } @@ -316,8 +318,10 @@ public: { if (!useIterativeSolver_) { - bulkProblem().postTimeStep(); + // call low dim problem first because it might grow and the + // coupling maps might need to be updated before the bulkproblem lowDimProblem().postTimeStep(); + bulkProblem().postTimeStep(); } }