Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Protected Member Functions
Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node > Class Template Reference

DefaultBlockSparseOps. More...

#include <Kokkos_DefaultBlockSparseOps.hpp>

List of all members.

Public Member Functions

Constructors/Destructor
 DefaultBlockSparseOps (const RCP< Node > &node=DefaultNode::getDefaultNode())
 DefaultBlockSparseOps constuctor with variable number of indices per row.
 ~DefaultBlockSparseOps ()
 DefaultBlockSparseOps Destructor.
Accessor routines.
RCP< Node > getNode () const
 Node accessor.
Initialization of structure
void initializeValues (const VbrMatrix< Scalar, Ordinal, Node > &matrix)
 Initialize values of matrix, using VbrMatrix.
void clear ()
 Clear all matrix structure and values.
Computational methods
template<class DomainScalar , class RangeScalar >
void multiply (Teuchos::ETransp trans, RangeScalar alpha, const MultiVector< DomainScalar, Node > &X, MultiVector< RangeScalar, Node > &Y) const
 Applies the matrix to a MultiVector, overwriting Y.
template<class DomainScalar , class RangeScalar >
void multiply (Teuchos::ETransp trans, RangeScalar alpha, const MultiVector< DomainScalar, Node > &X, RangeScalar beta, MultiVector< RangeScalar, Node > &Y) const
 Applies the matrix to a MultiVector, accumulating into Y.
template<class DomainScalar , class RangeScalar >
void solve (Teuchos::ETransp trans, Teuchos::EUplo triang, Teuchos::EDiag diag, const MultiVector< DomainScalar, Node > &Y, MultiVector< RangeScalar, Node > &X) const
 Triangular solve: find x such that A*x=y, only if A is triangular.

Protected Member Functions

 DefaultBlockSparseOps (const DefaultBlockSparseOps &source)
 Copy constructor (protected and unimplemented)

Detailed Description

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

DefaultBlockSparseOps.

Definition at line 66 of file Kokkos_DefaultBlockSparseOps.hpp.


Constructor & Destructor Documentation

template<class Scalar , class Ordinal , class Node >
Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::DefaultBlockSparseOps ( const RCP< Node > &  node = DefaultNode::getDefaultNode())

DefaultBlockSparseOps constuctor with variable number of indices per row.

Definition at line 141 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::~DefaultBlockSparseOps ( )

DefaultBlockSparseOps Destructor.

Definition at line 149 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node = DefaultNode::DefaultNodeType>
Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::DefaultBlockSparseOps ( const DefaultBlockSparseOps< Scalar, Ordinal, Node > &  source) [protected]

Copy constructor (protected and unimplemented)


Member Function Documentation

template<class Scalar , class Ordinal , class Node >
RCP< Node > Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::getNode ( ) const

Node accessor.

Definition at line 168 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
void Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::initializeValues ( const VbrMatrix< Scalar, Ordinal, Node > &  matrix)

Initialize values of matrix, using VbrMatrix.

Definition at line 153 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
void Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::clear ( )

Clear all matrix structure and values.

Definition at line 174 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
template<class DomainScalar , class RangeScalar >
void Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::multiply ( Teuchos::ETransp  trans,
RangeScalar  alpha,
const MultiVector< DomainScalar, Node > &  X,
MultiVector< RangeScalar, Node > &  Y 
) const

Applies the matrix to a MultiVector, overwriting Y.

Definition at line 188 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
template<class DomainScalar , class RangeScalar >
void Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::multiply ( Teuchos::ETransp  trans,
RangeScalar  alpha,
const MultiVector< DomainScalar, Node > &  X,
RangeScalar  beta,
MultiVector< RangeScalar, Node > &  Y 
) const

Applies the matrix to a MultiVector, accumulating into Y.

Definition at line 255 of file Kokkos_DefaultBlockSparseOps.hpp.

template<class Scalar , class Ordinal , class Node >
template<class DomainScalar , class RangeScalar >
void Kokkos::DefaultBlockSparseOps< Scalar, Ordinal, Node >::solve ( Teuchos::ETransp  trans,
Teuchos::EUplo  triang,
Teuchos::EDiag  diag,
const MultiVector< DomainScalar, Node > &  Y,
MultiVector< RangeScalar, Node > &  X 
) const

Triangular solve: find x such that A*x=y, only if A is triangular.

Definition at line 325 of file Kokkos_DefaultBlockSparseOps.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends