DUNE PDELab (git)

Dune::Functions::SizeInfo< B > Class Template Reference

A class encapsulating size information. More...

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

Public Member Functions

 SizeInfo (const Basis &basis)
 Construct from basis.
 
size_type operator() (const SizePrefix &prefix) const
 Return number possible values for next position in multi index.
 
size_type size (const SizePrefix &prefix) const
 Return number possible values for next position in multi index. More...
 

Detailed Description

template<class B>
class Dune::Functions::SizeInfo< B >

A class encapsulating size information.

This class encapsulates size information of a basis.

We may want to return this or a similar class when calling basis.size() without arguments. Until we decided on this, we can use sizeInfo(basis) and use the result as size provider for a VectorBackend.

Deprecated:
This class is deprecated.

Member Function Documentation

◆ size()

template<class B >
size_type Dune::Functions::SizeInfo< B >::size ( const SizePrefix &  prefix) const
inline

Return number possible values for next position in multi index.

This shall vanish. It's just here such that this can be used as size provider n place of the 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 (Nov 12, 23:30, 2024)