Neko  0.8.1
A portable framework for high-order spectral element flow simulations
krylov.f90 File Reference

Go to the source code of this file.

Data Types

type  krylov::ksp_monitor_t
 Type for storing initial and final residuals in a Krylov solver. More...
 
type  krylov::ksp_t
 Base abstract type for a canonical Krylov method, solving \( Ax = f \). More...
 
interface  krylov::ksp_method
 Abstract interface for a Krylov method's solve routine. More...
 
interface  krylov::ksp_t_free
 Abstract interface for deallocating a Krylov method. More...
 

Modules

module  krylov
 Implements the base abstract type for Krylov solvers plus helper types.
 

Functions/Subroutines

subroutine krylov::krylov_init (this, max_iter, rel_tol, abs_tol, M)
 Constructor for the base type. More...
 
subroutine krylov::krylov_free (this)
 Deallocate a Krylov solver. More...
 
subroutine krylov::krylov_set_pc (this, M)
 Setup a Krylov solver's preconditioner. More...
 

Variables

integer, parameter, public krylov::ksp_max_iter = 1e4
 Maximum number of iters. More...
 
real(kind=rp), parameter, public krylov::ksp_abs_tol = 1d-9
 Absolut tolerance. More...
 
real(kind=rp), parameter, public krylov::ksp_rel_tol = 1d-9
 Relative tolerance. More...