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

Public Member Functions

 GpuSparseAdapter ()
 Constructor.
 
virtual ~GpuSparseAdapter ()
 Destructor.
 
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

cusparseHandle_t mCusparsehandle = nullptr
 Solver-Handle.
 
cusolverSpHandle_t mCusolverhandle = nullptr
 
std::unique_ptr< cuda::CudaMatrix< double, int > > mSysMat = nullptr
 Systemmatrix on Device.
 
std::unique_ptr< Eigen::PermutationMatrix< Eigen::Dynamic > > mTransp = nullptr
 
cuda::Vector< double > mGpuRhsVec = 0
 RHS-Vector.
 
cuda::Vector< double > mGpuLhsVec = 0
 LHS-Vector.
 
cuda::Vector< double > mGpuIntermediateVec = 0
 Intermediate Vector.
 
- 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 26 of file GpuSparseAdapter.h.


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