3 #ifndef DUNE_PDELAB_BACKEND_SOLVER_HH
4 #define DUNE_PDELAB_BACKEND_SOLVER_HH
6 #include <dune/common/fvector.hh>
22 typename Dune::template FieldTraits<typename V::ElementType >::real_type
norm(
const V& v)
const
29 template<
class RFType>
69 template <
typename LS,
typename =
void>
73 template <
typename LS>
80 template <
typename LS>
83 if constexpr (LS::isMatrixFree){
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28
constexpr bool linearSolverIsMatrixFree()
Function that checks if a linear solver is matrix-free.
Definition: solver.hh:81
Dune::template FieldTraits< typename V::ElementType >::real_type norm(const V &v) const
compute global norm of a vector
Definition: solver.hh:22
void clear()
Definition: solver.hh:43
RFType conv_rate
Definition: solver.hh:36
bool converged
Definition: solver.hh:32
RFType reduction
Definition: solver.hh:35
LinearSolverResult()
Definition: solver.hh:38
unsigned int iterations
Definition: solver.hh:33
double elapsed
Definition: solver.hh:34
Dune::PDELab::LinearSolverResult< double > res
Definition: solver.hh:63
const Dune::PDELab::LinearSolverResult< double > & result() const
Return access to result data.
Definition: solver.hh:57