Neko  0.8.1
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)
 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)
 

Variables

integer, parameter cg::cg_p_space = 7