Neko  0.8.1
A portable framework for high-order spectral element flow simulations
gmres Module Reference

Defines various GMRES methods. More...

Data Types

type  gmres_t
 Standard preconditioned generalized minimal residual method. More...
 

Functions/Subroutines

subroutine gmres_init (this, n, max_iter, M, lgmres, rel_tol, abs_tol)
 Initialise a standard GMRES solver. More...
 
subroutine gmres_free (this)
 Deallocate a standard GMRES solver. More...
 
type(ksp_monitor_t) function gmres_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Standard GMRES solve. More...
 

Detailed Description

Defines various GMRES methods.

Function/Subroutine Documentation

◆ gmres_free()

subroutine gmres::gmres_free ( class(gmres_t), intent(inout)  this)
private

Deallocate a standard GMRES solver.

Definition at line 118 of file gmres.f90.

◆ gmres_init()

subroutine gmres::gmres_init ( class(gmres_t), intent(inout)  this,
integer, intent(in)  n,
integer, intent(in)  max_iter,
class(pc_t), intent(inout), optional, target  M,
integer, intent(inout), optional  lgmres,
real(kind=rp), intent(inout), optional  rel_tol,
real(kind=rp), intent(inout), optional  abs_tol 
)

Initialise a standard GMRES solver.

Definition at line 69 of file gmres.f90.

◆ gmres_solve()

type(ksp_monitor_t) function gmres::gmres_solve ( class(gmres_t), intent(inout)  this,
class(ax_t), intent(inout)  Ax,
type(field_t), intent(inout)  x,
real(kind=rp), dimension(n), intent(inout)  f,
integer, intent(in)  n,
type(coef_t), intent(inout)  coef,
type(bc_list_t), intent(inout)  blst,
type(gs_t), intent(inout)  gs_h,
integer, intent(in), optional  niter 
)
private

Standard GMRES solve.

Definition at line 165 of file gmres.f90.

Here is the call graph for this function: