Opm::gpuistl::SparsityPattern Struct Reference

Compressed Sparse Row (CSR) sparsity pattern for HYPRE matrix assembly. More...

#include <HypreDataStructures.hpp>

Public Attributes

std::vector< HYPRE_Int > ncols
 Non-zero entries per owned row (size: N_owned) More...
 
std::vector< HYPRE_BigInt > rows
 Global row indices for owned rows (size: N_owned) More...
 
std::vector< HYPRE_BigInt > cols
 Global column indices in CSR format (size: nnz) More...
 
HYPRE_Int nnz
 Number of non-zero entries in matrix. More...
 

Detailed Description

Compressed Sparse Row (CSR) sparsity pattern for HYPRE matrix assembly.

It represents only the owned rows in CSR-like format with global HYPRE indexing for both rows and columns.

Member Data Documentation

◆ cols

std::vector<HYPRE_BigInt> Opm::gpuistl::SparsityPattern::cols

◆ ncols

std::vector<HYPRE_Int> Opm::gpuistl::SparsityPattern::ncols

◆ nnz

HYPRE_Int Opm::gpuistl::SparsityPattern::nnz

◆ rows

std::vector<HYPRE_BigInt> Opm::gpuistl::SparsityPattern::rows

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