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

Public Member Functions

virtual ~GpuMagmaAdapter ()
 Destructor.
 
 GpuMagmaAdapter ()
 Constructor.
 
virtual void preprocessing (SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
 preprocessing function pre-ordering and scaling the matrix
 
virtual void factorize (SparseMatrix &systemMatrix) override
 factorization function with partial pivoting
 
virtual void refactorize (SparseMatrix &systemMatrix) override
 refactorization without partial pivoting
 
virtual void partialRefactorize (SparseMatrix &systemMatrix, std::vector< std::pair< UInt, UInt >> &listVariableSystemMatrixEntries) override
 partial refactorization withouth partial pivoting
 
virtual Matrix solve (Matrix &rightSideVector) override
 solution function for a right hand side
 
 DirectLinearSolver ()=default
 Constructor with logging.
 
 DirectLinearSolver (const DirectLinearSolver &)=default
 Constructor with logging.
 
 DirectLinearSolver (DirectLinearSolver &&)=default
 Constructor with logging.
 
 DirectLinearSolver (CPS::Logger::Log log)
 Constructor with logging.
 
- Public Member Functions inherited from DPsim::DirectLinearSolver
 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 setConfiguration (DirectLinearSolverConfiguration &configuration)
 

Protected Member Functions

void iluPreconditioner ()
 
void performFactorization (SparseMatrix &systemMatrix)
 
- Protected Member Functions inherited from DPsim::DirectLinearSolver
virtual void applyConfiguration ()
 

Protected Attributes

std::unique_ptr< Eigen::PermutationMatrix< Eigen::Dynamic > > mTransp
 
magma_dopts mMagmaOpts
 Solver-Handle.
 
magma_queue_t mMagmaQueue
 
magma_d_matrix mHostSysMat
 Systemmatrix.
 
magma_d_matrix mDevSysMat
 
magma_d_matrix mHostRhsVec
 RHS-Vector.
 
magma_d_matrix mDevRhsVec
 
magma_d_matrix mHostLhsVec
 LHS-Vector.
 
magma_d_matrix mDevLhsVec
 
- Protected Attributes inherited from DPsim::DirectLinearSolver
CPS::Logger::Log mSLog
 Stores logger of solver class.
 
DirectLinearSolverConfiguration mConfiguration
 Object that carries configuration options.
 

Detailed Description

Definition at line 27 of file GpuMagmaAdapter.h.


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