KASKADE 7 development version
Public Member Functions | Protected Attributes | List of all members
Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index > Class Template Reference

A base class representing basic meta information about sparsity patterns of NUMA matrix chunks. More...

#include <threadedMatrix.hh>

Detailed Description

template<class Index = size_t>
class Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >

A base class representing basic meta information about sparsity patterns of NUMA matrix chunks.

Definition at line 270 of file threadedMatrix.hh.

Public Member Functions

 CRSChunkPatternInfo (Index first_, Index last_, Index cols_, bool symmetric, int node)
 Constructor. More...
 
Index first () const
 start of the covered row range More...
 
Index last () const
 end of the half-open row range More...
 
Index columns () const
 number of columns in the matrix More...
 
int node () const
 the NUMA node on which to allocate the memory More...
 
bool symmetric () const
 if true, only the lower triangular part is stored More...
 

Protected Attributes

Index firstRow
 
Index lastRow
 
Index cols
 

Constructor & Destructor Documentation

◆ CRSChunkPatternInfo()

template<class Index = size_t>
Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::CRSChunkPatternInfo ( Index  first_,
Index  last_,
Index  cols_,
bool  symmetric,
int  node 
)
inline

Constructor.

Parameters
firstRowindex of first row
lastRowindex one behind the las row (half-open STL style range)
colsthe number of columns
symmetricif true, store only lower triangular part
nodeNUMA node on which to hold the memory

Definition at line 281 of file threadedMatrix.hh.

Member Function Documentation

◆ columns()

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::columns ( ) const
inline

number of columns in the matrix

Definition at line 298 of file threadedMatrix.hh.

◆ first()

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::first ( ) const
inline

start of the covered row range

Definition at line 288 of file threadedMatrix.hh.

◆ last()

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::last ( ) const
inline

end of the half-open row range

Definition at line 293 of file threadedMatrix.hh.

◆ node()

template<class Index = size_t>
int Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::node ( ) const
inline

the NUMA node on which to allocate the memory

Definition at line 303 of file threadedMatrix.hh.

◆ symmetric()

template<class Index = size_t>
bool Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::symmetric ( ) const
inline

if true, only the lower triangular part is stored

Definition at line 308 of file threadedMatrix.hh.

Member Data Documentation

◆ cols

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::cols
protected

◆ firstRow

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::firstRow
protected

◆ lastRow

template<class Index = size_t>
Index Kaskade::ThreadedMatrixDetail::CRSChunkPatternInfo< Index >::lastRow
protected

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