|
dune-istl 2.8.0
|
Loading...
Searching...
No Matches
vbvector.hh
Go to the documentation of this file.
Helper functions for determining the vector/matrix block level.
This file implements a vector space as a tensor product of a given vector space. The number of compon...
int size() const
SLList< T, A > & operator=(const SLList< T, A > &other)
#define DUNE_THROW(E, m)
RealIterator< value_type, window_type & > Iterator
Definition vbvector.hh:647
typename Imp::BlockTraits< B >::field_type field_type
export the type representing the field
Definition vbvector.hh:53
A allocator_type
export the allocator type
Definition vbvector.hh:56
VariableBlockVector(size_type _nblocks, size_type m)
Definition vbvector.hh:132
size_type N() const
number of blocks in the vector (are of variable size here)
Definition vbvector.hh:724
VariableBlockVector(const VariableBlockVector &a)
copy constructor, has copy semantics
Definition vbvector.hh:170
VariableBlockVector(size_type _nblocks)
Definition vbvector.hh:106
~VariableBlockVector()
free dynamic memory
Definition vbvector.hh:213
window_type & operator[](size_type i)
random access to blocks
Definition vbvector.hh:561
CreateIterator createend()
get create iterator pointing to one after the last block
Definition vbvector.hh:550
CreateIterator createbegin()
get initial create iterator
Definition vbvector.hh:541
VariableBlockVector & operator=(const VariableBlockVector &a)
assignment
Definition vbvector.hh:320
ConstIterator rend() const
end ConstIterator
Definition vbvector.hh:704
A::size_type size_type
The size type for the index access.
Definition vbvector.hh:71
ConstIterator find(size_type i) const
random access returning iterator (end if not contained)
Definition vbvector.hh:716
Iterator find(size_type i)
random access returning iterator (end if not contained)
Definition vbvector.hh:710
const window_type & const_reference
Export type used for const references to container entries.
Definition vbvector.hh:68
RealIterator< const value_type, const window_type & > ConstIterator
Const iterator.
Definition vbvector.hh:679
ConstIterator begin() const
begin ConstIterator
Definition vbvector.hh:685
BlockVector< B, A > value_type
Type of the elements of the outer vector, i.e., dynamic vectors of B.
Definition vbvector.hh:78
BlockVector< B, A > block_type
Same as value_type, here for historical reasons.
Definition vbvector.hh:82
void resize(size_type _nblocks, size_type m)
same effect as constructor with same argument
Definition vbvector.hh:268
window_type & reference
Export type used for references to container entries.
Definition vbvector.hh:62
void resize(size_type _nblocks)
same effect as constructor with same argument
Definition vbvector.hh:232
Iterator class for sequential creation of blocks.
Definition vbvector.hh:441
bool operator==(const CreateIterator &it) const
equality
Definition vbvector.hh:503
size_type index() const
dereferencing
Definition vbvector.hh:509
SizeProxy reference
reference type
Definition vbvector.hh:461
size_type * pointer
pointer type
Definition vbvector.hh:458
bool operator!=(const CreateIterator &it) const
inequality
Definition vbvector.hh:497
~CreateIterator()
Definition vbvector.hh:469
size_type value_type
value type
Definition vbvector.hh:447
CreateIterator(VariableBlockVector &_v, int _i, bool _isEnd)
constructor
Definition vbvector.hh:464
void setblocksize(size_type _k)
set size of current block
Definition vbvector.hh:515
size_type & operator*()
Access size of current block.
Definition vbvector.hh:526
CreateIterator & operator++()
prefix increment
Definition vbvector.hh:480
void difference_type
difference type (unused)
Definition vbvector.hh:455
Iterator class for sequential access.
Definition vbvector.hh:582
RealIterator(window_type *_p, size_type _i)
constructor
Definition vbvector.hh:592
bool equals(const RealIterator &it) const
equality
Definition vbvector.hh:609
size_type index() const
Return the index of the entry this iterator is pointing to.
Definition vbvector.hh:637
window_type & elementAt(std::ptrdiff_t offset) const
Definition vbvector.hh:631
void decrement()
prefix decrement
Definition vbvector.hh:603
void advance(std::ptrdiff_t d)
Definition vbvector.hh:620
void increment()
prefix increment
Definition vbvector.hh:597
RealIterator()
constructor, no arguments
Definition vbvector.hh:585
std::ptrdiff_t distanceTo(const RealIterator &o) const
Definition vbvector.hh:625
window_type & dereference() const
dereferencing
Definition vbvector.hh:615
T allocate(T... args)
T deallocate(T... args)
T min(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8