Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cusp::relaxation::block_jacobi< ValueType, MemorySpace > Class Template Reference

#include <block_jacobi.h>

Inherits cusp::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

◆ block_jacobi() [1/4]

template<typename ValueType , typename MemorySpace >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( )

◆ block_jacobi() [2/4]

template<typename ValueType , typename MemorySpace >
template<typename MatrixType >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( const MatrixType & A,
ValueType omega = 1.0 )

◆ block_jacobi() [3/4]

template<typename ValueType , typename MemorySpace >
template<typename MemorySpace2 >
cusp::relaxation::block_jacobi< ValueType, MemorySpace >::block_jacobi ( const block_jacobi< ValueType, MemorySpace2 > & A)

◆ block_jacobi() [4/4]

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

◆ presmooth()

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 )

◆ postsmooth()

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 )

◆ operator()() [1/2]

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 )

◆ operator()() [2/2]

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

◆ default_omega

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

Definition at line 44 of file block_jacobi.h.

◆ diagonal

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.

◆ temp

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: