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

Kokkos variable block row matrix class. More...

#include <Kokkos_VbrMatrix.hpp>

List of all members.

Public Member Functions

Constructors/Destructor
 VbrMatrix (size_t numBlockRows, const RCP< Node > &node=DefaultNode::getDefaultNode())
 'Default' VbrMatrix constuctor.
 ~VbrMatrix ()
 VbrMatrix Destructor.
Accessor routines.
RCP< Node > getNode () const
 Node accessor.
Data entry and accessor methods.
void setPackedValues (const ArrayRCP< const Scalar > &allvals, const ArrayRCP< const Ordinal > &rptr, const ArrayRCP< const Ordinal > &cptr, const ArrayRCP< const size_t > &bptr, const ArrayRCP< const Ordinal > &bindx, const ArrayRCP< const Ordinal > &indx)
 Submit the values for 1D storage.
void setBlockRow (size_t row, const ArrayRCP< ArrayRCP< const Scalar > > &blockEntry)
 Submit the values for one row of block-entries.
bool isPacked () const
 Indicates whether or not the matrix entries are packed.
bool isEmpty () const
 Indicates that the matrix is initialized, but empty.
size_t getNumBlockRows () const
 Return the number of block rows in the matrix.
void clear ()
 Release data associated with this matrix.
const ArrayRCP< const Scalar > & get_values () const
const ArrayRCP< const Ordinal > & get_rptr () const
const ArrayRCP< const Ordinal > & get_cptr () const
const ArrayRCP< const size_t > & get_bptr () const
const ArrayRCP< const Ordinal > & get_bindx () const
const ArrayRCP< const Ordinal > & get_indx () const

Detailed Description

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

Kokkos variable block row matrix class.

Definition at line 45 of file Kokkos_VbrMatrix.hpp.


Constructor & Destructor Documentation

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

'Default' VbrMatrix constuctor.

Definition at line 131 of file Kokkos_VbrMatrix.hpp.

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

VbrMatrix Destructor.

Definition at line 141 of file Kokkos_VbrMatrix.hpp.


Member Function Documentation

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

Node accessor.

Definition at line 146 of file Kokkos_VbrMatrix.hpp.

template<class Scalar , class Ordinal , class Node >
void Kokkos::VbrMatrix< Scalar, Ordinal, Node >::setPackedValues ( const ArrayRCP< const Scalar > &  allvals,
const ArrayRCP< const Ordinal > &  rptr,
const ArrayRCP< const Ordinal > &  cptr,
const ArrayRCP< const size_t > &  bptr,
const ArrayRCP< const Ordinal > &  bindx,
const ArrayRCP< const Ordinal > &  indx 
)

Submit the values for 1D storage.

Definition at line 166 of file Kokkos_VbrMatrix.hpp.

template<class Scalar, class Ordinal, class Node = DefaultNode::DefaultNodeType>
void Kokkos::VbrMatrix< Scalar, Ordinal, Node >::setBlockRow ( size_t  row,
const ArrayRCP< ArrayRCP< const Scalar > > &  blockEntry 
)

Submit the values for one row of block-entries.

template<class Scalar , class Ordinal , class Node >
bool Kokkos::VbrMatrix< Scalar, Ordinal, Node >::isPacked ( ) const

Indicates whether or not the matrix entries are packed.

Definition at line 191 of file Kokkos_VbrMatrix.hpp.

template<class Scalar , class Ordinal , class Node >
bool Kokkos::VbrMatrix< Scalar, Ordinal, Node >::isEmpty ( ) const

Indicates that the matrix is initialized, but empty.

Definition at line 197 of file Kokkos_VbrMatrix.hpp.

template<class Scalar , class Ordinal , class Node >
size_t Kokkos::VbrMatrix< Scalar, Ordinal, Node >::getNumBlockRows ( ) const

Return the number of block rows in the matrix.

Definition at line 203 of file Kokkos_VbrMatrix.hpp.

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

Release data associated with this matrix.

Definition at line 152 of file Kokkos_VbrMatrix.hpp.


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