Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
pipecg_sx Module Reference

Defines a pipelined Conjugate Gradient methods SX-Aurora backend.

Data Types

type  sx_pipecg_t
 Pipelined preconditioned conjugate gradient method for SX-Aurora. More...

Functions/Subroutines

subroutine sx_pipecg_init (this, n, max_iter, m, rel_tol, abs_tol, monitor)
 Initialise a pipelined PCG solver.
subroutine sx_pipecg_free (this)
 Deallocate a pipelined PCG solver.
type(ksp_monitor_t) function sx_pipecg_solve (this, ax, x, f, n, coef, bc_projector, gs_h, niter)
 Pipelined PCG solve.
type(ksp_monitor_t) function, dimension(3) sx_pipecg_solve_coupled (this, ax, x, y, z, fx, fy, fz, n, coef, bc_projector, gs_h, niter)
 Pipelined PCG coupled solve.

Function/Subroutine Documentation

◆ sx_pipecg_free()

subroutine pipecg_sx::sx_pipecg_free ( class(sx_pipecg_t), intent(inout) this)
private

Definition at line 118 of file pipecg_sx.f90.

◆ sx_pipecg_init()

subroutine pipecg_sx::sx_pipecg_init ( class(sx_pipecg_t), intent(inout), target this,
integer, intent(in) n,
integer, intent(in) max_iter,
class(pc_t), intent(in), optional, target m,
real(kind=rp), intent(in), optional rel_tol,
real(kind=rp), intent(in), optional abs_tol,
logical, intent(in), optional monitor )

Definition at line 73 of file pipecg_sx.f90.

◆ sx_pipecg_solve()

type(ksp_monitor_t) function pipecg_sx::sx_pipecg_solve ( class(sx_pipecg_t), intent(inout) this,
class(ax_t), intent(in) ax,
type(field_t), intent(inout) x,
real(kind=rp), dimension(n), intent(in) f,
integer, intent(in) n,
type(coef_t), intent(inout) coef,
class(scalar_bc_projector_t), intent(inout) bc_projector,
type(gs_t), intent(inout) gs_h,
integer, intent(in), optional niter )
private

Definition at line 157 of file pipecg_sx.f90.

Here is the call graph for this function:

◆ sx_pipecg_solve_coupled()

type(ksp_monitor_t) function, dimension(3) pipecg_sx::sx_pipecg_solve_coupled ( class(sx_pipecg_t), intent(inout) this,
class(ax_t), intent(in) ax,
type(field_t), intent(inout) x,
type(field_t), intent(inout) y,
type(field_t), intent(inout) z,
real(kind=rp), dimension(n), intent(in) fx,
real(kind=rp), dimension(n), intent(in) fy,
real(kind=rp), dimension(n), intent(in) fz,
integer, intent(in) n,
type(coef_t), intent(inout) coef,
class(vector_bc_projector_t), intent(inout) bc_projector,
type(gs_t), intent(inout) gs_h,
integer, intent(in), optional niter )
private

Definition at line 274 of file pipecg_sx.f90.

Here is the call graph for this function: