Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
device_jacobi Module Reference

Jacobi preconditioner accelerator backend.

Data Types

type  device_jacobi_t
 Defines a jacobi preconditioner. More...
interface  hip_jacobi_update
interface  cuda_jacobi_update
interface  opencl_jacobi_update
interface  metal_jacobi_update

Functions/Subroutines

subroutine device_jacobi_init (this, coef, bclst, json)
 Initialize from the case file. The boundary conditions and the JSON dictionary are not needed by this preconditioner.
subroutine device_jacobi_init_from_components (this, coef, dof, gs_h)
subroutine device_jacobi_free (this)
subroutine device_jacobi_solve (this, z, r, n)
 The jacobi preconditioner \( J z = r \) \( z = J^{-1}r\) where \( J^{-1} ~= 1/diag(A) \).
subroutine device_jacobi_update (this)

Function/Subroutine Documentation

◆ device_jacobi_free()

subroutine device_jacobi::device_jacobi_free ( class(device_jacobi_t), intent(inout) this)
private

Definition at line 147 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_init()

subroutine device_jacobi::device_jacobi_init ( class(device_jacobi_t), intent(inout), target this,
type(coef_t), intent(in), target coef,
type(bc_list_t), intent(inout), target bclst,
type(json_file), intent(inout) json )
private

Definition at line 115 of file pc_jacobi_device.F90.

◆ device_jacobi_init_from_components()

subroutine device_jacobi::device_jacobi_init_from_components ( class(device_jacobi_t), intent(inout) this,
type(coef_t), intent(in), target coef,
type(dofmap_t), intent(in), target dof,
type(gs_t), intent(inout), target gs_h )
private

Definition at line 125 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_solve()

subroutine device_jacobi::device_jacobi_solve ( class(device_jacobi_t), intent(inout) this,
real(kind=rp), dimension(n), intent(inout) z,
real(kind=rp), dimension(n), intent(inout) r,
integer, intent(in) n )
private

Definition at line 168 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_update()

subroutine device_jacobi::device_jacobi_update ( class(device_jacobi_t), intent(inout) this)
private

Definition at line 182 of file pc_jacobi_device.F90.

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