Commit a896e522 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

restrict test to istl backend

parent d15b0ef2
...@@ -300,6 +300,7 @@ void test2(Grid& grid, BasisFactory&& basis) ...@@ -300,6 +300,7 @@ void test2(Grid& grid, BasisFactory&& basis)
template <class GridView> template <class GridView>
void test3(GridView const& gridView) void test3(GridView const& gridView)
{ {
#if AMDIS_BACKEND == AMDIS_BACKEND_ISTL
using namespace Dune::Functions::BasisFactory; using namespace Dune::Functions::BasisFactory;
auto blockedBasis = makeBasis(gridView, power<2>(lagrange<2>())); auto blockedBasis = makeBasis(gridView, power<2>(lagrange<2>()));
...@@ -316,6 +317,7 @@ void test3(GridView const& gridView) ...@@ -316,6 +317,7 @@ void test3(GridView const& gridView)
ISTLBlockVector<double> vec4(flatBasis); ISTLBlockVector<double> vec4(flatBasis);
DiscreteFunction u4{vec4, flatBasis}; DiscreteFunction u4{vec4, flatBasis};
#endif
} }
......
Supports Markdown
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