Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
MappedMatrixRow< Map > Class Template Reference

Sparse row of MappedMatrix. More...

#include <dune/fufem/mappedmatrix.hh>

Public Types

typedef MappedMatrixColIterator< Map > ConstIterator
 

Public Member Functions

 MappedMatrixRow (const Map &map, const Matrix &matrix, int row, int virtualRow)
 
ConstIterator begin () const
 
ConstIterator end () const
 
size_type size () const
 The number of nonzero blocks in this row.
 
ConstIterator find (typename Matrix::size_type col) const
 Get iterator to a particular column.
 

Protected Attributes

const Map * map_
 
const Matrix * matrix_
 
int row_
 
int virtualRow_
 

Detailed Description

template<class Map>
class MappedMatrixRow< Map >

Sparse row of MappedMatrix.

Be careful: Since MappedMatrix is not a real container the rows are proxy objects returned as copies and not as references.

Member Typedef Documentation

◆ ConstIterator

template<class Map >
typedef MappedMatrixColIterator<Map> MappedMatrixRow< Map >::ConstIterator

Constructor & Destructor Documentation

◆ MappedMatrixRow()

template<class Map >
MappedMatrixRow< Map >::MappedMatrixRow ( const Map &  map,
const Matrix &  matrix,
int  row,
int  virtualRow 
)
inline

Member Function Documentation

◆ begin()

template<class Map >
ConstIterator MappedMatrixRow< Map >::begin ( ) const
inline

◆ end()

template<class Map >
ConstIterator MappedMatrixRow< Map >::end ( ) const
inline

◆ find()

template<class Map >
ConstIterator MappedMatrixRow< Map >::find ( typename Matrix::size_type  col) const
inline

Get iterator to a particular column.

◆ size()

template<class Map >
size_type MappedMatrixRow< Map >::size ( ) const
inline

The number of nonzero blocks in this row.

Member Data Documentation

◆ map_

template<class Map >
const Map* MappedMatrixRow< Map >::map_
protected

◆ matrix_

template<class Map >
const Matrix* MappedMatrixRow< Map >::matrix_
protected

◆ row_

template<class Map >
int MappedMatrixRow< Map >::row_
protected

◆ virtualRow_

template<class Map >
int MappedMatrixRow< Map >::virtualRow_
protected

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