Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::SimpleCSRInternal::CSRStructInfo Class Reference

Public Types

enum  ColOrdering { eUndef , eOwnAndGhost , eFull }
typedef Integer IndexType
typedef Alien::StdTimer TimerType
typedef TimerType::Sentry SentryType

Public Member Functions

 CSRStructInfo (bool is_variable_block=false)
 CSRStructInfo (Integer nrow, bool is_variable_block=false)
 CSRStructInfo (Integer nrow, const int *kcol, const int *cols)
 CSRStructInfo (const CSRStructInfo &src)
CSRStructInfo & operator= (const CSRStructInfo &src)
CSRStructInfo * clone () const
void init (Arccore::Integer nrow)
void init (Integer nrows, Integer nnz)
Arccore::Int64 timestamp () const
void setTimestamp (Arccore::Int64 value)
bool getSymmetric () const
void setSymmetric (bool value)
Integer getNRows () const
Integer getNRow () const
Arccore::UniqueArray< Arccore::Integer > & getBlockRowOffset ()
Arccore::ArrayView< Integer > getRowOffset ()
Arccore::ConstArrayView< Integer > getRowOffset () const
const int * kcol () const
int * kcol ()
ConstArrayView< Integer > getBlockRowOffset () const
UniqueArray< Integer > & getCols ()
UniqueArray< Integer > & getBlockCols ()
ConstArrayView< Integer > getCols () const
int * cols ()
const int * cols () const
ConstArrayView< Integer > getBlockCols () const
ColOrdering & getColOrdering ()
ColOrdering getColOrdering () const
void setDiagFirst (bool val)
bool getDiagFirstOpt () const
Integer getRowSize (Integer row) const
Integer getBlockRowSize (Integer row) const
Integer getNnz () const
Integer getNElems () const
Integer getBlockNnz () const
UniqueArray< Integer > & getUpperDiagOffset ()
ConstArrayView< Integer > getUpperDiagOffset () const
int const * dcol () const
void allocate ()
void computeUpperDiagOffset () const
Integer computeBandeSize () const
Integer computeUpperBandeSize () const
Integer computeLowerBandeSize () const
Integer computeMaxRowSize () const
Integer getMaxRowSize () const
void copy (const CSRStructInfo &profile)

Protected Attributes

bool m_is_variable_block = false
Arccore::Integer m_nrow = 0
ColOrdering m_col_ordering = eUndef
bool m_diag_first = false
int m_max_row_size = -1
bool m_symmetric = true
Arccore::Int64 m_timestamp = -1
Arccore::UniqueArray< Arccore::Integer > m_row_offset
Arccore::UniqueArray< Arccore::Integer > m_block_row_offset
Arccore::UniqueArray< Arccore::Integer > m_cols
Arccore::UniqueArray< Arccore::Integer > m_block_cols
Arccore::UniqueArray< Arccore::Integer > m_upper_diag_offset

Detailed Description

Definition at line 19 of file CSRStructInfo.h.

Member Typedef Documentation

◆ IndexType

typedef Integer Alien::SimpleCSRInternal::CSRStructInfo::IndexType

Definition at line 29 of file CSRStructInfo.h.

◆ SentryType

typedef TimerType::Sentry Alien::SimpleCSRInternal::CSRStructInfo::SentryType

Definition at line 31 of file CSRStructInfo.h.

◆ TimerType

typedef Alien::StdTimer Alien::SimpleCSRInternal::CSRStructInfo::TimerType

Definition at line 30 of file CSRStructInfo.h.

Member Enumeration Documentation

◆ ColOrdering

enum Alien::SimpleCSRInternal::CSRStructInfo::ColOrdering

Definition at line 22 of file CSRStructInfo.h.

Constructor & Destructor Documentation

◆ CSRStructInfo() [1/4]

Alien::SimpleCSRInternal::CSRStructInfo::CSRStructInfo ( bool is_variable_block = false)
inline

Definition at line 37 of file CSRStructInfo.h.

◆ CSRStructInfo() [2/4]

Alien::SimpleCSRInternal::CSRStructInfo::CSRStructInfo ( Integer nrow,
bool is_variable_block = false )
inline

Definition at line 41 of file CSRStructInfo.h.

◆ CSRStructInfo() [3/4]

Alien::SimpleCSRInternal::CSRStructInfo::CSRStructInfo ( Integer nrow,
const int * kcol,
const int * cols )
inline

Definition at line 50 of file CSRStructInfo.h.

◆ CSRStructInfo() [4/4]

Alien::SimpleCSRInternal::CSRStructInfo::CSRStructInfo ( const CSRStructInfo & src)
inline

Definition at line 61 of file CSRStructInfo.h.

◆ ~CSRStructInfo()

virtual Alien::SimpleCSRInternal::CSRStructInfo::~CSRStructInfo ( )
inlinevirtual

Definition at line 63 of file CSRStructInfo.h.

