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

Defines a coupled Conjugate Gradient methods.

Data Types

type  cg_cpld_t
 Coupled preconditioned conjugate gradient method. More...
 

Functions/Subroutines

subroutine cg_cpld_init (this, n, max_iter, m, rel_tol, abs_tol, monitor)
 Initialise a coupled PCG solver.
 
subroutine cg_cpld_free (this)
 Deallocate a coupled PCG solver.
 
type(ksp_monitor_t) function cg_cpld_nop (this, ax, x, f, n, coef, blst, gs_h, niter)
 
type(ksp_monitor_t) function, dimension(3) cg_cpld_solve (this, ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Coupled PCG solve.
 

Function/Subroutine Documentation

◆ cg_cpld_free()

subroutine cg_cpld::cg_cpld_free ( class(cg_cpld_t), intent(inout this)
private

Definition at line 123 of file cg_coupled.f90.

◆ cg_cpld_init()

subroutine cg_cpld::cg_cpld_init ( class(cg_cpld_t), intent(inout 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 cg_coupled.f90.

◆ cg_cpld_nop()

type(ksp_monitor_t) function cg_cpld::cg_cpld_nop ( class(cg_cpld_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,
type(bc_list_t), intent(inout blst,
type(gs_t), intent(inout gs_h,
integer, intent(in), optional  niter 
)
private

Definition at line 184 of file cg_coupled.f90.

◆ cg_cpld_solve()

type(ksp_monitor_t) function, dimension(3) cg_cpld::cg_cpld_solve ( class(cg_cpld_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,
type(bc_list_t), intent(inout blstx,
type(bc_list_t), intent(inout blsty,
type(bc_list_t), intent(inout blstz,
type(gs_t), intent(inout gs_h,
integer, intent(in), optional  niter 
)
private

Definition at line 205 of file cg_coupled.f90.

Here is the call graph for this function: