/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/linear_solver/ScaledGMRES.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
ScaledGMRES.hh
Go to the documentation of this file.
39 if (!initialized) throw std::runtime_error("ScaledLinearSolver::invert: solver not initialized");
65 double estimate_scaled_rcond(const SparseMatrixType &, const unsigned int max_iterations = 5) const
102 scaled_matrix.add(row, entry->column(), row_scale[row] * entry->value() * col_scale[entry->column()]);
112 template <typename SparseMatrixType, typename VectorType, typename PreconditionerType = dealii::PreconditionIdentity>
114 ScaledLinearSolver<SparseMatrixType, VectorType, GMRES<SparseMatrixType, VectorType, PreconditionerType>>;
117 using ScaledUMFPack = ScaledLinearSolver<SparseMatrixType, VectorType, UMFPack<SparseMatrixType, VectorType>>;
Definition abstract_linear_solver.hh:11
Definition ScaledGMRES.hh:22
static constexpr bool performs_factorization
Definition ScaledGMRES.hh:24
ScaledLinearSolver()=default
SparseMatrixType scaled_matrix
Definition ScaledGMRES.hh:106
void init(const SparseMatrixType &matrix)
Definition ScaledGMRES.hh:28
int solve(const VectorType &src, VectorType &dst, const double tol)
Definition ScaledGMRES.hh:43
void build_scaled_matrix(const SparseMatrixType &matrix)
Definition ScaledGMRES.hh:97
double estimate_scaled_rcond(const SparseMatrixType &, const unsigned int max_iterations=5) const
Definition ScaledGMRES.hh:65
static double safe_inverse_sqrt(const double norm)
Definition ScaledGMRES.hh:72
void build_scaling(const SparseMatrixType &matrix)
Definition ScaledGMRES.hh:79
Definition complex_math.hh:10
Generated by