1 #ifndef PARALUTION_KRYLOV_CHEBYSHEV_HPP_
2 #define PARALUTION_KRYLOV_CHEBYSHEV_HPP_
10 template <
class OperatorType,
class VectorType,
typename ValueType>
18 virtual void Print(
void)
const;
20 void Set(
const ValueType lambda_min,
const ValueType lambda_max);
22 virtual void Build(
void);
23 virtual void Clear(
void);
51 #endif // PARALUTION_KRYLOV_CHEBYSHEV_HPP_
VectorType z_
Definition: chebyshev.hpp:43
virtual void PrintStart_(void) const
Print starting msg of the solver.
Definition: chebyshev.cpp:72
Definition: chebyshev.hpp:11
virtual void Build(void)
Build the solver (data allocation, structure computation, numerical computation)
Definition: chebyshev.cpp:103
virtual ~Chebyshev()
Definition: chebyshev.cpp:28
VectorType r_
Definition: chebyshev.hpp:43
bool init_lambda_
Definition: chebyshev.hpp:40
virtual void MoveToHostLocalData_(void)
Move all local data to the host.
Definition: chebyshev.cpp:170
Base class for all linear (iterative) solvers.
Definition: solver.hpp:94
virtual void SolvePrecond_(const VectorType &rhs, VectorType *x)
Preconditioned solution procedure.
Definition: chebyshev.cpp:283
VectorType p_
Definition: chebyshev.hpp:44
void Set(const ValueType lambda_min, const ValueType lambda_max)
Definition: chebyshev.cpp:38
ValueType lambda_max_
Definition: chebyshev.hpp:41
virtual void PrintEnd_(void) const
Print ending msg of the solver.
Definition: chebyshev.cpp:88
Definition: backend_manager.cpp:43
virtual void Print(void) const
Print information about the solver.
Definition: chebyshev.cpp:54
const IndexType const IndexType const IndexType const ValueType const ValueType const ValueType * x
Definition: cuda_kernels_coo.hpp:91
virtual void Clear(void)
Clear (free all local data) the solver.
Definition: chebyshev.cpp:144
Chebyshev()
Definition: chebyshev.cpp:18
ValueType lambda_min_
Definition: chebyshev.hpp:41
virtual void MoveToAcceleratorLocalData_(void)
Move all local data to the accelerator.
Definition: chebyshev.cpp:190
virtual void SolveNonPrecond_(const VectorType &rhs, VectorType *x)
Non-preconditioner solution procedure.
Definition: chebyshev.cpp:209