DUNE PDELab (unstable)
filters.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
51 typedef std::tuple<typename Node::template Child<FilterEntries::original_index>::Type...> ChildTypes;
52 typedef std::tuple<std::shared_ptr<typename Node::template Child<FilterEntries::original_index>::Type>...> NodeStorage;
194 template<typename Filter, std::size_t new_k, std::size_t old_k, typename child, typename... tail>
201 typename filter_helper<Filter,new_k+1,old_k+1,tail...>::template apply<FilterDescriptors...,FilterEntry<new_k,old_k> >,
Traits for type conversions and type information.
decltype(auto) child(Node &&node, TreePath< Indices... > treePath)
Extracts the child of a node given by a TreePath object.
Definition: childaccess.hh:55
constexpr std::integer_sequence< T, II... > tail(std::integer_sequence< T, I0, II... >)
For a sequence [head,tail...) return the tail sequence.
Definition: integersequence.hh:58
Tag describing an advanced filter that has full control over the construction of the list of FilterEn...
Definition: filters.hh:61
Apply this filter to the given node and children.
Definition: filters.hh:76
implementation defined type
The result of the filtering process.
Definition: filters.hh:81
AdvancedFilterTag FilterTag
Filter tag for deciding on filter application mechanism.
Definition: filters.hh:69
A filter entry describing the mapping of one child in the filtered node.
Definition: filters.hh:25
Filter class for FilteredCompositeNode that selects the children with the given indices.
Definition: filters.hh:162
Tag describing a simple filter that can only decide whether or not to include a single given child.
Definition: filters.hh:58
Applies the filter to the given child node.
Definition: filters.hh:120
static const bool value
True if the child will be included in the filtered node.
Definition: filters.hh:122
Validates the combination of filter and node.
Definition: filters.hh:104
static const bool value
True if the combination of filter and node is valid.
Definition: filters.hh:106
Default simple filter that accepts any node and leaves its child structure unchanged.
Definition: filters.hh:95
SimpleFilterTag FilterTag
Filter tag for deciding on filter application mechanism.
Definition: filters.hh:98
Adapter class that takes a SimpleFilter, validated it and turns it into an AdvancedFilter.
Definition: filters.hh:213
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Jun 19, 23:17, 2026)