include/pops/numerics/elliptic/linear/krylov_result.hpp Source FileΒΆ

adc_cpp: include/pops/numerics/elliptic/linear/krylov_result.hpp Source File
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
krylov_result.hpp
Go to the documentation of this file.
1#pragma once
2
10
12
13namespace pops {
14
17 int iters = 0;
19 bool converged = false;
20};
21
22} // namespace pops
Definition amr_hierarchy.hpp:29
double Real
Definition types.hpp:30
Outcome of a Krylov solve: iterations performed, final relative residual, convergence flag.
Definition krylov_result.hpp:16
int iters
number of iterations performed
Definition krylov_result.hpp:17
Real rel_residual
||r_final|| / ||b|| (global L2 norm; base 1 when ||b|| == 0)
Definition krylov_result.hpp:18
bool converged
true if ||r|| <= rel_tol * ||b|| was reached
Definition krylov_result.hpp:19
Base scalar types and the POPS_HD macro (host+device portability).