From 7c12c558251f3137f4d2c5b1ab146f3321f6655a Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Fri, 22 Dec 2017 12:32:30 +0100 Subject: [PATCH] [2pncmin][test] Use dofMapper instead of elementMapper for AMG * test did not compile for box --- test/porousmediumflow/2pncmin/implicit/test_2pncmin_fv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/porousmediumflow/2pncmin/implicit/test_2pncmin_fv.cc b/test/porousmediumflow/2pncmin/implicit/test_2pncmin_fv.cc index 254e48935b..e121f1d7a1 100644 --- a/test/porousmediumflow/2pncmin/implicit/test_2pncmin_fv.cc +++ b/test/porousmediumflow/2pncmin/implicit/test_2pncmin_fv.cc @@ -156,7 +156,7 @@ int main(int argc, char** argv) try // the linear solver using LinearSolver = AMGBackend<TypeTag>; - auto linearSolver = std::make_shared<LinearSolver>(leafGridView, fvGridGeometry->elementMapper()); + auto linearSolver = std::make_shared<LinearSolver>(leafGridView, fvGridGeometry->dofMapper()); // the non-linear solver using NewtonController = PriVarSwitchNewtonController<TypeTag>; -- GitLab