Ifpack2 Templated Preconditioning Package Version 1.0
Loading...
Searching...
No Matches
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)
 
 StridedRowView (Teuchos::Array< SC > &vals_, Teuchos::Array< LO > &inds_)
 Constructor for row views.
 

Detailed Description

template<typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename 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

◆ StridedRowView() [1/2]

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)

◆ StridedRowView() [2/2]

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: