DPsim
|
Classes | |
struct | GpuData |
Variables for solving one Equation-system (All pointer are device-pointer) More... | |
Public Member Functions | |
virtual | ~GpuDenseAdapter () |
Destructor. | |
GpuDenseAdapter () | |
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. | |
![]() | |
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 | allocateDeviceMemory () |
void | copySystemMatrixToDevice (Matrix systemMatrix) |
void | LUfactorization () |
![]() | |
virtual void | applyConfiguration () |
Protected Attributes | |
cusolverDnHandle_t | mCusolverHandle = nullptr |
Solver-Handle. | |
cudaStream_t | mStream = nullptr |
Stream. | |
struct DPsim::GpuDenseAdapter::GpuData | mDeviceCopy |
![]() | |
CPS::Logger::Log | mSLog |
Stores logger of solver class. | |
DirectLinearSolverConfiguration | mConfiguration |
Object that carries configuration options. | |
Definition at line 33 of file GpuDenseAdapter.h.
|
virtual |
Destructor.
Definition at line 14 of file GpuDenseAdapter.cpp.
DPsim::GpuDenseAdapter::GpuDenseAdapter | ( | ) |
Constructor.
Definition at line 31 of file GpuDenseAdapter.cpp.
|
protected |
Definition at line 47 of file GpuDenseAdapter.cpp.
|
protected |
Definition at line 75 of file GpuDenseAdapter.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 125 of file GpuDenseAdapter.cpp.
|
protected |
Definition at line 83 of file GpuDenseAdapter.cpp.
|
overridevirtual |
partial refactorization withouth partial pivoting
Implements DPsim::DirectLinearSolver.
Definition at line 143 of file GpuDenseAdapter.cpp.
|
overridevirtual |
preprocessing function pre-ordering and scaling the matrix
Implements DPsim::DirectLinearSolver.
Definition at line 107 of file GpuDenseAdapter.cpp.
|
overridevirtual |
refactorization without partial pivoting
Implements DPsim::DirectLinearSolver.
Definition at line 134 of file GpuDenseAdapter.cpp.
|
overridevirtual |
solution function for a right hand side
Implements DPsim::DirectLinearSolver.
Definition at line 154 of file GpuDenseAdapter.cpp.
|
protected |
Solver-Handle.
Definition at line 37 of file GpuDenseAdapter.h.
|
protected |
Stream.
Definition at line 39 of file GpuDenseAdapter.h.