Dune Core Modules (2.10.0)

Dune::Functions::ContainerDescriptors::UniformArray< Child, n > Struct Template Reference

Descriptor for arrays with all children identical and the number of children a static size. More...

#include <dune/functions/functionspacebases/containerdescriptors.hh>

Public Member Functions

template<class C = Child, std::enable_if_t< std::is_default_constructible_v< C >, int > = 0>
 UniformArray ()
 Default constructor. Is enable if the child-type is default constructible.
 
 UniformArray (Child child)
 Constructor that stores a single child only.
 
template<class Index >
const Child & operator[] (const Index &) const
 Access the i'th child that is always the same, i.e., child_.
 

Static Public Member Functions

static constexpr std::size_t size ()
 The static size information, i.e., number of children.
 

Detailed Description

template<class Child, std::size_t n>
struct Dune::Functions::ContainerDescriptors::UniformArray< Child, n >

Descriptor for arrays with all children identical and the number of children a static size.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 28, 23:30, 2024)