Dune Core Modules (2.9.0)

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. More...
 

Detailed Description

template<class B, class A = std::allocator<B>>
class Dune::BCRSMatrix< B, A >::CreateIterator

Iterator class for sequential creation of blocks

Member Function Documentation

◆ size()

template<class B , class A = std::allocator<B>>
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)