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

Go to the source code of this file.

Data Types

type  cg_device::cg_device_t
 Device based preconditioned conjugate gradient method. More...
 

Modules

module  cg_device
 Defines various Conjugate Gradient methods for accelerators.
 

Functions/Subroutines

subroutine cg_device::cg_device_init (this, n, max_iter, M, rel_tol, abs_tol, monitor)
 Initialise a device based PCG solver. More...
 
subroutine cg_device::cg_device_free (this)
 Deallocate a device based PCG solver. More...
 
type(ksp_monitor_t) function cg_device::cg_device_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Standard PCG solve. More...
 
type(ksp_monitor_t) function, dimension(3) cg_device::cg_device_solve_coupled (this, Ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Standard PCG coupled solve. More...