Skip to content
Snippets Groups Projects
Unverified Commit 824646cf authored by René Fritze's avatar René Fritze
Browse files

[disc.interface] use communicating solvertype

parent f1dd5c5e
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ public:
using typename BaseType::VectorType;
private:
typedef typename XT::LA::Solver<MatrixType> LinearSolverType;
typedef typename XT::LA::Solver<MatrixType, typename BaseType::TestSpaceType::CommunicatorType > LinearSolverType;
public:
/// \name Have to be implemented by any derived class.
......@@ -209,7 +209,7 @@ public:
void solve(VectorType& solution, const XT::Common::Configuration& options) const
{
LinearSolverType(system_matrix()).apply(rhs_vector(), solution, options);
LinearSolverType(system_matrix(), BaseType::test_space().communicator()).apply(rhs_vector(), solution, options);
if (has_dirichlet_shift())
solution += dirichlet_shift();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment