NDEVR
API Documentation
linear_solver.h
1#pragma once
2#include "sparse_block_matrix.h"
3#include "sparse_block_matrix_ccs.h"
4
5namespace NDEVR {
6
13
17 template <typename MatrixType>
19 {
20 public:
23 : _ccsMatrix(0)
24 {}
25
26 protected:
28
32 {
33 _ccsMatrix = SparseBlockMatrixCCS<MatrixType>(A.rowBlockIndices(), A.colBlockIndices());
34 A.fillSparseBlockMatrixCCS(*_ccsMatrix);
35 }
36 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
37 };
38
39}
LinearSolverCCS()
Default constructor.
void initMatrixStructure(const SparseBlockMatrix< MatrixType > &A)
Initializes the CCS structure from a SparseBlockMatrix.
SparseBlockMatrixCCS< MatrixType > _ccsMatrix
Cached CCS representation of the sparse block matrix.
Sparse matrix which uses blocks.
Sparse matrix which uses blocks.
The primary namespace for the NDEVR SDK.