1 #ifndef PARALUTION_KRYLOV_BICGSTAB_HPP_
2 #define PARALUTION_KRYLOV_BICGSTAB_HPP_
4 #include "../solver.hpp"
10 template <
class OperatorType,
class VectorType,
typename ValueType>
18 virtual void Print(
void)
const;
20 virtual void Build(
void);
21 virtual void Clear(
void);
46 #endif // PARALUTION_KRYLOV_BICGSTAB_HPP_
VectorType t_
Definition: bicgstab.hpp:39
Definition: bicgstab.hpp:11
VectorType z_
Definition: bicgstab.hpp:38
virtual void PrintEnd_(void) const
Print ending msg of the solver.
Definition: bicgstab.cpp:69
virtual void PrintStart_(void) const
Print starting msg of the solver.
Definition: bicgstab.cpp:53
virtual void Print(void) const
Print information about the solver.
Definition: bicgstab.cpp:37
virtual void SolveNonPrecond_(const VectorType &rhs, VectorType *x)
Non-preconditioner solution procedure.
Definition: bicgstab.cpp:215
VectorType r_
Definition: bicgstab.hpp:38
Base class for all linear (iterative) solvers.
Definition: solver.hpp:94
virtual void SolvePrecond_(const VectorType &rhs, VectorType *x)
Preconditioned solution procedure.
Definition: bicgstab.cpp:392
VectorType p_
Definition: bicgstab.hpp:39
BiCGStab()
Definition: bicgstab.cpp:19
virtual void Build(void)
Build the solver (data allocation, structure computation, numerical computation)
Definition: bicgstab.cpp:84
VectorType r0_
Definition: bicgstab.hpp:39
virtual ~BiCGStab()
Definition: bicgstab.cpp:27
VectorType v_
Definition: bicgstab.hpp:39
virtual void Clear(void)
Clear (free all local data) the solver.
Definition: bicgstab.cpp:137
Definition: backend_manager.cpp:43
const IndexType const IndexType const IndexType const ValueType const ValueType const ValueType * x
Definition: cuda_kernels_coo.hpp:91
VectorType q_
Definition: bicgstab.hpp:38
virtual void MoveToAcceleratorLocalData_(void)
Move all local data to the accelerator.
Definition: bicgstab.cpp:192
VectorType s_
Definition: bicgstab.hpp:39
virtual void MoveToHostLocalData_(void)
Move all local data to the host.
Definition: bicgstab.cpp:169