#include <LAMAInterface.hpp>
Public Types |
typedef void(* | getCSRValues )(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const DIAValueType diaValues[], const DIAValueType eps) |
| Type definition of function pointer for conversion of DIA storage data to CSR data.
|
template<typename DIAValueType, typename CSRValueType>
struct lama::DIAUtilsInterface::Conversions< DIAValueType, CSRValueType >
Member Typedef Documentation
template<typename DIAValueType , typename CSRValueType >
typedef void( * lama::DIAUtilsInterface::Conversions< DIAValueType, CSRValueType >::getCSRValues)(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const DIAValueType diaValues[], const DIAValueType eps) |
Type definition of function pointer for conversion of DIA storage data to CSR data.
- Parameters:
-
[out] | csrJA | will contain the column indexes |
[out] | csrValues | will contain the matrix elements |
[in] | csrIA | is the array with the offsets (must already be available before) |
[in] | numRows | is the number of rows |
[in] | numColumns | is the number of columns |
[in] | numDiagonals | number of diagonals used in the DIA format |
[in] | diaOffsets | diagonal offsets, size is numDiagonals |
[in] | diaValues | are stored values of the diagonals |
[in] | eps | threshold value when an element should be considered as zero |
- csrIA has numRows + 1 entries
- csrJA and csrValues must have at least numValues entries, numValues = csrIA[numRows]
The documentation for this struct was generated from the following file: