![]() |
Dune-Functions 2.12-git
|
Loading...
Searching...
No Matches
interpolate.hh
Go to the documentation of this file.
110 using Derivative = std::decay_t<decltype(derivative(Dune::resolveRef(std::declval<const F&>())))>;
151template<class VectorBackend, class BitVectorBackend, class LocalFunction, class LocalView, class NodeToRangeEntry>
152void interpolateLocal(VectorBackend& vector, const BitVectorBackend& bitVector, const LocalFunction& localF, const LocalView& localView, const NodeToRangeEntry& nodeToRangeEntry)
159 using FiniteElementRangeField = typename FiniteElement::Traits::LocalBasisType::Traits::RangeFieldType;
163 auto localF_RE = ComponentFunction(std::cref(localF), [&](auto&& y) { return nodeToRangeEntry(node, treePath, y); });
205void interpolate(const B& basis, C&& coeff, const F& f, const BV& bv, const NTRE& nodeToRangeEntry)
auto istlVectorBackend(Vector &v)
Return a vector backend wrapping non-const ISTL like containers.
Definition istlvectorbackend.hh:352
STL namespace.
void interpolate(const B &basis, C &&coeff, const F &f, const BV &bv, const NTRE &nodeToRangeEntry)
Interpolate given function in discrete function space.
Definition interpolate.hh:205
std::decay_t< F > makeGridViewFunction(F &&f, const GridView &gridView)
Construct a function modeling GridViewFunction from function and grid view.
Definition gridviewfunction.hh:72
auto forwardCapture(T &&t)
Create a capture object for perfect forwarding.
Definition utility.hh:327
reference operator[](size_type i)
int size() const
constexpr T & resolveRef(T &gf) noexcept
virtual void operator()()=0
void forEachLeafNode(Tree &&tree, LeafFunc &&leafFunc)
derivative
A simple node to range map using the nested tree indices.
Definition hierarchicnodetorangemap.hh:34
T bind(T... args)
T forward(T... args)
T move(T... args)
