|
dune-functions 2.10
|
Loading...
Searching...
No Matches
containerdescriptors.hh
Go to the documentation of this file.
STL namespace.
Definition polynomial.hh:18
auto containerDescriptor(const PreBasis &preBasis)
Return the container descriptor of the pre-basis, if defined, otherwise ContainerDescriptor::Unknown.
Definition containerdescriptors.hh:73
UniformArray< Value, n > FlatArray
Alias for a uniform array storing value placeholders.
Definition containerdescriptors.hh:155
auto makeUniformDescriptor(std::integral_constant< std::size_t, n >, Child child)
Generate a uniform descriptor in case the size is a static constant.
Definition containerdescriptors.hh:159
auto makeDescriptor(Child0 child, Children... children)
Generate a descriptor in case the children are all of the same type.
Definition containerdescriptors.hh:115
UniformVector< Value > FlatVector
Alias for a uniform vector storing value placeholders.
Definition containerdescriptors.hh:196
decltype(auto) constexpr unpackIntegerSequence(F &&f, std::integer_sequence< I, i... > sequence)
virtual void operator()()=0
Fallback container descriptor if nothing else fits.
Definition containerdescriptors.hh:50
The node in the descriptor tree representing a value placeholder.
Definition containerdescriptors.hh:83
static constexpr std::size_t size()
A value placeholder does not have any sub-descriptors, thus its size is zero.
Definition containerdescriptors.hh:89
Value operator[](const Index &) const
The child access method is only available for the interface, but should not be called.
Definition containerdescriptors.hh:86
Descriptor for arrays with all children identical and the number of children a static size.
Definition containerdescriptors.hh:129
static constexpr std::size_t size()
The static size information, i.e., number of children.
Definition containerdescriptors.hh:147
UniformArray()
Default constructor. Is enable if the child-type is default constructible.
Definition containerdescriptors.hh:133
UniformArray(Child child)
Constructor that stores a single child only.
Definition containerdescriptors.hh:138
const Child & operator[](const Index &) const
Access the i'th child that is always the same, i.e., child_.
Definition containerdescriptors.hh:144
Uniform descriptor with dynamic size.
Definition containerdescriptors.hh:168
UniformVector(std::size_t size, Child child)
Constructor that stores the size and a single child only.
Definition containerdescriptors.hh:178
std::size_t size() const
The dynamic size information, i.e., number of children.
Definition containerdescriptors.hh:188
UniformVector(std::size_t size)
Default constructor with size. Is enable if the child-type is default constructible.
Definition containerdescriptors.hh:172
const Child & operator[](const Index &) const
Access the i'th child that is always the same, i.e., child_.
Definition containerdescriptors.hh:185
T transform(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8