Wrapper around a basis-node storing just a pointer and providing some essential functionality like size, localIndex, and treeIndex. More...
#include <NodeCache.hpp>
Public Types | |
using | Node = NodeType |
using | Element = typename Node::Element |
Public Member Functions | |
NodeWrapper (Node const &node) | |
Store a reference to the node. | |
Node const & | node () const |
Return the stored basis-node. | |
Element const & | element () const |
Return the bound grid element. | |
auto | localIndex (std::size_t i) const |
Return the index of the i-th local basis function in the index-set of the whole tree. | |
auto | size () const |
Return the size of the index-set of the node. | |
auto | treeIndex () const |
Return a unique index within the tree. | |
Protected Attributes | |
Node const * | node_ = nullptr |
Wrapper around a basis-node storing just a pointer and providing some essential functionality like size, localIndex, and treeIndex.