From 12a783299beac5cdee34d0d03f39647c2f987e91 Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Tue, 29 Dec 2020 15:13:09 +0100 Subject: [PATCH] make the backend solver directly accessible in ProblemStat --- amdis/ProblemStat.hpp | 2 +- amdis/ProblemStat.inc.hpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/amdis/ProblemStat.hpp b/amdis/ProblemStat.hpp index 6acce6d9..d6ce79b0 100644 --- a/amdis/ProblemStat.hpp +++ b/amdis/ProblemStat.hpp @@ -79,7 +79,7 @@ namespace AMDiS using PartitionSet = typename LinAlgTraits::PartitionSet; public: - using LinearSolver = LinearSolverInterface; + using LinearSolver = AMDiS::LinearSolver; using SystemMatrix = BiLinearForm; using SystemVector = LinearForm; using SolutionVector = DOFVector; diff --git a/amdis/ProblemStat.inc.hpp b/amdis/ProblemStat.inc.hpp index 4a0441d1..78a6186b 100644 --- a/amdis/ProblemStat.inc.hpp +++ b/amdis/ProblemStat.inc.hpp @@ -228,8 +228,7 @@ void ProblemStat::createSolver() std::string solverName = "default"; Parameters::get(name_ + "->solver", solverName); - using Solver = AMDiS::LinearSolver; - linearSolver_ = std::make_shared(solverName, name_ + "->solver"); + linearSolver_ = std::make_shared(solverName, name_ + "->solver"); } -- GitLab