Skip to content
Snippets Groups Projects
Commit 26e53c36 authored by Markus Blatt's avatar Markus Blatt
Browse files

Got rid off deprecated IsTrue and header files.

[[Imported from SVN: r906]]
parent 4d7a3a23
No related branches found
No related tags found
No related merge requests found
......@@ -549,9 +549,11 @@ namespace Dune
: matrices_(const_cast<MatrixOperator&>(fineOperator)),
parallelInformation_(const_cast<ParallelInformation&>(pinfo))
{
IsTrue<static_cast<int>(MatrixOperator::category) == static_cast<int>(SolverCategory::sequential) ||
static_cast<int>(MatrixOperator::category) == static_cast<int>(SolverCategory::overlapping)>::yes();
IsTrue<static_cast<int>(MatrixOperator::category) == static_cast<int>(ParallelInformation::category)>::yes();
dune_static_assert((static_cast<int>(MatrixOperator::category) == static_cast<int>(SolverCategory::sequential) ||
static_cast<int>(MatrixOperator::category) == static_cast<int>(SolverCategory::overlapping)),
"MatrixOperator must be of category sequential or overlapping");
dune_static_assert((static_cast<int>(MatrixOperator::category) == static_cast<int>(ParallelInformation::category)),
"MatrixOperator and ParallelInformation must belong to the same category!");
}
template<class M, class IS, class A>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment