26#ifndef dftefeCGLinearSolver_h
27#define dftefeCGLinearSolver_h
38 namespace linearAlgebra
64 template <
typename ValueTypeOperator,
65 typename ValueTypeOperand,
91 const double absoluteTol,
92 const double relativeTol,
93 const double divergenceTol,
115 LinearSolverFunction<ValueTypeOperator, ValueTypeOperand, memorySpace>
116 &linearSolverFunction)
override;
Definition: LinearAlgebraProfiler.h:42
double d_relativeTol
Definition: CGLinearSolver.h:122
LinearSolverError solve(LinearSolverFunction< ValueTypeOperator, ValueTypeOperand, memorySpace > &linearSolverFunction) override
Function that initiates the linear solve.
size_type d_maxIter
Definition: CGLinearSolver.h:120
double d_absoluteTol
Definition: CGLinearSolver.h:121
CGLinearSolver(const size_type maxIter, const double absoluteTol, const double relativeTol, const double divergenceTol, LinearAlgebraProfiler profiler=LinearAlgebraProfiler())
A class that implements the Conjugate-Gradient (CG) based Krylov subspace algorithm to solve a linear...
LinearAlgebraProfiler d_profiler
Definition: CGLinearSolver.h:119
double d_divergenceTol
Definition: CGLinearSolver.h:123
~CGLinearSolver()=default
Default Destructor.
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8
Definition: LinearAlgebraTypes.h:120