16#ifndef dealii_solver_relaxation_h
17#define dealii_solver_relaxation_h
56template <
typename VectorType = Vector<
double>>
78 template <
typename MatrixType,
class RelaxationType>
80 solve(
const MatrixType & A,
83 const RelaxationType &R);
88template <
class VectorType>
96template <
class VectorType>
97template <
typename MatrixType,
class RelaxationType>
101 const VectorType & b,
102 const RelaxationType &R)
109 VectorType & r = *Vr;
112 VectorType & d = *Vd;
130 conv = this->iteration_status(iter, r.l2_norm(), x);
@ iterate
Continue iteration.
@ success
Stop iteration, goal reached.
SolverRelaxation(SolverControl &cn, const AdditionalData &data=AdditionalData())
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const RelaxationType &R)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertThrow(cond, exc)