Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::Common::ProfiledFixedBlockMatrixBuilder Class Reference
Inheritance diagram for Alien::Common::ProfiledFixedBlockMatrixBuilder:
Collaboration diagram for Alien::Common::ProfiledFixedBlockMatrixBuilder:

Classes

class  MatrixElement

Public Types

using ResetFlag = ProfiledBlockMatrixBuilderOptions::ResetFlag

Public Member Functions

 ProfiledFixedBlockMatrixBuilder (IMatrix &matrix, const ResetFlag reset_values)
MatrixElement operator() (const Integer iIndex, const Integer jIndex)
void addData (const Integer iIndex, const Integer jIndex, ConstArray2View< Real > value)
void addData (const Integer iIndex, const Integer jIndex, const Real factor, ConstArray2View< Real > value)
void setData (const Integer iIndex, const Integer jIndex, ConstArray2View< Real > value)
void finalize ()

Private Member Functions

 ProfiledFixedBlockMatrixBuilder (const ProfiledFixedBlockMatrixBuilder &)
bool isLocal (Integer jIndex)

Private Attributes

IMatrixm_matrix
SimpleCSRMatrix< Real > * m_matrix_impl
Integer m_local_offset
Integer m_next_offset
Integer m_local_size
Integer m_block_size
ConstArrayView< Integer > m_row_starts
ConstArrayView< Integer > m_cols
ConstArrayView< Integer > m_local_row_size
ArrayView< Real > m_values
bool m_finalized

Detailed Description

Definition at line 59 of file ProfiledFixedBlockMatrixBuilder.h.

Member Typedef Documentation

◆ ResetFlag

using Alien::Common::ProfiledFixedBlockMatrixBuilder::ResetFlag = ProfiledBlockMatrixBuilderOptions::ResetFlag

Definition at line 94 of file ProfiledFixedBlockMatrixBuilder.h.

Constructor & Destructor Documentation

◆ ProfiledFixedBlockMatrixBuilder()

Alien::Common::ProfiledFixedBlockMatrixBuilder::ProfiledFixedBlockMatrixBuilder ( IMatrix & matrix,
const ResetFlag reset_values )

Definition at line 35 of file ProfiledFixedBlockMatrixBuilder.cc.

◆ ~ProfiledFixedBlockMatrixBuilder()

Alien::Common::ProfiledFixedBlockMatrixBuilder::~ProfiledFixedBlockMatrixBuilder ( )
virtual

Definition at line 78 of file ProfiledFixedBlockMatrixBuilder.cc.

Member Function Documentation

◆ addData() [1/2]

void Alien::Common::ProfiledFixedBlockMatrixBuilder::addData ( const Integer iIndex,
const Integer jIndex,
const Real factor,
ConstArray2View< Real > value )

Definition at line 122 of file ProfiledFixedBlockMatrixBuilder.cc.

◆ addData() [2/2]

void Alien::Common::ProfiledFixedBlockMatrixBuilder::addData ( const Integer iIndex,
const Integer jIndex,
ConstArray2View< Real > value )

Definition at line 87 of file ProfiledFixedBlockMatrixBuilder.cc.

◆ finalize()

void Alien::Common::ProfiledFixedBlockMatrixBuilder::finalize ( )

Definition at line 192 of file ProfiledFixedBlockMatrixBuilder.cc.

◆ isLocal()

bool Alien::Common::ProfiledFixedBlockMatrixBuilder::isLocal ( Integer jIndex)
inlineprivate

Definition at line 119 of file ProfiledFixedBlockMatrixBuilder.h.

◆ operator()()

MatrixElement Alien::Common::ProfiledFixedBlockMatrixBuilder::operator() ( const Integer iIndex,
const Integer jIndex )
inline

Definition at line 104 of file ProfiledFixedBlockMatrixBuilder.h.

◆ setData()

void Alien::Common::ProfiledFixedBlockMatrixBuilder::setData ( const Integer iIndex,
const Integer jIndex,
ConstArray2View< Real > value )

Definition at line 157 of file ProfiledFixedBlockMatrixBuilder.cc.

Member Data Documentation

◆ m_block_size

Integer Alien::Common::ProfiledFixedBlockMatrixBuilder::m_block_size
private

Definition at line 130 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_cols

ConstArrayView<Integer> Alien::Common::ProfiledFixedBlockMatrixBuilder::m_cols
private

Definition at line 132 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_finalized

bool Alien::Common::ProfiledFixedBlockMatrixBuilder::m_finalized
private

Definition at line 135 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_local_offset

Integer Alien::Common::ProfiledFixedBlockMatrixBuilder::m_local_offset
private

Definition at line 127 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_local_row_size

ConstArrayView<Integer> Alien::Common::ProfiledFixedBlockMatrixBuilder::m_local_row_size
private

Definition at line 133 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_local_size

Integer Alien::Common::ProfiledFixedBlockMatrixBuilder::m_local_size
private

Definition at line 129 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_matrix

IMatrix& Alien::Common::ProfiledFixedBlockMatrixBuilder::m_matrix
private

Definition at line 124 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_matrix_impl

SimpleCSRMatrix<Real>* Alien::Common::ProfiledFixedBlockMatrixBuilder::m_matrix_impl
private

Definition at line 125 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_next_offset

Integer Alien::Common::ProfiledFixedBlockMatrixBuilder::m_next_offset
private

Definition at line 128 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_row_starts

ConstArrayView<Integer> Alien::Common::ProfiledFixedBlockMatrixBuilder::m_row_starts
private

Definition at line 131 of file ProfiledFixedBlockMatrixBuilder.h.

◆ m_values

ArrayView<Real> Alien::Common::ProfiledFixedBlockMatrixBuilder::m_values
private

Definition at line 134 of file ProfiledFixedBlockMatrixBuilder.h.


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