32 #include <cusp/detail/config.h>
34 #include <cusp/linear_operator.h>
43 template<
typename MatrixType>
struct sa_level;
50 template <
typename ValueType,
typename MemorySpace,
typename Orientation>
59 cusp::array2d<ValueType, MemorySpace, Orientation>
residual;
60 cusp::array2d<ValueType, MemorySpace, Orientation>
h;
61 cusp::array2d<ValueType, MemorySpace, Orientation>
y;
65 template <
typename MatrixType,
typename VectorType>
68 template <
typename MemorySpace2>
71 template <
typename MatrixType>
75 template<
typename MatrixType,
typename VectorType1,
typename VectorType2>
76 void presmooth(
const MatrixType&
A,
const VectorType1& b, VectorType2& x);
79 template<
typename MatrixType,
typename VectorType1,
typename VectorType2>
80 void postsmooth(
const MatrixType&
A,
const VectorType1& b, VectorType2& x);
82 template <
typename MatrixType,
typename VectorType1,
typename VectorType2>
83 void operator()(
const MatrixType&
A,
const VectorType1& b, VectorType2& x)
const;
85 template <
typename MatrixType,
typename VectorType1,
typename VectorType2,
typename VectorType3>
86 void operator()(
const MatrixType&
A,
const VectorType1& b, VectorType2& x, VectorType3& coeffients);
92 #include <cusp/relaxation/block_polynomial.inl>
void presmooth(const MatrixType &A, const VectorType1 &b, VectorType2 &x)
cusp::array2d< ValueType, MemorySpace, Orientation > h
void operator()(const MatrixType &A, const VectorType1 &b, VectorType2 &x) const
cusp::array1d< ValueType, cusp::host_memory > default_coefficients
cusp::array2d< ValueType, MemorySpace, Orientation > residual
void postsmooth(const MatrixType &A, const VectorType1 &b, VectorType2 &x)
cusp::array2d< ValueType, MemorySpace, Orientation > y