dune-istl 2.10
Loading...
Searching...
No Matches
Dune::BCRSMatrix< B, A >::CreateIterator Class Reference

Iterator class for sequential creation of blocks More...

#include <dune/istl/bcrsmatrix.hh>

Public Member Functions

 CreateIterator (BCRSMatrix &_Mat, size_type _i)
 constructor
 
CreateIteratoroperator++ ()
 prefix increment
 
bool operator!= (const CreateIterator &it) const
 inequality
 
bool operator== (const CreateIterator &it) const
 equality
 
size_type index () const
 The number of the row that the iterator currently points to.
 
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.
 

Detailed Description

template<typename B, typename A>
class Dune::BCRSMatrix< B, A >::CreateIterator

Iterator class for sequential creation of blocks

Constructor & Destructor Documentation

◆ CreateIterator()

template<typename B , typename A >
Dune::BCRSMatrix< B, A >::CreateIterator::CreateIterator ( BCRSMatrix & _Mat,
size_type _i )
inline

constructor

Member Function Documentation

◆ contains()

template<typename B , typename A >
bool Dune::BCRSMatrix< B, A >::CreateIterator::contains ( size_type j)
inline

return true if column index is in row

◆ index()

template<typename B , typename A >
size_type Dune::BCRSMatrix< B, A >::CreateIterator::index ( ) const
inline

The number of the row that the iterator currently points to.

◆ insert()

template<typename B , typename A >
void Dune::BCRSMatrix< B, A >::CreateIterator::insert ( size_type j)
inline

put column index in row

◆ operator!=()

template<typename B , typename A >
bool Dune::BCRSMatrix< B, A >::CreateIterator::operator!= ( const CreateIterator & it) const
inline

inequality

◆ operator++()

template<typename B , typename A >
CreateIterator & Dune::BCRSMatrix< B, A >::CreateIterator::operator++ ( )
inline

prefix increment

◆ operator==()

template<typename B , typename A >
bool Dune::BCRSMatrix< B, A >::CreateIterator::operator== ( const CreateIterator & it) const
inline

equality

◆ size()

template<typename B , typename A >
size_type Dune::BCRSMatrix< B, A >::CreateIterator::size ( ) const
inline

Get the current row size.

Returns
The number of indices already inserted for the current row.

The documentation for this class was generated from the following file: