Ifpack2 Templated Preconditioning Package
Version 1.0
|
Structure for read-only views of general matrix rows. More...
#include <Ifpack2_Container_decl.hpp>
Public Member Functions | |
StridedRowView (const SC *vals_, const LO *inds_, int blockSize_, size_t nnz_) | |
Constructor for row views (preferred) More... | |
StridedRowView (Teuchos::Array< SC > &vals_, Teuchos::Array< LO > &inds_) | |
Constructor for deep copy (fallback, if matrix doesn't support row views) More... | |
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.
Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::StridedRowView | ( | const SC * | vals_, |
const LO * | inds_, | ||
int | blockSize_, | ||
size_t | nnz_ | ||
) |
Constructor for row views (preferred)
Ifpack2::Details::StridedRowView< Scalar, LocalOrdinal, GlobalOrdinal, Node >::StridedRowView | ( | Teuchos::Array< SC > & | vals_, |
Teuchos::Array< LO > & | inds_ | ||
) |
Constructor for deep copy (fallback, if matrix doesn't support row views)