3#ifndef DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH
4#define DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH
28 using size_type =
typename Basis::size_type;
29 using SizePrefix =
typename Basis::SizePrefix;
43 return basis_->size(prefix);
52 size_type
size(
const SizePrefix& prefix)
const
54 return basis_->size(prefix);
57 operator size_type ()
const
59 return basis_->dimension();
69SizeInfo<Basis> sizeInfo(
const Basis& basis)
71 return SizeInfo<Basis>(basis);
A class encapsulating size information.
Definition: sizeinfo.hh:25
size_type size(const SizePrefix &prefix) const
Return number possible values for next position in multi index.
Definition: sizeinfo.hh:52
size_type operator()(const SizePrefix &prefix) const
Return number possible values for next position in multi index.
Definition: sizeinfo.hh:41
SizeInfo(const Basis &basis)
Construct from basis.
Definition: sizeinfo.hh:34
Dune namespace.
Definition: alignedallocator.hh:14