Skip to content
Snippets Groups Projects

Added extended AllTrueBitSetVector class

Merged Praetorius, Simon requested to merge feature/alltruebitsetvector into master
All threads resolved!
Files
2
@@ -13,6 +13,7 @@
#include <amdis/common/Logical.hpp>
#include <amdis/functions/HierarchicNodeToRangeMap.hpp>
#include <amdis/typetree/Traversal.hpp>
#include <amdis/utility/AllTrueBitSetVector.hpp>
namespace AMDiS {
namespace Impl {
@@ -284,7 +285,7 @@ template <class B, class... I, class Vec, class C, class GF, class NTRE, bool av
void interpolateTree(B const& basis, Dune::TypeTree::HybridTreePath<I...> const& treePath,
Vec& vec, C& count, GF const& gf, NTRE const& nodeToRangeEntry, bool_t<average>)
{
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
AMDiS::interpolateTreeSubset(basis, treePath, vec, count, bitVec, gf, nodeToRangeEntry, bool_t<average>{});
}
@@ -295,7 +296,7 @@ template <class B, class... I, class Vec, class C, class GF, bool average,
void interpolateTree(B const& basis, Dune::TypeTree::HybridTreePath<I...> const& treePath,
Vec& vec, C& count, GF const& gf, bool_t<average>)
{
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
auto ntrm = AMDiS::HierarchicNodeToRangeMap();
AMDiS::interpolateTreeSubset(basis, treePath, vec, count, bitVec, gf, ntrm, bool_t<average>{});
}
@@ -380,7 +381,7 @@ template <class B, class Vec, class C, class GF, bool average,
void interpolate(B const& basis, Vec& vec, C& count, GF const& gf, bool_t<average>)
{
auto root = Dune::TypeTree::hybridTreePath();
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
AMDiS::interpolateFiltered(basis, root, vec, count, bitVec, gf, bool_t<average>{});
}
@@ -391,7 +392,7 @@ template <class B, class... I, class Vec, class GF,
void interpolate(B const& basis, Vec& vec, GF const& gf)
{
auto root = Dune::TypeTree::hybridTreePath();
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
auto count = Impl::FakeCounter();
AMDiS::interpolateFiltered(basis, root, vec, count, bitVec, gf, std::false_type{});
}
@@ -419,7 +420,7 @@ template <class B, class... I, class Vec, class C, class GF, bool average,
void interpolate(B const& basis, Dune::TypeTree::HybridTreePath<I...> const& treePath,
Vec& vec, C& count, GF const& gf, bool_t<average>)
{
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
AMDiS::interpolateFiltered(basis, treePath, vec, count, bitVec, gf, bool_t<average>{});
}
@@ -428,7 +429,7 @@ template <class B, class... I, class Vec, class GF,
REQUIRES(Concepts::GridFunction<GF>)>
void interpolate(B const& basis, Dune::TypeTree::HybridTreePath<I...> const& treePath, Vec& vec, GF const& gf)
{
auto bitVec = Dune::Functions::Imp::AllTrueBitSetVector();
auto bitVec = AllTrueBitSetVector{};
auto count = Impl::FakeCounter();
AMDiS::interpolateFiltered(basis, treePath, vec, count, bitVec, gf, std::false_type{});
}
Loading