dune-fem 2.8.0
Loading...
Searching...
No Matches
referenceblockvector.hh
Go to the documentation of this file.
1#ifndef DUNE_FEM_REFERENCEBLOCKVECTOR_HH
2#define DUNE_FEM_REFERENCEBLOCKVECTOR_HH
3
4#include <vector>
5
7
8namespace Dune {
9namespace Fem {
10
18 template< typename F, unsigned int BlockSize >
19 class ReferenceBlockVector : public MutableBlockVector< std::vector< F >, BlockSize >
20 {
22
23 public:
24 typedef typename BaseType::SizeType SizeType;
25
33 : BaseType( size )
34 {}
35
36 };
37
38} // namespace Fem
39} // namespace Dune
40
41#endif // DUNE_FEM_REFERENCEBLOCKVECTOR_HH
Definition: bindguard.hh:11
SizeType size() const
Number of blocks.
Definition: defaultblockvectors.hh:319
Definition: defaultblockvectors.hh:346
BaseType::SizeType SizeType
Definition: defaultblockvectors.hh:357
This is the reference implementation of a block vector as it is expected as the second template param...
Definition: referenceblockvector.hh:20
BaseType::SizeType SizeType
Definition: referenceblockvector.hh:24
ReferenceBlockVector(SizeType size)
Constructor; use this to create a block vector with 'size' blocks.
Definition: referenceblockvector.hh:32