LAMA
lama::ELLUtilsInterface::Solver< ValueType > Struct Template Reference

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)

Detailed Description

template<typename ValueType>
struct lama::ELLUtilsInterface::Solver< ValueType >

Structure with type definitions for solver routines.


Member Typedef Documentation

template<typename ValueType >
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)
Parameters:
[out]solutionis solution vector, size is numRows
[in]numRowsis size of vectors and number of rows for matrix
[in]ellNumValuesPerRowis maximal number of non-zero entries
[in]ellSizes,ellJA,ellValuesare arrays of ELL storage, numRows x numRows
[in]oldSolutionis the old solution, size is numRows
[in]rhsis right hand side vector, size is numRows
[in]omegais scaling factor
[in]syncTokenoptional, NULL synchronous execution, otherwise asynchronous

The ELL storage stands for a square matrix and must have diagonal property.

template<typename ValueType >
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)

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