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

Defines various GMRES methods. More...

Data Types

type  gmres_device_t
 Standard preconditioned generalized minimal residual method. More...
 
interface  hip_gmres_part2
 

Functions/Subroutines

real(c_rp) function device_gmres_part2 (w_d, v_d_d, h_d, mult_d, j, n)
 
subroutine gmres_device_init (this, n, max_iter, M, m_restart, rel_tol, abs_tol)
 Initialise a standard GMRES solver. More...
 
subroutine gmres_device_free (this)
 Deallocate a standard GMRES solver. More...
 
type(ksp_monitor_t) function gmres_device_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Standard GMRES solve. More...
 

Detailed Description

Defines various GMRES methods.

Function/Subroutine Documentation

◆ device_gmres_part2()

real(c_rp) function gmres_device::device_gmres_part2 ( type(c_ptr), value  w_d,
type(c_ptr), value  v_d_d,
type(c_ptr), value  h_d,
type(c_ptr), value  mult_d,
integer(c_int)  j,
integer(c_int)  n 
)
private

Definition at line 109 of file gmres_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gmres_device_free()

subroutine gmres_device::gmres_device_free ( class(gmres_device_t), intent(inout)  this)
private

Deallocate a standard GMRES solver.

Definition at line 219 of file gmres_device.F90.

◆ gmres_device_init()

subroutine gmres_device::gmres_device_init ( class(gmres_device_t), intent(inout), target  this,
integer, intent(in)  n,
integer, intent(in)  max_iter,
class(pc_t), intent(inout), optional, target  M,
integer, intent(inout), optional  m_restart,
real(kind=rp), intent(inout), optional  rel_tol,
real(kind=rp), intent(inout), optional  abs_tol 
)
private

Initialise a standard GMRES solver.

Definition at line 132 of file gmres_device.F90.

◆ gmres_device_solve()

type(ksp_monitor_t) function gmres_device::gmres_device_solve ( class(gmres_device_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 306 of file gmres_device.F90.

Here is the call graph for this function: