Neko  0.8.99
A portable framework for high-order spectral element flow simulations
bicgstab Module Reference

Defines various Bi-Conjugate Gradient Stabilized methods.

Data Types

type  bicgstab_t
 Standard preconditioned Bi-Conjugate Gradient Stabilized method. More...
 

Functions/Subroutines

subroutine bicgstab_init (this, n, max_iter, M, rel_tol, abs_tol, monitor)
 Constructor. More...
 
subroutine bicgstab_free (this)
 Deallocate a standard BiCGSTAB solver. More...
 
type(ksp_monitor_t) function bicgstab_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Bi-Conjugate Gradient Stabilized method solve. More...
 
type(ksp_monitor_t) function, dimension(3) bicgstab_solve_coupled (this, Ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Standard BiCGSTAB coupled solve. More...
 

Function/Subroutine Documentation

◆ bicgstab_free()

subroutine bicgstab::bicgstab_free ( class(bicgstab_t), intent(inout)  this)
private

Definition at line 116 of file bicgstab.f90.

◆ bicgstab_init()

subroutine bicgstab::bicgstab_init ( class(bicgstab_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 72 of file bicgstab.f90.

◆ bicgstab_solve()

type(ksp_monitor_t) function bicgstab::bicgstab_solve ( class(bicgstab_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(in)  blst,
type(gs_t), intent(inout)  gs_h,
integer, intent(in), optional  niter 
)
private

Definition at line 155 of file bicgstab.f90.

Here is the call graph for this function:

◆ bicgstab_solve_coupled()

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

Definition at line 250 of file bicgstab.f90.