DPsim
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DPsim::DirectLinearSolver Class Referenceabstract
Inheritance diagram for DPsim::DirectLinearSolver:
[legend]
Collaboration diagram for DPsim::DirectLinearSolver:
[legend]

Public Member Functions

 DirectLinearSolver ()=default
 Constructor.
 
virtual ~DirectLinearSolver ()=default
 Destructor.
 
 DirectLinearSolver (const DirectLinearSolver &)=default
 Copy Constructor.
 
DirectLinearSolveroperator= (const DirectLinearSolver &)=default
 Copy Assignment Operator.
 
 DirectLinearSolver (DirectLinearSolver &&)=default
 Move Constructor.
 
DirectLinearSolveroperator= (DirectLinearSolver &&)=default
 Move Assignment Operator.
 
 DirectLinearSolver (CPS::Logger::Log log)
 Constructor with Logger.
 
virtual void preprocessing (SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries)=0
 preprocessing function pre-ordering and scaling the matrix
 
virtual void factorize (SparseMatrix &systemMatrix)=0
 factorization function with partial pivoting
 
virtual void refactorize (SparseMatrix &systemMatrix)=0
 refactorization without partial pivoting
 
virtual void partialRefactorize (SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries)=0
 partial refactorization withouth partial pivoting
 
virtual Matrix solve (Matrix &rightSideVector)=0
 solution function for a right hand side
 
virtual void setConfiguration (DirectLinearSolverConfiguration &configuration)
 

Protected Member Functions

virtual void applyConfiguration ()
 

Protected Attributes

CPS::Logger::Log mSLog
 Stores logger of solver class.
 
DirectLinearSolverConfiguration mConfiguration
 Object that carries configuration options.
 

Detailed Description

Definition at line 23 of file DirectLinearSolver.h.


The documentation for this class was generated from the following file: