Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::SimpleCSRInternal::MatrixInternal< ValueT > Class Template Reference
Collaboration diagram for Alien::SimpleCSRInternal::MatrixInternal< ValueT >:

Public Types

typedef ValueT ValueType
typedef MatrixInternal< ValueType > ThisType
typedef CSRStructInfo ProfileType

Public Member Functions

 MatrixInternal (bool is_variable_block=false)
void setValues (ValueT value)
ConstArrayView< ValueType > getValues () const
UniqueArray< ValueType > & getValues ()
ValueType * getDataPtr ()
ValueType const * getDataPtr () const
CSRStructInfogetCSRProfile ()
const CSRStructInfogetCSRProfile () const
Integer getRowSize (Integer row) const
void scal (ValueType const *diag)
void clear ()
MatrixInternal< ValueT > * clone () const
template<typename T>
void copy (const MatrixInternal< T > &internal)
template<typename T>
void copy (const MatrixInternal< T > &internal, Integer block_size1, Integer block_size2, Integer nb_blocks)
bool needUpdate ()
void notifyChanges ()
void endUpdate ()

Public Attributes

bool m_is_update = false
UniqueArray< ValueType > m_values
std::shared_ptr< CSRStructInfom_profile

Detailed Description

template<typename ValueT = Real>
class Alien::SimpleCSRInternal::MatrixInternal< ValueT >

Definition at line 21 of file SimpleCSRInternal.h.

Member Typedef Documentation

◆ ProfileType

template<typename ValueT = Real>
typedef CSRStructInfo Alien::SimpleCSRInternal::MatrixInternal< ValueT >::ProfileType

Definition at line 26 of file SimpleCSRInternal.h.

◆ ThisType

template<typename ValueT = Real>
typedef MatrixInternal<ValueType> Alien::SimpleCSRInternal::MatrixInternal< ValueT >::ThisType

Definition at line 25 of file SimpleCSRInternal.h.

◆ ValueType

template<typename ValueT = Real>
typedef ValueT Alien::SimpleCSRInternal::MatrixInternal< ValueT >::ValueType

Definition at line 24 of file SimpleCSRInternal.h.

Constructor & Destructor Documentation

◆ MatrixInternal()

template<typename ValueT = Real>
Alien::SimpleCSRInternal::MatrixInternal< ValueT >::MatrixInternal ( bool is_variable_block = false)
inline

Definition at line 29 of file SimpleCSRInternal.h.

◆ ~MatrixInternal()

template<typename ValueT = Real>
Alien::SimpleCSRInternal::MatrixInternal< ValueT >::~MatrixInternal ( )
inline

Definition at line 33 of file SimpleCSRInternal.h.

Member Function Documentation

◆ clear()

template<typename ValueT = Real>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::clear ( )
inline

Definition at line 67 of file SimpleCSRInternal.h.

◆ clone()

template<typename ValueT = Real>
MatrixInternal< ValueT > * Alien::SimpleCSRInternal::MatrixInternal< ValueT >::clone ( ) const
inline

Definition at line 69 of file SimpleCSRInternal.h.

◆ copy() [1/2]

template<typename ValueT = Real>
template<typename T>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::copy ( const MatrixInternal< T > & internal)
inline

Definition at line 72 of file SimpleCSRInternal.h.

◆ copy() [2/2]

template<typename ValueT = Real>
template<typename T>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::copy ( const MatrixInternal< T > & internal,
Integer block_size1,
Integer block_size2,
Integer nb_blocks )
inline

Definition at line 79 of file SimpleCSRInternal.h.

◆ endUpdate()

template<typename ValueT = Real>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::endUpdate ( )
inline

Definition at line 124 of file SimpleCSRInternal.h.

◆ getCSRProfile() [1/2]

template<typename ValueT = Real>
CSRStructInfo & Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getCSRProfile ( )
inline

Definition at line 49 of file SimpleCSRInternal.h.

◆ getCSRProfile() [2/2]

template<typename ValueT = Real>
const CSRStructInfo & Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getCSRProfile ( ) const
inline

Definition at line 51 of file SimpleCSRInternal.h.

◆ getDataPtr() [1/2]

template<typename ValueT = Real>
ValueType * Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getDataPtr ( )
inline

Definition at line 44 of file SimpleCSRInternal.h.

◆ getDataPtr() [2/2]

template<typename ValueT = Real>
ValueType const * Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getDataPtr ( ) const
inline

Definition at line 46 of file SimpleCSRInternal.h.

◆ getRowSize()

template<typename ValueT = Real>
Integer Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getRowSize ( Integer row) const
inline

Definition at line 53 of file SimpleCSRInternal.h.

◆ getValues() [1/2]

template<typename ValueT = Real>
UniqueArray< ValueType > & Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getValues ( )
inline

Definition at line 42 of file SimpleCSRInternal.h.

◆ getValues() [2/2]

template<typename ValueT = Real>
ConstArrayView< ValueType > Alien::SimpleCSRInternal::MatrixInternal< ValueT >::getValues ( ) const
inline

Definition at line 40 of file SimpleCSRInternal.h.

◆ needUpdate()

template<typename ValueT = Real>
bool Alien::SimpleCSRInternal::MatrixInternal< ValueT >::needUpdate ( )
inline

Definition at line 114 of file SimpleCSRInternal.h.

◆ notifyChanges()

template<typename ValueT = Real>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::notifyChanges ( )
inline

Definition at line 119 of file SimpleCSRInternal.h.

◆ scal()

template<typename ValueT = Real>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::scal ( ValueType const * diag)
inline

Definition at line 55 of file SimpleCSRInternal.h.

◆ setValues()

template<typename ValueT = Real>
void Alien::SimpleCSRInternal::MatrixInternal< ValueT >::setValues ( ValueT value)
inline

Definition at line 35 of file SimpleCSRInternal.h.

Member Data Documentation

◆ m_is_update

template<typename ValueT = Real>
bool Alien::SimpleCSRInternal::MatrixInternal< ValueT >::m_is_update = false

Definition at line 129 of file SimpleCSRInternal.h.

◆ m_profile

template<typename ValueT = Real>
std::shared_ptr<CSRStructInfo> Alien::SimpleCSRInternal::MatrixInternal< ValueT >::m_profile

Definition at line 131 of file SimpleCSRInternal.h.

◆ m_values

template<typename ValueT = Real>
UniqueArray<ValueType> Alien::SimpleCSRInternal::MatrixInternal< ValueT >::m_values

Definition at line 130 of file SimpleCSRInternal.h.


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