Neko  0.8.1
A portable framework for high-order spectral element flow simulations
device_identity Module Reference

Identity Krylov preconditioner for accelerators. More...

Data Types

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

Functions/Subroutines

subroutine device_ident_solve (this, z, r, n)
 The (default) naive preconditioner \( I z = r \). More...
 
subroutine device_ident_update (this)
 Mandatory update routine (NOP) More...
 

Detailed Description

Identity Krylov preconditioner for accelerators.

Function/Subroutine Documentation

◆ 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 
)

The (default) naive preconditioner \( I z = r \).

Definition at line 53 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

Mandatory update routine (NOP)

Definition at line 68 of file pc_identity_device.f90.