Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
cusp::relaxation::block_jacobi< ValueType, MemorySpace > Class Template Reference

#include <block_jacobi.h>

Inherits linear_operator< ValueType, MemorySpace >.

Public Member Functions

 block_jacobi ()
 
template<typename MatrixType >
 block_jacobi (const MatrixType &A, ValueType omega=1.0)
 
template<typename MemorySpace2 >
 block_jacobi (const block_jacobi< ValueType, MemorySpace2 > &A)
 
template<typename MatrixType >
 block_jacobi (const cusp::precond::aggregation::sa_level< MatrixType > &sa_level, ValueType weight=4.0/3.0)
 
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void presmooth (const MatrixType &A, const VectorType1 &b, VectorType2 &x)
 
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void postsmooth (const MatrixType &A, const VectorType1 &b, VectorType2 &x)
 
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void operator() (const MatrixType &A, const VectorType1 &b, VectorType2 &x)
 
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void operator() (const MatrixType &A, const VectorType1 &b, VectorType2 &x, ValueType omega)
 

Public Attributes

ValueType default_omega
 
cusp::array1d< ValueType,
MemorySpace > 
diagonal
 
cusp::array2d< ValueType,
MemorySpace > 
temp
 

Detailed Description

template<typename ValueType, typename MemorySpace>
class cusp::relaxation::block_jacobi< ValueType, MemorySpace >

Definition at line 41 of file block_jacobi.h.

Constructor & Destructor Documentation

template<typename ValueType, typename MemorySpace>
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( )
template<typename ValueType, typename MemorySpace>
template<typename MatrixType >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( const MatrixType &  A,
ValueType  omega = 1.0 
)
template<typename ValueType, typename MemorySpace>
template<typename MemorySpace2 >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( const block_jacobi< ValueType, MemorySpace2 > &  A)
template<typename ValueType, typename MemorySpace>
template<typename MatrixType >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( const cusp::precond::aggregation::sa_level< MatrixType > &  sa_level,
ValueType  weight = 4.0/3.0 
)

Member Function Documentation

template<typename ValueType, typename MemorySpace>
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void cusp::relaxation::block_jacobi< ValueType, MemorySpace >::presmooth ( const MatrixType &  A,
const VectorType1 &  b,
VectorType2 &  x 
)
template<typename ValueType, typename MemorySpace>
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void cusp::relaxation::block_jacobi< ValueType, MemorySpace >::postsmooth ( const MatrixType &  A,
const VectorType1 &  b,
VectorType2 &  x 
)
template<typename ValueType, typename MemorySpace>
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void cusp::relaxation::block_jacobi< ValueType, MemorySpace >::operator() ( const MatrixType &  A,
const VectorType1 &  b,
VectorType2 &  x 
)
template<typename ValueType, typename MemorySpace>
template<typename MatrixType , typename VectorType1 , typename VectorType2 >
void cusp::relaxation::block_jacobi< ValueType, MemorySpace >::operator() ( const MatrixType &  A,
const VectorType1 &  b,
VectorType2 &  x,
ValueType  omega 
)

Member Data Documentation

template<typename ValueType, typename MemorySpace>
ValueType cusp::relaxation::block_jacobi< ValueType, MemorySpace >::default_omega

Definition at line 44 of file block_jacobi.h.

template<typename ValueType, typename MemorySpace>
cusp::array1d<ValueType,MemorySpace> cusp::relaxation::block_jacobi< ValueType, MemorySpace >::diagonal

Definition at line 45 of file block_jacobi.h.

template<typename ValueType, typename MemorySpace>
cusp::array2d<ValueType,MemorySpace> cusp::relaxation::block_jacobi< ValueType, MemorySpace >::temp

Definition at line 46 of file block_jacobi.h.


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