DPsim
|
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. | |
![]() | |
DirectLinearSolver ()=default | |
Constructor. | |
virtual | ~DirectLinearSolver ()=default |
Destructor. | |
DirectLinearSolver (const DirectLinearSolver &)=default | |
Copy Constructor. | |
DirectLinearSolver & | operator= (const DirectLinearSolver &)=default |
Copy Assignment Operator. | |
DirectLinearSolver (DirectLinearSolver &&)=default | |
Move Constructor. | |
DirectLinearSolver & | operator= (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) |
![]() | |
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. | |
![]() | |
CPS::Logger::Log | mSLog |
Stores logger of solver class. | |
DirectLinearSolverConfiguration | mConfiguration |
Object that carries configuration options. | |
Definition at line 26 of file GpuSparseAdapter.h.
DPsim::GpuSparseAdapter::GpuSparseAdapter | ( | ) |
Constructor.
Definition at line 17 of file GpuSparseAdapter.cpp.
|
virtual |
Destructor.
Definition at line 19 of file GpuSparseAdapter.cpp.
|
inline |
Constructor with logging.
Definition at line 44 of file DirectLinearSolver.h.
|
overridevirtual |
factorization function with partial pivoting
Implements DPsim::DirectLinearSolver.
Definition at line 216 of file GpuSparseAdapter.cpp.
|
overridevirtual |
partial refactorization withouth partial pivoting
Implements DPsim::DirectLinearSolver.
Definition at line 224 of file GpuSparseAdapter.cpp.
|
protected |
Definition at line 41 of file GpuSparseAdapter.cpp.
|
overridevirtual |
preprocessing function pre-ordering and scaling the matrix
Implements DPsim::DirectLinearSolver.
Definition at line 210 of file GpuSparseAdapter.cpp.
|
overridevirtual |
refactorization without partial pivoting
Implements DPsim::DirectLinearSolver.
Definition at line 220 of file GpuSparseAdapter.cpp.
|
overridevirtual |
solution function for a right hand side
Implements DPsim::DirectLinearSolver.
Definition at line 230 of file GpuSparseAdapter.cpp.
|
protected |
Definition at line 31 of file GpuSparseAdapter.h.
|
protected |
Solver-Handle.
Definition at line 30 of file GpuSparseAdapter.h.
|
protected |
Intermediate Vector.
Definition at line 42 of file GpuSparseAdapter.h.
|
protected |
LHS-Vector.
Definition at line 40 of file GpuSparseAdapter.h.
|
protected |
RHS-Vector.
Definition at line 38 of file GpuSparseAdapter.h.
|
protected |
Systemmatrix on Device.
Definition at line 34 of file GpuSparseAdapter.h.
|
protected |
Definition at line 35 of file GpuSparseAdapter.h.