Member Function Documentation

◆ allocate()

void Alien::SimpleCSRInternal::CSRStructInfo::allocate ( )
inline

Definition at line 258 of file CSRStructInfo.h.

◆ clone()

CSRStructInfo * Alien::SimpleCSRInternal::CSRStructInfo::clone ( ) const
inline

Definition at line 76 of file CSRStructInfo.h.

◆ cols() [1/2]

int * Alien::SimpleCSRInternal::CSRStructInfo::cols ( )
inline

Definition at line 174 of file CSRStructInfo.h.

◆ cols() [2/2]

const int * Alien::SimpleCSRInternal::CSRStructInfo::cols ( ) const
inline

Definition at line 179 of file CSRStructInfo.h.

◆ computeBandeSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::computeBandeSize ( ) const
inline

Definition at line 286 of file CSRStructInfo.h.

◆ computeLowerBandeSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::computeLowerBandeSize ( ) const
inline

Definition at line 316 of file CSRStructInfo.h.

◆ computeMaxRowSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::computeMaxRowSize ( ) const
inline

Definition at line 333 of file CSRStructInfo.h.

◆ computeUpperBandeSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::computeUpperBandeSize ( ) const
inline

Definition at line 302 of file CSRStructInfo.h.

◆ computeUpperDiagOffset()

void Alien::SimpleCSRInternal::CSRStructInfo::computeUpperDiagOffset ( ) const
inline

Definition at line 266 of file CSRStructInfo.h.

◆ copy()

void Alien::SimpleCSRInternal::CSRStructInfo::copy ( const CSRStructInfo & profile)
inline

Definition at line 348 of file CSRStructInfo.h.

◆ dcol()

int const * Alien::SimpleCSRInternal::CSRStructInfo::dcol ( ) const
inline

Definition at line 248 of file CSRStructInfo.h.

◆ getBlockCols() [1/2]

UniqueArray< Integer > & Alien::SimpleCSRInternal::CSRStructInfo::getBlockCols ( )
inline

Definition at line 164 of file CSRStructInfo.h.

◆ getBlockCols() [2/2]

ConstArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getBlockCols ( ) const
inline

Definition at line 184 of file CSRStructInfo.h.

◆ getBlockNnz()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getBlockNnz ( ) const
inline

Definition at line 229 of file CSRStructInfo.h.

◆ getBlockRowOffset() [1/2]

Arccore::UniqueArray< Arccore::Integer > & Alien::SimpleCSRInternal::CSRStructInfo::getBlockRowOffset ( )
inline

Definition at line 129 of file CSRStructInfo.h.

◆ getBlockRowOffset() [2/2]

ConstArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getBlockRowOffset ( ) const
inline

Definition at line 154 of file CSRStructInfo.h.

◆ getBlockRowSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getBlockRowSize ( Integer row) const
inline

Definition at line 214 of file CSRStructInfo.h.

◆ getColOrdering() [1/2]

ColOrdering & Alien::SimpleCSRInternal::CSRStructInfo::getColOrdering ( )
inline

Definition at line 189 of file CSRStructInfo.h.

◆ getColOrdering() [2/2]

ColOrdering Alien::SimpleCSRInternal::CSRStructInfo::getColOrdering ( ) const
inline

Definition at line 194 of file CSRStructInfo.h.

◆ getCols() [1/2]

UniqueArray< Integer > & Alien::SimpleCSRInternal::CSRStructInfo::getCols ( )
inline

Definition at line 159 of file CSRStructInfo.h.

◆ getCols() [2/2]

ConstArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getCols ( ) const
inline

Definition at line 169 of file CSRStructInfo.h.

◆ getDiagFirstOpt()

bool Alien::SimpleCSRInternal::CSRStructInfo::getDiagFirstOpt ( ) const
inline

Definition at line 204 of file CSRStructInfo.h.

◆ getMaxRowSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getMaxRowSize ( ) const
inline

Definition at line 341 of file CSRStructInfo.h.

◆ getNElems()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getNElems ( ) const
inline

Definition at line 224 of file CSRStructInfo.h.

◆ getNnz()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getNnz ( ) const
inline

Definition at line 219 of file CSRStructInfo.h.

◆ getNRow()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getNRow ( ) const
inline

Definition at line 124 of file CSRStructInfo.h.

◆ getNRows()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getNRows ( ) const
inline

Definition at line 119 of file CSRStructInfo.h.

◆ getRowOffset() [1/2]

Arccore::ArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getRowOffset ( )
inline

Definition at line 134 of file CSRStructInfo.h.

◆ getRowOffset() [2/2]

Arccore::ConstArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getRowOffset ( ) const
inline

Definition at line 139 of file CSRStructInfo.h.

◆ getRowSize()

Integer Alien::SimpleCSRInternal::CSRStructInfo::getRowSize ( Integer row) const
inline

Definition at line 209 of file CSRStructInfo.h.

