20 #ifndef OPM_MATRIX_HEADER_INCLUDED 21 #define OPM_MATRIX_HEADER_INCLUDED 32 template<
class Scalar>
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;
69 #endif // OPM_MATRIX_HEADER_INCLUDED This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
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 struct resembles a csr matrix, only doubles are supported The data is stored in contiguous memor...
Definition: Matrix.hpp:33