9 #include <dpsim/SparseLUAdapter.h>
11 using namespace DPsim;
17 SparseMatrix &systemMatrix,
18 std::vector<std::pair<UInt, UInt>> &listVariableSystemMatrixEntries) {
19 LUFactorizedSparse.analyzePattern(systemMatrix);
23 LUFactorizedSparse.factorize(systemMatrix);
28 LUFactorizedSparse.factorize(systemMatrix);
32 SparseMatrix &systemMatrix,
33 std::vector<std::pair<UInt, UInt>> &listVariableSystemMatrixEntries) {
35 LUFactorizedSparse.factorize(systemMatrix);
39 return LUFactorizedSparse.solve(mRightHandSideVector);
void factorize(SparseMatrix &systemMatrix) override
factorization function with partial pivoting
void refactorize(SparseMatrix &systemMatrix) override
refactorization without partial pivoting
~SparseLUAdapter() override
Destructor.
void preprocessing(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
preprocessing function pre-ordering and scaling the matrix
void partialRefactorize(SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
partial refactorization withouth partial pivoting
Matrix solve(Matrix &rightSideVector) override
solution function for a right hand side