Skip to content
Snippets Groups Projects
Commit 942650f5 authored by Timo Koch's avatar Timo Koch Committed by Kilian Weishaupt
Browse files

[linearsolvertraits] Parallel types should only exists if MPI is found

parent ad39cda3
No related branches found
No related tags found
1 merge request!1931[linearsolver] Only construct parallel helper if MPI was found
......@@ -125,11 +125,13 @@ struct LinearSolverTraitsBase
template<class Matrix, class Vector>
using Sequential = SequentialSolverTraits<Matrix, Vector>;
#if HAVE_MPI
template<class Matrix, class Vector>
using ParallelOverlapping = OverlappingSolverTraits<Matrix, Vector>;
template<class Matrix, class Vector>
using ParallelNonoverlapping = NonoverlappingSolverTraits<Matrix, Vector>;
#endif
};
//! Box: use overlapping or non-overlapping model depending on the grid
......
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