Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
subroutine cg_device::cg_device_free (this)
 Deallocate a device based PCG solver.
 
type(ksp_monitor_t) function cg_device::cg_device_solve (this, ax, x, f, n, coef, blst, gs_h, niter)
 Standard PCG solve.
 
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.