16 #ifndef dealii_solver_relaxation_h 17 #define dealii_solver_relaxation_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/logstream.h> 22 #include <deal.II/lac/solver.h> 23 #include <deal.II/lac/solver_control.h> 24 #include <deal.II/base/subscriptor.h> 26 DEAL_II_NAMESPACE_OPEN
56 template <
typename VectorType = Vector<
double> >
82 template <
typename MatrixType,
class RelaxationType>
84 solve (
const MatrixType &A,
87 const RelaxationType &R);
92 template <
class VectorType>
101 template <
class VectorType>
106 template <
class VectorType>
107 template <
typename MatrixType,
class RelaxationType>
112 const RelaxationType &R)
140 conv = this->iteration_status (iter, r.l2_norm(), x);
153 DEAL_II_NAMESPACE_CLOSE
void solve(const MatrixType &A, VectorType &x, const VectorType &b, const RelaxationType &R)
virtual ~SolverRelaxation()
#define AssertThrow(cond, exc)
Stop iteration, goal reached.
SolverRelaxation(SolverControl &cn, const AdditionalData &data=AdditionalData())