Commit 12a78329 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

make the backend solver directly accessible in ProblemStat

parent 7c8f35cf
......@@ -79,7 +79,7 @@ namespace AMDiS
using PartitionSet = typename LinAlgTraits::PartitionSet;
public:
using LinearSolver = LinearSolverInterface<Mat,Vec,Vec>;
using LinearSolver = AMDiS::LinearSolver<Mat,Vec,Vec>;
using SystemMatrix = BiLinearForm<GlobalBasis, GlobalBasis, typename Traits::CoefficientType, LinAlgTraits>;
using SystemVector = LinearForm<GlobalBasis, typename Traits::CoefficientType, LinAlgTraits>;
using SolutionVector = DOFVector<GlobalBasis, typename Traits::CoefficientType, LinAlgTraits>;
......
......@@ -228,8 +228,7 @@ void ProblemStat<Traits>::createSolver()
std::string solverName = "default";
Parameters::get(name_ + "->solver", solverName);
using Solver = AMDiS::LinearSolver<Mat,Vec,Vec>;
linearSolver_ = std::make_shared<Solver>(solverName, name_ + "->solver");
linearSolver_ = std::make_shared<LinearSolver>(solverName, name_ + "->solver");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment