From 940f83e40f98b6fac889da23d6cd937af334e367 Mon Sep 17 00:00:00 2001 From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de> Date: Thu, 9 Mar 2017 13:15:47 +0100 Subject: [PATCH] [mixeddimension] change initialization order This is necessary for the facet coupling models to work with the global flux variables cache enabled --- dumux/mixeddimension/problem.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dumux/mixeddimension/problem.hh b/dumux/mixeddimension/problem.hh index ee8474fb57..7249d139aa 100644 --- a/dumux/mixeddimension/problem.hh +++ b/dumux/mixeddimension/problem.hh @@ -144,8 +144,10 @@ public: lowDimProblem().setCouplingManager(couplingManager_); // initialize the subproblem time managers (this also initializes the subproblems) - bulkTimeManager().init(bulkProblem(), tStart, dtBulkProblem, tEnd, restart); + // the lowDim time manager is initialized first as the bulk problem might need some data from the + // lowDim problem for its initialization (e.g. for models using facet coupling with the global caching) lowDimTimeManager().init(lowDimProblem(), tStart, dtLowDimProblem, tEnd, restart); + bulkTimeManager().init(bulkProblem(), tStart, dtBulkProblem, tEnd, restart); // finalize the problem coupler couplingManager().postInit(); -- GitLab