Go to the documentation of this file.
20#ifndef OPM_BLOCKED_MATRIX_HPP
21#define OPM_BLOCKED_MATRIX_HPP
36 : nnzValues(new Scalar[nnzbs_*block_size_*block_size_])
37 , colIndices(new int[nnzbs_*block_size_*block_size_])
67 Scalar* nnzValues_, int *colIndices_, int *rowPointers_)
105void sortRow( int* colIndices, int* data, int left, int right);
113template< class Scalar>
114void blockMultSub(Scalar* a, Scalar* b, Scalar* c, unsigned int block_size);
122template< class Scalar>
123void blockMult(Scalar* mat1, Scalar* mat2, Scalar* resMat, unsigned int block_size);
Definition: BlockedMatrix.hpp:29
~BlockedMatrix() Definition: BlockedMatrix.hpp:78
bool deleteNnzs Definition: BlockedMatrix.hpp:95
Scalar * nnzValues Definition: BlockedMatrix.hpp:89
BlockedMatrix(int Nb_, int nnzbs_, unsigned int block_size_) Definition: BlockedMatrix.hpp:35
bool deleteSparsity Definition: BlockedMatrix.hpp:96
int Nb Definition: BlockedMatrix.hpp:92
unsigned int block_size Definition: BlockedMatrix.hpp:94
int * colIndices Definition: BlockedMatrix.hpp:90
BlockedMatrix(const BlockedMatrix &M) Definition: BlockedMatrix.hpp:48
int * rowPointers Definition: BlockedMatrix.hpp:91
BlockedMatrix(int Nb_, int nnzbs_, unsigned int block_size_, Scalar *nnzValues_, int *colIndices_, int *rowPointers_) Definition: BlockedMatrix.hpp:66
int nnzbs Definition: BlockedMatrix.hpp:93
Definition: amgclSolverBackend.hpp:44
void sortRow(int *colIndices, int *data, int left, int right)
void blockMult(Scalar *mat1, Scalar *mat2, Scalar *resMat, unsigned int block_size)
void blockMultSub(Scalar *a, Scalar *b, Scalar *c, unsigned int block_size)
|