Commit 48c5e5b9 authored by Carsten Gräser's avatar Carsten Gräser

[backport to 2.6] Use StaticTraversal in interpolate() and DiscreteGlobalbasisFunction

For DynamicTraversal dune-typetree only provides DynamicTreePath's
which do not have a static size. Furthermore they don't provide a
container like interface.
parent 3449e861
......@@ -61,7 +61,7 @@ struct AllTrueBitSetVector
template <class B, class T, class NTRE, class HV, class LF, class HBV>
class LocalInterpolateVisitor
: public TypeTree::TreeVisitor
, public TypeTree::DynamicTraversal
, public TypeTree::StaticTraversal
{
public:
......
......@@ -105,7 +105,7 @@ public:
struct LocalEvaluateVisitor
: public TypeTree::TreeVisitor
, public TypeTree::DynamicTraversal
, public TypeTree::StaticTraversal
{
LocalEvaluateVisitor(const LocalDomain& x, Range& y, const LocalView& localView, const Vector& coefficients, const NodeToRangeEntry& nodeToRangeEntry, ShapeFunctionValueContainer& shapeFunctionValueContainer):
x_(x),
......
Markdown is supported
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