Kokkos::DefaultRelaxation< Scalar, Ordinal, Node > Class Template Reference

Various relaxation methods. More...

#include <Kokkos_DefaultRelaxation.hpp>

List of all members.

Public Member Functions

Constructors/Destructor
 DefaultRelaxation (const Teuchos::RCP< Node > &node=DefaultNode::getDefaultNode())
 DefaultRelaxation constuctor.
 ~DefaultRelaxation ()
 DefaultRelaxation Destructor.
Accessor routines.
Teuchos::RCP< Node > getNode () const
 Node accessor.
Initialization of structure
template<class GRAPH>
Teuchos::DataAccess initializeStructure (GRAPH &graph, Teuchos::DataAccess cv)
 Initialize structure of matrix. NOT IMPLEMENTED!
template<class MATRIX>
Teuchos::DataAccess initializeValues (MATRIX &matrix, Teuchos::DataAccess cv)
 Initialize values of matrix. NOT IMPLEMENTED!
Teuchos::DataAccess initializeStructure (CrsGraph< Ordinal, Node > &graph, Teuchos::DataAccess cv)
 Initialize structure of the matrix, using Kokkos::CrsGraph.
Teuchos::DataAccess initializeValues (CrsMatrix< Scalar, Node > &matrix, Teuchos::DataAccess cv)
 Initialize values of the matrix, using Kokkos::CrsMatrix.
void setDiagonal (MultiVector< Scalar, Node > &diag)
 Sets the diagonal inverted for relaxation using a Kokkos::MultiVector.
void clear ()
 Clear all matrix structure and values.
Computational methods
void sweep_jacobi (Scalar dampingFactor_, MultiVector< Scalar, Node > &X, const MultiVector< Scalar, Node > &B) const
 Applies a sweep of Jacobi.
void sweep_fine_hybrid (Scalar dampingFactor_, MultiVector< Scalar, Node > &X, const MultiVector< Scalar, Node > &B) const
 Applies a sweep of fine-grain Hybrid Gauss-Seidel.
void sweep_coarse_hybrid (Scalar dampingFactor_, size_t num_chunks, MultiVector< Scalar, Node > &X, const MultiVector< Scalar, Node > &B) const
 Applies a sweep of coarse-grain Hybrid Gauss-Seidel.
void setup_chebyshev (const Scalar lambda_max, const Scalar lambda_min)
 Does setup for Chebyshev.
void sweep_chebyshev (MultiVector< Scalar, Node > &X, const MultiVector< Scalar, Node > &B) const
 Applies a sweep of Chebyshev iteration.

Protected Member Functions

 DefaultRelaxation (const DefaultRelaxation &source)
 Copy constructor (protected and unimplemented).
void ExtractDiagonal ()
 Extract the diagonal from the matrix, if the user hasn't set it already.


Detailed Description

template<class Scalar, class Ordinal, class Node = DefaultNode::DefaultNodeType>
class Kokkos::DefaultRelaxation< Scalar, Ordinal, Node >

Various relaxation methods.


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