◆ getSymmetric()

bool Alien::SimpleCSRInternal::CSRStructInfo::getSymmetric ( ) const
inline

Definition at line 109 of file CSRStructInfo.h.

◆ getUpperDiagOffset() [1/2]

UniqueArray< Integer > & Alien::SimpleCSRInternal::CSRStructInfo::getUpperDiagOffset ( )
inline

Definition at line 234 of file CSRStructInfo.h.

◆ getUpperDiagOffset() [2/2]

ConstArrayView< Integer > Alien::SimpleCSRInternal::CSRStructInfo::getUpperDiagOffset ( ) const
inline

Definition at line 241 of file CSRStructInfo.h.

◆ init() [1/2]

void Alien::SimpleCSRInternal::CSRStructInfo::init ( Arccore::Integer nrow)
inline

Definition at line 81 of file CSRStructInfo.h.

◆ init() [2/2]

void Alien::SimpleCSRInternal::CSRStructInfo::init ( Integer nrows,
Integer nnz )
inline

Definition at line 89 of file CSRStructInfo.h.

◆ kcol() [1/2]

int * Alien::SimpleCSRInternal::CSRStructInfo::kcol ( )
inline

Definition at line 149 of file CSRStructInfo.h.

◆ kcol() [2/2]

const int * Alien::SimpleCSRInternal::CSRStructInfo::kcol ( ) const
inline

Definition at line 144 of file CSRStructInfo.h.

◆ operator=()

CSRStructInfo & Alien::SimpleCSRInternal::CSRStructInfo::operator= ( const CSRStructInfo & src)
inline

Definition at line 70 of file CSRStructInfo.h.

◆ setDiagFirst()

void Alien::SimpleCSRInternal::CSRStructInfo::setDiagFirst ( bool val)
inline

Definition at line 199 of file CSRStructInfo.h.

◆ setSymmetric()

void Alien::SimpleCSRInternal::CSRStructInfo::setSymmetric ( bool value)
inline

Definition at line 114 of file CSRStructInfo.h.

◆ setTimestamp()

void Alien::SimpleCSRInternal::CSRStructInfo::setTimestamp ( Arccore::Int64 value)
inline

Definition at line 104 of file CSRStructInfo.h.

◆ timestamp()

Arccore::Int64 Alien::SimpleCSRInternal::CSRStructInfo::timestamp ( ) const
inline

Definition at line 99 of file CSRStructInfo.h.

Member Data Documentation

◆ m_block_cols

Arccore::UniqueArray<Arccore::Integer> Alien::SimpleCSRInternal::CSRStructInfo::m_block_cols
protected

Definition at line 384 of file CSRStructInfo.h.

◆ m_block_row_offset

Arccore::UniqueArray<Arccore::Integer> Alien::SimpleCSRInternal::CSRStructInfo::m_block_row_offset
protected

Definition at line 382 of file CSRStructInfo.h.

◆ m_col_ordering

ColOrdering Alien::SimpleCSRInternal::CSRStructInfo::m_col_ordering = eUndef
protected

Definition at line 376 of file CSRStructInfo.h.

◆ m_cols

Arccore::UniqueArray<Arccore::Integer> Alien::SimpleCSRInternal::CSRStructInfo::m_cols
protected

Definition at line 383 of file CSRStructInfo.h.

◆ m_diag_first

bool Alien::SimpleCSRInternal::CSRStructInfo::m_diag_first = false
protected

Definition at line 377 of file CSRStructInfo.h.

◆ m_is_variable_block

bool Alien::SimpleCSRInternal::CSRStructInfo::m_is_variable_block = false
protected

Definition at line 374 of file CSRStructInfo.h.

◆ m_max_row_size

int Alien::SimpleCSRInternal::CSRStructInfo::m_max_row_size = -1
mutableprotected

Definition at line 378 of file CSRStructInfo.h.

◆ m_nrow

Arccore::Integer Alien::SimpleCSRInternal::CSRStructInfo::m_nrow = 0
protected

Definition at line 375 of file CSRStructInfo.h.

◆ m_row_offset

Arccore::UniqueArray<Arccore::Integer> Alien::SimpleCSRInternal::CSRStructInfo::m_row_offset
protected

Definition at line 381 of file CSRStructInfo.h.

◆ m_symmetric

bool Alien::SimpleCSRInternal::CSRStructInfo::m_symmetric = true
protected

Definition at line 379 of file CSRStructInfo.h.

◆ m_timestamp

Arccore::Int64 Alien::SimpleCSRInternal::CSRStructInfo::m_timestamp = -1
protected

Definition at line 380 of file CSRStructInfo.h.

◆ m_upper_diag_offset

Arccore::UniqueArray<Arccore::Integer> Alien::SimpleCSRInternal::CSRStructInfo::m_upper_diag_offset
mutableprotected

Definition at line 385 of file CSRStructInfo.h.


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