LAMA
|
Structure with type definitions for solver routines. More...
#include <LAMAInterface.hpp>
Public Types | |
typedef void(* | jacobi )(ValueType *const solution, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffset[], const ValueType diaValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, const IndexType numRows, class SyncToken *syncToken) |
Method to compute one iteration step in Jacobi method. |
Structure with type definitions for solver routines.
typedef void( * lama::DIAUtilsInterface::Solver< ValueType >::jacobi)(ValueType *const solution, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffset[], const ValueType diaValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, const IndexType numRows, class SyncToken *syncToken) |
Method to compute one iteration step in Jacobi method.
solution = omega * ( rhs + B * oldSolution) * dinv + ( 1 - omega ) * oldSolution