Dune Core Modules (2.5.0)
vbvector.hh
Go to the documentation of this file.
87 };
This file implements a vector space as a tensor product of a given vector space. The number of compon...
void set(size_type _n, B *_p)
set size and pointer
Definition: bvector.hh:726
Base class for stl conformant forward iterators.
Definition: iteratorfacades.hh:433
Iterator class for sequential creation of blocks.
Definition: vbvector.hh:404
bool operator==(const CreateIterator &it) const
equality
Definition: vbvector.hh:472
size_type index() const
dereferencing
Definition: vbvector.hh:478
bool operator!=(const CreateIterator &it) const
inequality
Definition: vbvector.hh:466
void setblocksize(size_type _k)
set size of current block
Definition: vbvector.hh:484
CreateIterator(VariableBlockVector &_v, int _i)
constructor
Definition: vbvector.hh:407
CreateIterator & operator++()
prefix increment
Definition: vbvector.hh:415
Iterator class for sequential access.
Definition: vbvector.hh:541
RealIterator(window_type *_p, size_type _i)
constructor
Definition: vbvector.hh:551
bool equals(const RealIterator &it) const
equality
Definition: vbvector.hh:568
size_type index() const
Return the index of the entry this iterator is pointing to.
Definition: vbvector.hh:596
void decrement()
prefix decrement
Definition: vbvector.hh:562
void increment()
prefix increment
Definition: vbvector.hh:556
RealIterator()
constructor, no arguments
Definition: vbvector.hh:544
window_type & dereference() const
dereferencing
Definition: vbvector.hh:574
A allocator_type
export the allocator type
Definition: vbvector.hh:53
VariableBlockVector(size_type _nblocks, size_type m)
Definition: vbvector.hh:131
@ blocklevel
The number of blocklevels this vector contains.
Definition: vbvector.hh:86
size_type N() const
number of blocks in the vector (are of variable size here)
Definition: vbvector.hh:683
VariableBlockVector(const VariableBlockVector &a)
copy constructor, has copy semantics
Definition: vbvector.hh:169
VariableBlockVector(size_type _nblocks)
Definition: vbvector.hh:105
~VariableBlockVector()
free dynamic memory
Definition: vbvector.hh:212
window_type & operator[](size_type i)
random access to blocks
Definition: vbvector.hh:520
CreateIterator createend()
get create iterator pointing to one after the last block
Definition: vbvector.hh:509
B::field_type field_type
export the type representing the field
Definition: vbvector.hh:50
CreateIterator createbegin()
get initial create iterator
Definition: vbvector.hh:500
VariableBlockVector & operator=(const VariableBlockVector &a)
assignment
Definition: vbvector.hh:319
ConstIterator rend() const
end ConstIterator
Definition: vbvector.hh:663
A::size_type size_type
The size type for the index access.
Definition: vbvector.hh:68
ConstIterator find(size_type i) const
random access returning iterator (end if not contained)
Definition: vbvector.hh:675
Iterator find(size_type i)
random access returning iterator (end if not contained)
Definition: vbvector.hh:669
const window_type & const_reference
Export type used for const references to container entries.
Definition: vbvector.hh:65
RealIterator< const value_type, const window_type & > ConstIterator
Const iterator.
Definition: vbvector.hh:638
ConstIterator begin() const
begin ConstIterator
Definition: vbvector.hh:644
BlockVector< B, A > value_type
Type of the elements of the outer vector, i.e., dynamic vectors of B.
Definition: vbvector.hh:75
BlockVector< B, A > block_type
Same as value_type, here for historical reasons.
Definition: vbvector.hh:79
void resize(size_type _nblocks, size_type m)
same effect as constructor with same argument
Definition: vbvector.hh:267
window_type & reference
Export type used for references to container entries.
Definition: vbvector.hh:59
void resize(size_type _nblocks)
same effect as constructor with same argument
Definition: vbvector.hh:231
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 23, 23:29, 2024)