DUNE-FUNCTIONS (unstable)
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 >
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 >
|
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:
- dune/functions/functionspacebases/sizeinfo.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)