Neko  0.9.0
A portable framework for high-order spectral element flow simulations
cg.f90 File Reference

Go to the source code of this file.

Data Types

type  cg::cg_t
 Standard preconditioned conjugate gradient method. More...
 

Modules

module  cg
 Defines various Conjugate Gradient methods.
 

Functions/Subroutines

subroutine cg::cg_init (this, n, max_iter, M, rel_tol, abs_tol, monitor)
 Initialise a standard PCG solver. More...
 
subroutine cg::cg_free (this)
 Deallocate a standard PCG solver. More...
 
type(ksp_monitor_t) function cg::cg_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Standard PCG solve. More...
 
subroutine cg::second_cg_part (rtr, r, mult, w, alpha, n)
 
type(ksp_monitor_t) function, dimension(3) cg::cg_solve_coupled (this, Ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Standard PCG coupled solve. More...
 

Variables

integer, parameter cg::cg_p_space = 7