|
dune-functions 2.8.0
|
Loading...
Searching...
No Matches
Dune::Functions::SizeInfo< B > Class Template Reference
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. | |
| 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. | |
| operator size_type () const | |
Protected Attributes | |
| const Basis * | basis_ |
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.
Member Typedef Documentation
◆ Basis
template<class B >
| using Dune::Functions::SizeInfo< B >::Basis = B |
◆ size_type
template<class B >
| using Dune::Functions::SizeInfo< B >::size_type = typename Basis::size_type |
◆ SizePrefix
template<class B >
| using Dune::Functions::SizeInfo< B >::SizePrefix = typename Basis::SizePrefix |
Constructor & Destructor Documentation
◆ SizeInfo()
template<class B >
|
inline |
Construct from basis.
Member Function Documentation
◆ operator size_type()
template<class B >
|
inline |
◆ operator()()
template<class B >
|
inline |
Return number possible values for next position in multi index.
◆ 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.
Member Data Documentation
◆ basis_
template<class B >
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8