DUNE PDELab (git)

Dune::Functions::ContainerDescriptors::UniformVector< Child > Struct Template Reference

Uniform descriptor with dynamic 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>
 UniformVector (std::size_t size)
 Default constructor with size. Is enable if the child-type is default constructible.
 
 UniformVector (std::size_t size, Child child)
 Constructor that stores the size and 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_.
 
std::size_t size () const
 The dynamic size information, i.e., number of children.
 

Detailed Description

template<class Child>
struct Dune::Functions::ContainerDescriptors::UniformVector< Child >

Uniform descriptor with dynamic 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 (Jul 15, 22:36, 2024)