9#include <dpsim/DenseLUAdapter.h>
18 SparseMatrix &systemMatrix,
19 std::vector<std::pair<UInt, UInt>> &listVariableSystemMatrixEntries) {
24 LUFactorized.compute(Matrix(systemMatrix));
29 LUFactorized.compute(Matrix(systemMatrix));
33 SparseMatrix &systemMatrix,
34 std::vector<std::pair<UInt, UInt>> &listVariableSystemMatrixEntries) {
36 LUFactorized.compute(Matrix(systemMatrix));
40 return LUFactorized.solve(mRightHandSideVector);
void factorize(SparseMatrix &systemMatrix) override
factorization function with partial pivoting
void partialRefactorize(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt > > &listVariableSystemMatrixEntries) override
partial refactorization withouth partial pivoting
~DenseLUAdapter() override
Destructor.
void preprocessing(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt > > &listVariableSystemMatrixEntries) override
preprocessing function pre-ordering and scaling the matrix
void refactorize(SparseMatrix &systemMatrix) override
refactorization without partial pivoting
Matrix solve(Matrix &rightSideVector) override
solution function for a right hand side