20#ifndef OPM_MATRIX_HEADER_INCLUDED
21#define OPM_MATRIX_HEADER_INCLUDED
44 nnzValues.resize(nnzs);
45 colIndices.resize(nnzs);
46 rowPointers.resize(N+1);
59 std::vector<Scalar> nnzValues;
60 std::vector<int> colIndices;
61 std::vector<int> rowPointers;
This struct resembles a csr matrix, only doubles are supported The data is stored in contiguous memor...
Definition rocsparseMatrix.hpp:27
Matrix(int N_, int M_, int nnzs_)
Allocate rectangular Matrix and data arrays with given sizes.
Definition Matrix.hpp:53
Matrix(int N_, int nnzs_)
Allocate square Matrix and data arrays with given sizes.
Definition Matrix.hpp:39
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37