Neko  0.8.1
A portable framework for high-order spectral element flow simulations
krylov::ksp_t Type Reference

Base abstract type for a canonical Krylov method, solving \( Ax = f \). More...

Inheritance diagram for krylov::ksp_t:

Public Member Functions

procedure, pass(this) ksp_init => krylov_init
 Base type constructor. More...
 
procedure, pass(this) ksp_free => krylov_free
 Base type destructor. More...
 
procedure, pass(this) set_pc => krylov_set_pc
 Set preconditioner. More...
 
procedure(ksp_method), deferred, pass solve
 Solve the system. More...
 
procedure(ksp_t_free), deferred, pass free
 Destructor. More...
 

Public Attributes

class(pc_t), pointer m => null()
 Preconditioner. More...
 
real(kind=rp) rel_tol
 Relative tolerance. More...
 
real(kind=rp) abs_tol
 Absolute tolerance. More...
 
integer max_iter
 Maximum number of iterations. More...
 
class(pc_t), allocatable m_ident
 Internal preconditioner (Identity) More...
 

Detailed Description

Base abstract type for a canonical Krylov method, solving \( Ax = f \).

Definition at line 65 of file krylov.f90.

Member Function/Subroutine Documentation

◆ free()

procedure(ksp_t_free), deferred, pass krylov::ksp_t::free

Destructor.

Definition at line 81 of file krylov.f90.

◆ ksp_free()

procedure, pass(this) krylov::ksp_t::ksp_free

Base type destructor.

Definition at line 75 of file krylov.f90.

◆ ksp_init()

procedure, pass(this) krylov::ksp_t::ksp_init

Base type constructor.

Definition at line 73 of file krylov.f90.

◆ set_pc()

procedure, pass(this) krylov::ksp_t::set_pc

Set preconditioner.

Definition at line 77 of file krylov.f90.

◆ solve()

procedure(ksp_method), deferred, pass krylov::ksp_t::solve

Solve the system.

Definition at line 79 of file krylov.f90.

Member Data Documentation

◆ abs_tol

real(kind=rp) krylov::ksp_t::abs_tol

Absolute tolerance.

Definition at line 68 of file krylov.f90.

◆ m

class(pc_t), pointer krylov::ksp_t::m => null()

Preconditioner.

Definition at line 66 of file krylov.f90.

◆ m_ident

class(pc_t), allocatable krylov::ksp_t::m_ident

Internal preconditioner (Identity)

Definition at line 70 of file krylov.f90.

◆ max_iter

integer krylov::ksp_t::max_iter

Maximum number of iterations.

Definition at line 69 of file krylov.f90.

◆ rel_tol

real(kind=rp) krylov::ksp_t::rel_tol

Relative tolerance.

Definition at line 67 of file krylov.f90.


The documentation for this type was generated from the following file: