Commit ccde07a0 authored by Müller, Felix's avatar Müller, Felix
Browse files

Remove makeNode[Quad]Cache functions

parent 043a2d71
......@@ -89,7 +89,7 @@ public:
auto&& nodeToRangeEntry = globalFunction_.nodeToRangeEntry_;
for_each_leaf_node(*subTree_, [&,this](auto const& node, auto const& tp)
{
auto localBasisCache = makeNodeCache(node);
NodeCache localBasisCache(node);
auto const& shapeFunctionValues = localBasisCache.evaluateFunction(localView_.element().type(), x);
std::size_t size = node.finiteElement().size();
......
......@@ -117,13 +117,6 @@ namespace AMDiS
LocalBasisType const* localBasis_ = nullptr;
};
/// Generator function for \ref NodeCache, \relates NodeCache.
template <class Node>
NodeCache<Node> makeNodeCache(Node const& node)
{
return NodeCache<Node>{node};
}
/// \brief Cache of LocalBasis evaluations and jacobians at quadrature points
/**
* Caching is done using the ConcurrentCache data structure with a key that
......@@ -237,11 +230,4 @@ namespace AMDiS
LocalBasisType const* localBasis_ = nullptr;
};
/// Generator function for \ref NodeQuadCache, \relates NodeQuadCache.
template <class Node>
NodeQuadCache<Node> makeNodeQuadCache(Node const& node)
{
return NodeQuadCache<Node>{node};
}
} // end namespace AMDiS
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