27 #ifndef PARALUTION_DEFLATION_DPCG_HPP_
28 #define PARALUTION_DEFLATION_DPCG_HPP_
30 #include "../solver.hpp"
34 template <
class OperatorType,
class VectorType,
typename ValueType>
42 virtual void Print(
void)
const;
44 virtual void Build(
void);
45 virtual void Clear(
void);
86 #endif // PARALUTION_DEFLATION_DPCG_HPP_
OperatorType ZT_
Definition: dpcg.hpp:68
void MakeZ_CSR(void)
Definition: dpcg.cpp:170
VectorType Qb_
Definition: dpcg.hpp:77
OperatorType L_
Definition: dpcg.hpp:67
VectorType r_
Definition: dpcg.hpp:72
OperatorType Z_
Definition: dpcg.hpp:69
VectorType p_
Definition: dpcg.hpp:73
virtual void PrintEnd_(void) const
Print ending msg of the solver.
Definition: dpcg.cpp:98
OperatorType AZ_
Definition: dpcg.hpp:68
VectorType intmed_
Definition: dpcg.hpp:76
DPCG()
Definition: dpcg.cpp:44
virtual void MoveToHostLocalData_(void)
Move all local data to the host.
Definition: dpcg.cpp:358
Base class for all linear (iterative) solvers.
Definition: solver.hpp:94
int novecni_
Definition: dpcg.hpp:80
virtual void Print(void) const
Print information about the solver.
Definition: dpcg.cpp:64
VectorType Ptx_
Definition: dpcg.hpp:77
virtual ~DPCG()
Definition: dpcg.cpp:54
virtual void Clear(void)
Clear (free all local data) the solver.
Definition: dpcg.cpp:321
VectorType w_
Definition: dpcg.hpp:72
Definition: backend_manager.cpp:43
VectorType Dinv_
Definition: dpcg.hpp:75
OperatorType LT_
Definition: dpcg.hpp:67
VectorType q_
Definition: dpcg.hpp:73
virtual void MoveToAcceleratorLocalData_(void)
Move all local data to the accelerator.
Definition: dpcg.cpp:391
const IndexType const IndexType const IndexType const ValueType const ValueType const ValueType * x
Definition: cuda_kernels_coo.hpp:91
virtual void SolveNonPrecond_(const VectorType &rhs, VectorType *x)
Non-preconditioner solution procedure.
Definition: dpcg.cpp:426
virtual void Build(void)
Build the solver (data allocation, structure computation, numerical computation)
Definition: dpcg.cpp:224
virtual void SetNVectors(const int novecni)
Definition: dpcg.cpp:113
void MakeZ_COO(void)
Definition: dpcg.cpp:124
virtual void PrintStart_(void) const
Print starting msg of the solver.
Definition: dpcg.cpp:82
VectorType hat_
Definition: dpcg.hpp:76
VectorType LLtx2_
Definition: dpcg.hpp:78
OperatorType E_
Definition: dpcg.hpp:70
virtual void SolvePrecond_(const VectorType &rhs, VectorType *x)
Preconditioned solution procedure.
Definition: dpcg.cpp:612
VectorType LLtx_
Definition: dpcg.hpp:78
OperatorType AZT_
Definition: dpcg.hpp:69