Dune Core Modules (2.7.1)
vbvector.hh
Go to the documentation of this file.
This file implements a vector space as a tensor product of a given vector space. The number of compon...
Base class for stl conformant forward iterators.
Definition: iteratorfacades.hh:432
Iterator class for sequential creation of blocks.
Definition: vbvector.hh:438
bool operator==(const CreateIterator &it) const
equality
Definition: vbvector.hh:500
size_type index() const
dereferencing
Definition: vbvector.hh:506
SizeProxy reference
reference type
Definition: vbvector.hh:458
size_type * pointer
pointer type
Definition: vbvector.hh:455
bool operator!=(const CreateIterator &it) const
inequality
Definition: vbvector.hh:494
size_type value_type
value type
Definition: vbvector.hh:444
CreateIterator(VariableBlockVector &_v, int _i, bool _isEnd)
constructor
Definition: vbvector.hh:461
void setblocksize(size_type _k)
set size of current block
Definition: vbvector.hh:512
size_type & operator*()
Access size of current block.
Definition: vbvector.hh:523
std::output_iterator_tag iterator_category
iterator category
Definition: vbvector.hh:441
CreateIterator & operator++()
prefix increment
Definition: vbvector.hh:477
void difference_type
difference type (unused)
Definition: vbvector.hh:452
Iterator class for sequential access.
Definition: vbvector.hh:579
RealIterator(window_type *_p, size_type _i)
constructor
Definition: vbvector.hh:589
bool equals(const RealIterator &it) const
equality
Definition: vbvector.hh:606
size_type index() const
Return the index of the entry this iterator is pointing to.
Definition: vbvector.hh:634
void decrement()
prefix decrement
Definition: vbvector.hh:600
void increment()
prefix increment
Definition: vbvector.hh:594
RealIterator()
constructor, no arguments
Definition: vbvector.hh:582
window_type & dereference() const
dereferencing
Definition: vbvector.hh:612
typename Imp::BlockTraits< B >::field_type field_type
export the type representing the field
Definition: vbvector.hh:51
A allocator_type
export the allocator type
Definition: vbvector.hh:54
VariableBlockVector(size_type _nblocks, size_type m)
Definition: vbvector.hh:129
static constexpr unsigned int blocklevel
Definition: vbvector.hh:85
size_type N() const
number of blocks in the vector (are of variable size here)
Definition: vbvector.hh:721
VariableBlockVector(const VariableBlockVector &a)
copy constructor, has copy semantics
Definition: vbvector.hh:167
VariableBlockVector(size_type _nblocks)
Definition: vbvector.hh:103
~VariableBlockVector()
free dynamic memory
Definition: vbvector.hh:210
window_type & operator[](size_type i)
random access to blocks
Definition: vbvector.hh:558
CreateIterator createend()
get create iterator pointing to one after the last block
Definition: vbvector.hh:547
CreateIterator createbegin()
get initial create iterator
Definition: vbvector.hh:538
VariableBlockVector & operator=(const VariableBlockVector &a)
assignment
Definition: vbvector.hh:317
ConstIterator rend() const
end ConstIterator
Definition: vbvector.hh:701
A::size_type size_type
The size type for the index access.
Definition: vbvector.hh:69
ConstIterator find(size_type i) const
random access returning iterator (end if not contained)
Definition: vbvector.hh:713
Iterator find(size_type i)
random access returning iterator (end if not contained)
Definition: vbvector.hh:707
const window_type & const_reference
Export type used for const references to container entries.
Definition: vbvector.hh:66
RealIterator< const value_type, const window_type & > ConstIterator
Const iterator.
Definition: vbvector.hh:676
ConstIterator begin() const
begin ConstIterator
Definition: vbvector.hh:682
BlockVector< B, A > value_type
Type of the elements of the outer vector, i.e., dynamic vectors of B.
Definition: vbvector.hh:76
BlockVector< B, A > block_type
Same as value_type, here for historical reasons.
Definition: vbvector.hh:80
void resize(size_type _nblocks, size_type m)
same effect as constructor with same argument
Definition: vbvector.hh:265
window_type & reference
Export type used for references to container entries.
Definition: vbvector.hh:60
void resize(size_type _nblocks)
same effect as constructor with same argument
Definition: vbvector.hh:229
auto min(ADLTag< 0 >, const V &v1, const V &v2)
implements binary Simd::min()
Definition: defaults.hh:87
This file implements iterator facade classes for writing stl conformant iterators.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)