LAMA
lama::COOUtilsInterface::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 cooNumValues, const IndexType cooIA[], const IndexType cooJA[], const ValueType cooValues[], const ValueType oldSolution[], const ValueType rhs[], const ValueType omega, const IndexType numRows, class SyncToken *syncToken)
 Method to compute one iteration step in Jacobi method.
typedef void(* jacobiHalo )(ValueType solution[], const ValueType diaValues[], const IndexType haloIA[], const IndexType haloJA[], const ValueType haloValues[], const IndexType haloRowIndexes[], const ValueType oldSolution[], const ValueType omega, const IndexType numNonEmptyRows)
 Method to compute one iteration step in Jacobi method.

Detailed Description

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

Structure with type definitions for solver routines.


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::COOUtilsInterface::Solver< ValueType >::jacobi)(ValueType *const solution, const IndexType cooNumValues, const IndexType cooIA[], const IndexType cooJA[], const ValueType cooValues[], 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

template<typename ValueType >
typedef void( * lama::COOUtilsInterface::Solver< ValueType >::jacobiHalo)(ValueType solution[], const ValueType diaValues[], const IndexType haloIA[], const IndexType haloJA[], const ValueType haloValues[], const IndexType haloRowIndexes[], const ValueType oldSolution[], const ValueType omega, const IndexType numNonEmptyRows)

Method to compute one iteration step in Jacobi method.

solution -= omega * ( B(halo) * oldSolution) * dinv


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