Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::MatVec::MatrixImpl Class Reference

Matrix with CSR storage. More...

Collaboration diagram for Arcane::MatVec::MatrixImpl:

Public Member Functions

 MatrixImpl (Integer nb_row, Integer nb_column)
MatrixImpl * clone ()
Integer nbRow () const
Integer nbColumn () const
void setRowsSize (IntegerConstArrayView rows_size)
void setValues (IntegerConstArrayView columns, RealConstArrayView values)
void dump (std::ostream &o)
RealConstArrayView values () const
RealArrayView values ()
Real value (Integer row, Integer column) const
IntegerConstArrayView rowsIndex () const
IntegerConstArrayView columns () const
IntegerArrayView rowsIndex ()
IntegerArrayView columns ()
void setValue (Integer row, Integer column, Real value)
void sortDiagonale ()
void assemble ()
void checkValid ()
void addReference ()
void removeReference ()

Private Member Functions

void operator= (const Matrix &rhs)

Private Attributes

Integer m_nb_reference
Integer m_nb_row
Integer m_nb_column
Integer m_nb_element
SharedArray< Realm_values
SharedArray< Integerm_rows_index
SharedArray< Integerm_columns

Detailed Description

Matrix with CSR storage.

Definition at line 39 of file Matrix.cc.

Constructor & Destructor Documentation

◆ MatrixImpl() [1/2]

Arcane::MatVec::MatrixImpl::MatrixImpl ( )
inline

Definition at line 43 of file Matrix.cc.

◆ MatrixImpl() [2/2]

Arcane::MatVec::MatrixImpl::MatrixImpl ( Integer nb_row,
Integer nb_column )

Definition at line 119 of file Matrix.cc.

Member Function Documentation

◆ addReference()

void Arcane::MatVec::MatrixImpl::addReference ( )
inline

Definition at line 94 of file Matrix.cc.

◆ assemble()

void Arcane::MatVec::MatrixImpl::assemble ( )

Definition at line 1061 of file Matrix.cc.

◆ checkValid()

void Arcane::MatVec::MatrixImpl::checkValid ( )

Definition at line 963 of file Matrix.cc.

◆ clone()

MatrixImpl * Arcane::MatVec::MatrixImpl::clone ( )
inline

Definition at line 57 of file Matrix.cc.

◆ columns() [1/2]

IntegerArrayView Arcane::MatVec::MatrixImpl::columns ( )
inline

Definition at line 83 of file Matrix.cc.

◆ columns() [2/2]

IntegerConstArrayView Arcane::MatVec::MatrixImpl::columns ( ) const
inline

Definition at line 81 of file Matrix.cc.

◆ dump()

void Arcane::MatVec::MatrixImpl::dump ( std::ostream & o)

Definition at line 1095 of file Matrix.cc.

◆ nbColumn()

Integer Arcane::MatVec::MatrixImpl::nbColumn ( ) const
inline

Definition at line 73 of file Matrix.cc.

◆ nbRow()

Integer Arcane::MatVec::MatrixImpl::nbRow ( ) const
inline

Definition at line 72 of file Matrix.cc.

◆ removeReference()

void Arcane::MatVec::MatrixImpl::removeReference ( )
inline

Definition at line 98 of file Matrix.cc.

◆ rowsIndex() [1/2]

IntegerArrayView Arcane::MatVec::MatrixImpl::rowsIndex ( )
inline

Definition at line 82 of file Matrix.cc.

◆ rowsIndex() [2/2]

IntegerConstArrayView Arcane::MatVec::MatrixImpl::rowsIndex ( ) const
inline

Definition at line 80 of file Matrix.cc.

◆ setRowsSize()

void Arcane::MatVec::MatrixImpl::setRowsSize ( IntegerConstArrayView rows_size)

Definition at line 933 of file Matrix.cc.

◆ setValue()

void Arcane::MatVec::MatrixImpl::setValue ( Integer row,
Integer column,
Real value )

Definition at line 1002 of file Matrix.cc.

◆ setValues()

void Arcane::MatVec::MatrixImpl::setValues ( IntegerConstArrayView columns,
RealConstArrayView values )

Definition at line 951 of file Matrix.cc.

◆ sortDiagonale()

void Arcane::MatVec::MatrixImpl::sortDiagonale ( )

Definition at line 1030 of file Matrix.cc.

◆ value()

Real Arcane::MatVec::MatrixImpl::value ( Integer row,
Integer column ) const

Definition at line 985 of file Matrix.cc.

◆ values() [1/2]

RealArrayView Arcane::MatVec::MatrixImpl::values ( )
inline

Definition at line 78 of file Matrix.cc.

◆ values() [2/2]

RealConstArrayView Arcane::MatVec::MatrixImpl::values ( ) const
inline

Definition at line 77 of file Matrix.cc.

Member Data Documentation

◆ m_columns

SharedArray<Integer> Arcane::MatVec::MatrixImpl::m_columns
private

Definition at line 113 of file Matrix.cc.

◆ m_nb_column

Integer Arcane::MatVec::MatrixImpl::m_nb_column
private

Definition at line 109 of file Matrix.cc.

◆ m_nb_element

Integer Arcane::MatVec::MatrixImpl::m_nb_element
private

Definition at line 110 of file Matrix.cc.

◆ m_nb_reference

Integer Arcane::MatVec::MatrixImpl::m_nb_reference
private

Definition at line 107 of file Matrix.cc.

◆ m_nb_row

Integer Arcane::MatVec::MatrixImpl::m_nb_row
private

Definition at line 108 of file Matrix.cc.

◆ m_rows_index

SharedArray<Integer> Arcane::MatVec::MatrixImpl::m_rows_index
private

Definition at line 112 of file Matrix.cc.

◆ m_values

SharedArray<Real> Arcane::MatVec::MatrixImpl::m_values
private

Definition at line 111 of file Matrix.cc.


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