Iterator class for sequential creation of blocks More...
#include <dune/istl/bcrsmatrix.hh>
Public Member Functions | |
CreateIterator (BCRSMatrix &_Mat, size_type _i) | |
constructor | |
CreateIterator & | operator++ () |
prefix increment | |
bool | operator!= (const CreateIterator &it) const |
inequality | |
bool | operator== (const CreateIterator &it) const |
equality | |
size_type | index () const |
dereferencing | |
void | insert (size_type j) |
put column index in row | |
bool | contains (size_type j) |
return true if column index is in row | |
size_type | size () const |
Get the current row size. |
Iterator class for sequential creation of blocks
Dune::BCRSMatrix< B, A >::CreateIterator::CreateIterator | ( | BCRSMatrix & | _Mat, | |
size_type | _i | |||
) | [inline] |
constructor
References Dune::BCRSMatrix< B, A >::row_wise, and Dune::BCRSMatrix< B, A >::unknown.
bool Dune::BCRSMatrix< B, A >::CreateIterator::contains | ( | size_type | j | ) | [inline] |
return true if column index is in row
size_type Dune::BCRSMatrix< B, A >::CreateIterator::index | ( | ) | const [inline] |
dereferencing
void Dune::BCRSMatrix< B, A >::CreateIterator::insert | ( | size_type | j | ) | [inline] |
put column index in row
bool Dune::BCRSMatrix< B, A >::CreateIterator::operator!= | ( | const CreateIterator & | it | ) | const [inline] |
inequality
CreateIterator& Dune::BCRSMatrix< B, A >::CreateIterator::operator++ | ( | ) | [inline] |
prefix increment
References Dune::CompressedBlockVectorWindow< B, A >::getindexptr(), Dune::CompressedBlockVectorWindow< B, A >::getptr(), Dune::CompressedBlockVectorWindow< B, A >::set(), Dune::CompressedBlockVectorWindow< B, A >::setindexptr(), and Dune::CompressedBlockVectorWindow< B, A >::setptr().
bool Dune::BCRSMatrix< B, A >::CreateIterator::operator== | ( | const CreateIterator & | it | ) | const [inline] |
equality
size_type Dune::BCRSMatrix< B, A >::CreateIterator::size | ( | ) | const [inline] |
Get the current row size.