dune-functions 2.9.0
|
A class encapsulating size information. More...
#include <dune/functions/functionspacebases/sizeinfo.hh>
Public Types | |
using | Basis = B |
using | size_type = typename Basis::size_type |
using | SizePrefix = typename Basis::SizePrefix |
Public Member Functions | |
SizeInfo (const Basis &basis) | |
Construct from basis. More... | |
size_type | operator() (const SizePrefix &prefix) const |
Return number possible values for next position in multi index. More... | |
size_type | size (const SizePrefix &prefix) const |
Return number possible values for next position in multi index. More... | |
operator size_type () const | |
Protected Attributes | |
const Basis * | basis_ |
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.
using Dune::Functions::SizeInfo< B >::Basis = B |
using Dune::Functions::SizeInfo< B >::size_type = typename Basis::size_type |
using Dune::Functions::SizeInfo< B >::SizePrefix = typename Basis::SizePrefix |
|
inline |
Construct from basis.
|
inline |
|
inline |
Return number possible values for next position in multi index.
|
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.
|
protected |