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

Defines a pipelined Conjugate Gradient methods. More...

Data Types

type  pipecg_t
 Pipelined preconditioned conjugate gradient method. More...
 

Functions/Subroutines

subroutine pipecg_init (this, n, max_iter, M, rel_tol, abs_tol)
 Initialise a pipelined PCG solver. More...
 
subroutine pipecg_free (this)
 Deallocate a pipelined PCG solver. More...
 
type(ksp_monitor_t) function pipecg_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Pipelined PCG solve. More...
 

Variables

integer, parameter pipecg_p_space = 7
 

Detailed Description

Defines a pipelined Conjugate Gradient methods.

Function/Subroutine Documentation

◆ pipecg_free()

subroutine pipecg::pipecg_free ( class(pipecg_t), intent(inout)  this)
private

Deallocate a pipelined PCG solver.

Definition at line 109 of file pipecg.f90.

◆ pipecg_init()

subroutine pipecg::pipecg_init ( class(pipecg_t), intent(inout)  this,
integer, intent(in)  n,
integer, intent(in)  max_iter,
class(pc_t), intent(inout), optional, target  M,
real(kind=rp), intent(inout), optional  rel_tol,
real(kind=rp), intent(inout), optional  abs_tol 
)

Initialise a pipelined PCG solver.

Definition at line 73 of file pipecg.f90.

◆ pipecg_solve()

type(ksp_monitor_t) function pipecg::pipecg_solve ( class(pipecg_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

Pipelined PCG solve.

Definition at line 148 of file pipecg.f90.

Here is the call graph for this function:

Variable Documentation

◆ pipecg_p_space

integer, parameter pipecg::pipecg_p_space = 7
private

Definition at line 48 of file pipecg.f90.