Dune Core Modules (2.4.1)
vbvector.hh
Go to the documentation of this file.
66 };
This file implements a vector space as a tensor product of a given vector space. The number of compon...
Definition: bvector.hh:584
void set(size_type _n, B *_p)
set size and pointer
Definition: bvector.hh:679
ConstIterator class for sequential access.
Definition: vbvector.hh:647
ConstIterator & operator--()
prefix decrement
Definition: vbvector.hh:672
ConstIterator(const Iterator &it)
constructor from non_const iterator
Definition: vbvector.hh:661
const window_type & operator*() const
dereferencing
Definition: vbvector.hh:703
bool operator!=(const ConstIterator &it) const
inequality
Definition: vbvector.hh:685
bool operator==(const ConstIterator &it) const
equality
Definition: vbvector.hh:679
ConstIterator(const window_type *_p, size_type _i)
constructor from pointer
Definition: vbvector.hh:657
ConstIterator()
constructor
Definition: vbvector.hh:650
ConstIterator & operator++()
prefix increment
Definition: vbvector.hh:665
const window_type * operator->() const
arrow
Definition: vbvector.hh:709
Iterator class for sequential creation of blocks.
Definition: vbvector.hh:387
bool operator==(const CreateIterator &it) const
equality
Definition: vbvector.hh:455
size_type index() const
dereferencing
Definition: vbvector.hh:461
bool operator!=(const CreateIterator &it) const
inequality
Definition: vbvector.hh:449
void setblocksize(size_type _k)
set size of current block
Definition: vbvector.hh:467
CreateIterator(VariableBlockVector &_v, int _i)
constructor
Definition: vbvector.hh:390
CreateIterator & operator++()
prefix increment
Definition: vbvector.hh:398
bool operator==(const Iterator &it) const
equality
Definition: vbvector.hh:553
Iterator & operator--()
prefix decrement
Definition: vbvector.hh:546
Iterator(window_type *_p, size_type _i)
constructor
Definition: vbvector.hh:535
Iterator()
constructor, no arguments
Definition: vbvector.hh:528
window_type * operator->() const
arrow
Definition: vbvector.hh:583
Iterator & operator++()
prefix increment
Definition: vbvector.hh:539
window_type & operator*() const
dereferencing
Definition: vbvector.hh:577
bool operator!=(const Iterator &it) const
inequality
Definition: vbvector.hh:559
A allocator_type
export the allocator type
Definition: vbvector.hh:49
VariableBlockVector(size_type _nblocks, size_type m)
Definition: vbvector.hh:114
size_type N() const
number of blocks in the vector (are of variable size here)
Definition: vbvector.hh:756
VariableBlockVector(const VariableBlockVector &a)
copy constructor, has copy semantics
Definition: vbvector.hh:152
VariableBlockVector(size_type _nblocks)
Definition: vbvector.hh:88
~VariableBlockVector()
free dynamic memory
Definition: vbvector.hh:195
window_type & operator[](size_type i)
random access to blocks
Definition: vbvector.hh:503
@ blocklevel
The number of blocklevels this vector contains.
Definition: vbvector.hh:65
CreateIterator createend()
get create iterator pointing to one after the last block
Definition: vbvector.hh:492
B::field_type field_type
export the type representing the field
Definition: vbvector.hh:46
CreateIterator createbegin()
get initial create iterator
Definition: vbvector.hh:483
VariableBlockVector & operator=(const VariableBlockVector &a)
assignment
Definition: vbvector.hh:302
ConstIterator rend() const
end ConstIterator
Definition: vbvector.hh:747
A::size_type size_type
The size type for the index access.
Definition: vbvector.hh:52
ConstIterator find(size_type i) const
random access returning iterator (end if not contained)
Definition: vbvector.hh:637
Iterator find(size_type i)
random access returning iterator (end if not contained)
Definition: vbvector.hh:628
ConstIterator begin() const
begin ConstIterator
Definition: vbvector.hh:728
void resize(size_type _nblocks, size_type m)
same effect as constructor with same argument
Definition: vbvector.hh:250
void resize(size_type _nblocks)
same effect as constructor with same argument
Definition: vbvector.hh:214
base_array_unmanaged< B, std::allocator< B > >::iterator Iterator
make iterators available as types
Definition: bvector.hh:60
base_array_unmanaged< B, std::allocator< B > >::const_iterator ConstIterator
make iterators available as types
Definition: bvector.hh:63
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)