- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <dune/istl/diagonalmatrix.hh>
Public Types | |
enum | { dimension = n } |
enum | { blocklevel = 1 } |
We are at the leaf of the block recursion. More... | |
enum | { size = n } |
export size More... | |
typedef K | field_type |
export the type representing the field | |
typedef K | block_type |
export the type representing the components | |
typedef std::size_t | size_type |
The type used for the index access and size operation. | |
typedef ContainerWrapperIterator < DiagonalRowVectorConst< K, n > , const K, const K & > | ConstIterator |
ConstIterator class for sequential access. | |
typedef ConstIterator | const_iterator |
typedef for stl compliant access | |
Public Member Functions | |
DiagonalRowVectorConst () | |
Constructor making uninitialized vector. | |
DiagonalRowVectorConst (K *p, int col) | |
Constructor making vector with identical coordinates. | |
const K & | operator[] (size_type i) const |
same for read only access | |
bool | identical (const DiagonalRowVectorConst< K, n > &other) const |
ConstIterator | begin () const |
begin ConstIterator | |
ConstIterator | end () const |
end ConstIterator | |
ConstIterator | rbegin () const |
ConstIterator | beforeEnd () const |
ConstIterator | rend () const |
ConstIterator | beforeBegin () const |
bool | operator== (const DiagonalRowVectorConst &y) const |
Binary vector comparison. | |
size_type | N () const |
number of blocks in the vector (are of size 1 here) | |
size_type | dim () const |
dimension of the vector space | |
size_type | rowIndex () const |
index of this row in surrounding matrix | |
const K & | diagonal () const |
the diagonal value | |
Protected Member Functions | |
size_type | realIndex (int i) const |
K * | pointer (size_type i) const |
DiagonalRowVectorConst * | operator& () |
Protected Attributes | |
K * | p_ |
size_type | row_ |
Friends | |
class | DiagonalMatrixWrapper |
class | ContainerWrapperIterator< DiagonalRowVectorConst< K, n >, const K, const K & > |
typedef K Dune::DiagonalRowVectorConst< K, n >::block_type |
export the type representing the components
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
typedef ConstIterator Dune::DiagonalRowVectorConst< K, n >::const_iterator |
typedef for stl compliant access
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
typedef ContainerWrapperIterator<DiagonalRowVectorConst<K,n>, const K, const K&> Dune::DiagonalRowVectorConst< K, n >::ConstIterator |
ConstIterator class for sequential access.
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
typedef K Dune::DiagonalRowVectorConst< K, n >::field_type |
export the type representing the field
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
typedef std::size_t Dune::DiagonalRowVectorConst< K, n >::size_type |
The type used for the index access and size operation.
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
anonymous enum |
Dune::DiagonalRowVectorConst< K, n >::DiagonalRowVectorConst | ( | ) | [inline] |
Constructor making uninitialized vector.
Dune::DiagonalRowVectorConst< K, n >::DiagonalRowVectorConst | ( | K * | p, | |
int | col | |||
) | [inline, explicit] |
Constructor making vector with identical coordinates.
ConstIterator Dune::DiagonalRowVectorConst< K, n >::beforeBegin | ( | ) | const [inline] |
Referenced by Dune::DiagonalRowVectorConst< K, n >::rend().
ConstIterator Dune::DiagonalRowVectorConst< K, n >::beforeEnd | ( | ) | const [inline] |
Referenced by Dune::DiagonalRowVectorConst< K, n >::rbegin().
ConstIterator Dune::DiagonalRowVectorConst< K, n >::begin | ( | ) | const [inline] |
begin ConstIterator
const K& Dune::DiagonalRowVectorConst< K, n >::diagonal | ( | ) | const [inline] |
the diagonal value
References Dune::DiagonalRowVectorConst< K, n >::p_.
size_type Dune::DiagonalRowVectorConst< K, n >::dim | ( | ) | const [inline] |
dimension of the vector space
ConstIterator Dune::DiagonalRowVectorConst< K, n >::end | ( | ) | const [inline] |
end ConstIterator
bool Dune::DiagonalRowVectorConst< K, n >::identical | ( | const DiagonalRowVectorConst< K, n > & | other | ) | const [inline] |
size_type Dune::DiagonalRowVectorConst< K, n >::N | ( | ) | const [inline] |
number of blocks in the vector (are of size 1 here)
DiagonalRowVectorConst* Dune::DiagonalRowVectorConst< K, n >::operator& | ( | ) | [inline, protected] |
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
bool Dune::DiagonalRowVectorConst< K, n >::operator== | ( | const DiagonalRowVectorConst< K, n > & | y | ) | const [inline] |
Binary vector comparison.
References Dune::DiagonalRowVectorConst< K, n >::p_, and Dune::DiagonalRowVectorConst< K, n >::row_.
const K& Dune::DiagonalRowVectorConst< K, n >::operator[] | ( | size_type | i | ) | const [inline] |
same for read only access
References Dune::DiagonalRowVectorConst< K, n >::p_, and Dune::DiagonalRowVectorConst< K, n >::row_.
K* Dune::DiagonalRowVectorConst< K, n >::pointer | ( | size_type | i | ) | const [inline, protected] |
References Dune::DiagonalRowVectorConst< K, n >::p_.
ConstIterator Dune::DiagonalRowVectorConst< K, n >::rbegin | ( | ) | const [inline] |
References Dune::DiagonalRowVectorConst< K, n >::beforeEnd().
size_type Dune::DiagonalRowVectorConst< K, n >::realIndex | ( | int | i | ) | const [inline, protected] |
References Dune::DiagonalRowVectorConst< K, n >::rowIndex().
ConstIterator Dune::DiagonalRowVectorConst< K, n >::rend | ( | ) | const [inline] |
References Dune::DiagonalRowVectorConst< K, n >::beforeBegin().
size_type Dune::DiagonalRowVectorConst< K, n >::rowIndex | ( | ) | const [inline] |
index of this row in surrounding matrix
References Dune::DiagonalRowVectorConst< K, n >::row_.
Referenced by Dune::DiagonalRowVectorConst< K, n >::realIndex().
friend class ContainerWrapperIterator< DiagonalRowVectorConst< K, n >, const K, const K & > [friend] |
friend class DiagonalMatrixWrapper [friend] |
Reimplemented in Dune::DiagonalRowVector< K, n >, and Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >.
K* Dune::DiagonalRowVectorConst< K, n >::p_ [protected] |
Referenced by Dune::DiagonalRowVectorConst< K, n >::diagonal(), Dune::DiagonalRowVectorConst< K, n >::identical(), Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >::operator=(), Dune::DiagonalRowVectorConst< K, n >::operator==(), Dune::DiagonalRowVector< K, DiagonalMatrixType::rows >::operator[](), Dune::DiagonalRowVectorConst< K, n >::operator[](), and Dune::DiagonalRowVectorConst< K, n >::pointer().
size_type Dune::DiagonalRowVectorConst< K, n >::row_ [protected] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].