9 #include <dpsim/DenseLUAdapter.h>
11 using namespace DPsim;
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 partialRefactorize(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
partial refactorization withouth partial pivoting
void factorize(SparseMatrix &systemMatrix) override
factorization function with partial pivoting
~DenseLUAdapter() override
Destructor.
void refactorize(SparseMatrix &systemMatrix) override
refactorization without partial pivoting
Matrix solve(Matrix &rightSideVector) override
solution function for a right hand side
void preprocessing(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
preprocessing function pre-ordering and scaling the matrix