Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node > Struct Template Reference

Structure for read-only views of general matrix rows. More...

#include <Ifpack2_Container_decl.hpp>

Public Member Functions

 StridedRowView (h_vals_type vals_, h_inds_type inds_, int blockSize_, size_t nnz_)
 Constructor for row views (preferred) More...
 
 StridedRowView (Teuchos::Array< SC > &vals_, Teuchos::Array< LO > &inds_)
 Constructor for row views. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
struct Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Structure for read-only views of general matrix rows.

Supports rows within the nodes of a BlockCrsMatrix (point indexing). Use of getLocalRowCopy This is required for extracting diagonal blocks, and decoupling DOFs.

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::StridedRowView ( h_vals_type  vals_,
h_inds_type  inds_,
int  blockSize_,
size_t  nnz_ 
)

Constructor for row views (preferred)

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::StridedRowView ( Teuchos::Array< SC > &  vals_,
Teuchos::Array< LO > &  inds_ 
)

Constructor for row views.

Constructor for deep copy (fallback, if matrix doesn't support row views)


The documentation for this struct was generated from the following files: