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

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.
 
- 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 allocateDeviceMemory ()
 
void copySystemMatrixToDevice (Matrix systemMatrix)
 
void LUfactorization ()
 
- Protected Member Functions inherited from DPsim::DirectLinearSolver
virtual void applyConfiguration ()
 

Protected Attributes

cusolverDnHandle_t mCusolverHandle = nullptr
 Solver-Handle.
 
cudaStream_t mStream = nullptr
 Stream.
 
struct DPsim::GpuDenseAdapter::GpuData mDeviceCopy
 
- 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 33 of file GpuDenseAdapter.h.


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