LAMA
|
Structure with type definitions for solver routines. More...
#include <LAMAInterface.hpp>
Public Types | |
typedef void(* | jacobi )(ValueType solution[], const IndexType numRows, const IndexType ellNumValuesPerRow, const IndexType ellSizes[], const IndexType ellJA[], const ValueType ellValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, class SyncToken *syncToken) |
typedef void(* | jacobiHalo )(ValueType solution[], const IndexType numRows, const ValueType diagonal[], const IndexType ellNumValuesPerRow, const IndexType ellSizes[], const IndexType ellJA[], const ValueType ellValues[], const IndexType rowIndexes[], const IndexType numNonEmptyRows, const ValueType oldSolution[], const ValueType omega, class SyncToken *syncToken) |
Structure with type definitions for solver routines.
typedef void( * lama::ELLUtilsInterface::Solver< ValueType >::jacobi)(ValueType solution[], const IndexType numRows, const IndexType ellNumValuesPerRow, const IndexType ellSizes[], const IndexType ellJA[], const ValueType ellValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, class SyncToken *syncToken) |
[out] | solution | is solution vector, size is numRows |
[in] | numRows | is size of vectors and number of rows for matrix |
[in] | ellNumValuesPerRow | is maximal number of non-zero entries |
[in] | ellSizes,ellJA,ellValues | are arrays of ELL storage, numRows x numRows |
[in] | oldSolution | is the old solution, size is numRows |
[in] | rhs | is right hand side vector, size is numRows |
[in] | omega | is scaling factor |
[in] | syncToken | optional, NULL synchronous execution, otherwise asynchronous |
The ELL storage stands for a square matrix and must have diagonal property.
typedef void( * lama::ELLUtilsInterface::Solver< ValueType >::jacobiHalo)(ValueType solution[], const IndexType numRows, const ValueType diagonal[], const IndexType ellNumValuesPerRow, const IndexType ellSizes[], const IndexType ellJA[], const ValueType ellValues[], const IndexType rowIndexes[], const IndexType numNonEmptyRows, const ValueType oldSolution[], const ValueType omega, class SyncToken *syncToken) |