Dune Core Modules (2.10.0)

Dune::Functions::LeafPreBasisMixin< Derived > Class Template Reference

A generic MixIn class for PreBasis. More...

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

Public Types

using size_type = std::size_t
 Type used for indices and size information.
 

Public Member Functions

template<class SizePrefix , decltype(std::declval< SizePrefix >().size(), bool{}) = true>
size_type size (const SizePrefix &prefix) const
 Return number of possible values for next position in multi index.
 
size_type size () const
 Get the total dimension of the space spanned by this basis.
 
auto containerDescriptor () const
 Return a flat container-descriptor.
 

Static Public Attributes

static constexpr size_type maxMultiIndexSize = 1
 Maximal length of global multi-indices.
 
static constexpr size_type minMultiIndexSize = 1
 Minimal length of global multi-indices.
 
static constexpr size_type multiIndexBufferSize = 1
 Size required temporarily when constructing global multi-indices.
 

Detailed Description

template<class Derived>
class Dune::Functions::LeafPreBasisMixin< Derived >

A generic MixIn class for PreBasis.

Extends the interface of a Derived class by common constants and the size() methods. A requirement is that Derived implements the method dimension() returning the total number of basis functions the pre-basis represents.

This mixin class can be used for all pre bases that are on the leaf of the basis-tree. These pre-bases are supposed to have a size only for empty size-prefixes and this size is the same as the given dimension.

Template Parameters
DerivedThe actual implementation of a pre-basis

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