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

Identity Krylov preconditioner for accelerators.

Data Types

type  device_ident_t
 Defines a canonical Krylov preconditioner for accelerators. More...
 

Functions/Subroutines

subroutine device_ident_init (this, coef, bclst, json)
 Mandatory init routine (NOP)
 
subroutine device_ident_solve (this, z, r, n)
 The (default) naive preconditioner \( I z = r \).
 
subroutine device_ident_update (this)
 Mandatory update routine (NOP)
 
subroutine device_ident_free (this)
 Mandatory free routine (NOP)
 

Function/Subroutine Documentation

◆ device_ident_free()

subroutine device_identity::device_ident_free ( class(device_ident_t), intent(inout)  this)
private

Definition at line 86 of file pc_identity_device.f90.

◆ device_ident_init()

subroutine device_identity::device_ident_init ( class(device_ident_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 
)

Definition at line 58 of file pc_identity_device.f90.

◆ device_ident_solve()

subroutine device_identity::device_ident_solve ( class(device_ident_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 66 of file pc_identity_device.f90.

Here is the call graph for this function:

◆ device_ident_update()

subroutine device_identity::device_ident_update ( class(device_ident_t), intent(inout)  this)
private

Definition at line 81 of file pc_identity_device.f90.