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

Chebyshev preconditioner.

Data Types

type  cheby_t
 Defines a Chebyshev preconditioner. More...
 

Functions/Subroutines

subroutine cheby_init (this, n, max_iter, M, rel_tol, abs_tol, monitor)
 Initialise a standard solver. More...
 
subroutine cheby_free (this)
 
subroutine cheby_power (this, Ax, x, n, coef, blst, gs_h)
 
type(ksp_monitor_t) function cheby_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 A chebyshev preconditioner. More...
 
type(ksp_monitor_t) function, dimension(3) cheby_solve_coupled (this, Ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Standard Chebyshev coupled solve. More...
 

Function/Subroutine Documentation

◆ cheby_free()

subroutine cheby::cheby_free ( class(cheby_t), intent(inout)  this)
private

Definition at line 107 of file cheby.f90.

◆ cheby_init()

subroutine cheby::cheby_init ( class(cheby_t), intent(inout), target  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,
logical, intent(in), optional  monitor 
)

Definition at line 69 of file cheby.f90.

◆ cheby_power()

subroutine cheby::cheby_power ( class(cheby_t), intent(inout)  this,
class(ax_t), intent(inout)  Ax,
type(field_t), intent(inout)  x,
integer, intent(in)  n,
type(coef_t), intent(inout)  coef,
type(bc_list_t), intent(inout)  blst,
type(gs_t), intent(inout)  gs_h 
)
private

Definition at line 114 of file cheby.f90.

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

◆ cheby_solve()

type(ksp_monitor_t) function cheby::cheby_solve ( class(cheby_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

Definition at line 165 of file cheby.f90.

Here is the call graph for this function:

◆ cheby_solve_coupled()

type(ksp_monitor_t) function, dimension(3) cheby::cheby_solve_coupled ( class(cheby_t), intent(inout)  this,
class(ax_t), intent(inout)  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(inout)  fx,
real(kind=rp), dimension(n), intent(inout)  fy,
real(kind=rp), dimension(n), intent(inout)  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 243 of file cheby.f90.