![]() |
Dune-Functions 2.12-git
|
Loading...
Searching...
No Matches
nodes.hh
Go to the documentation of this file.
365 public InnerBasisNodeMixin<CompositeBasisNode<T...>, typename TypeListEntry_t<0, TypeList<T...>>::Element>,
int size() const
static constexpr IntegralRange< T > range(T from, T to) noexcept
constexpr void forEach(Range &&range, F &&f)
std::ptrdiff_t index() const
decltype(auto) child(Node &&node, TreePath< Indices... > treePath)
void forEachNode(Tree &&tree, PreNodeFunc &&preNodeFunc, LeafNodeFunc &&leafNodeFunc, PostNodeFunc &&postNodeFunc)
constexpr index_constant< 0 > _0
Definition nodes.hh:131
size_type treeIndex() const
Lexicographic index that uniquely identifies the node within a tree.
Definition nodes.hh:181
size_type localIndex(size_type i) const
Definition nodes.hh:145
bool empty() const
Check if the node is empty.
Definition nodes.hh:171
size_type size() const
Obtain the number of basis function in the local node.
Definition nodes.hh:158
void setOffset(const size_type offset)
Definition nodes.hh:193
void setTreeIndex(size_type treeIndex)
Definition nodes.hh:203
Definition nodes.hh:367
CompositeBasisNode()=default
typename std::tuple_element_t< 0, std::tuple< T... > >::Element Element
Definition nodes.hh:393
auto & child(Dune::index_constant< i > ii)
Definition nodes.hh:384
const auto & child(Dune::index_constant< i > ii) const
Definition nodes.hh:378
void setChild(TT &&t, Dune::index_constant< i > ii={})
Definition nodes.hh:407
CompositeBasisNode(const T &... children)
Definition nodes.hh:397
Definition nodes.hh:313
const Element & element() const
Definition nodes.hh:347
void setChild(Index i, TT &&t)
Definition nodes.hh:353
const auto & child(Index i) const
Definition nodes.hh:325
DynamicPowerBasisNode(std::size_t children)
Definition nodes.hh:343
Definition nodes.hh:238
Definition nodes.hh:219
Definition nodes.hh:260
PowerBasisNode()=default
T emplace(T... args)
void bindTree(Tree &tree, const Entity &entity, std::size_t offset=0)
Definition nodes.hh:418
void initializeTree(Tree &tree, std::size_t treeIndexOffset=0)
Definition nodes.hh:425
T size(T... args)
