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

Structure with type definitions for solver routines. More...

#include <LAMAInterface.hpp>

Public Types

typedef void(* jacobi )(ValueType *const solution, const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsIlg[], const IndexType jdsNumDiagonals, const IndexType jdsDlg[], const IndexType jdsJA[], const ValueType jdsValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, class SyncToken *syncToken)
 Method to compute one iteration step in Jacobi method.
typedef void(* jacobiHalo )(ValueType solution[], const IndexType numRows, const ValueType invDiagonal[], const IndexType numDiagonals, const IndexType jdsHaloPerm[], const IndexType jdsHaloIlg[], const IndexType jdsHaloDlg[], const IndexType jdsHaloJA[], const ValueType jdsHaloValues[], const ValueType oldSolution[], const ValueType omega, class SyncToken *syncToken)
 Method to compute one iteration step in Jacobi method with halo.

Detailed Description

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

Structure with type definitions for solver routines.


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::JDSUtilsInterface::Solver< ValueType >::jacobi)(ValueType *const solution, const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsIlg[], const IndexType jdsNumDiagonals, const IndexType jdsDlg[], const IndexType jdsJA[], const ValueType jdsValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, class SyncToken *syncToken)

Method to compute one iteration step in Jacobi method.

solution = omega * ( rhs + B * oldSolution) * dinv + ( 1 - omega ) * oldSolution

template<typename ValueType >
typedef void( * lama::JDSUtilsInterface::Solver< ValueType >::jacobiHalo)(ValueType solution[], const IndexType numRows, const ValueType invDiagonal[], const IndexType numDiagonals, const IndexType jdsHaloPerm[], const IndexType jdsHaloIlg[], const IndexType jdsHaloDlg[], const IndexType jdsHaloJA[], const ValueType jdsHaloValues[], const ValueType oldSolution[], const ValueType omega, class SyncToken *syncToken)

Method to compute one iteration step in Jacobi method with halo.


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