Neko  0.9.0
A portable framework for high-order spectral element flow simulations
gmres_device::gmres_device_t Type Reference

Standard preconditioned generalized minimal residual method. More...

Inheritance diagram for gmres_device::gmres_device_t:
Collaboration diagram for gmres_device::gmres_device_t:

Public Member Functions

procedure, pass(this) init => gmres_device_init
 
procedure, pass(this) free => gmres_device_free
 
procedure, pass(this) solve => gmres_device_solve
 
procedure, pass(this) solve_coupled => gmres_device_solve_coupled
 
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, pass(this) monitor_start => krylov_monitor_start
 Monitor start. More...
 
procedure, pass(this) monitor_stop => krylov_monitor_stop
 Monitor stop. More...
 
procedure, pass(this) monitor_iter => krylov_monitor_iter
 Monitor iteration. More...
 

Public Attributes

integer m_restart
 
real(kind=rp), dimension(:), allocatable w
 
real(kind=rp), dimension(:), allocatable c
 
real(kind=rp), dimension(:), allocatable r
 
real(kind=rp), dimension(:,:), allocatable z
 
real(kind=rp), dimension(:,:), allocatable h
 
real(kind=rp), dimension(:,:), allocatable v
 
real(kind=rp), dimension(:), allocatable s
 
real(kind=rp), dimension(:), allocatable gam
 
type(c_ptr) w_d = C_NULL_PTR
 
type(c_ptr) c_d = C_NULL_PTR
 
type(c_ptr) r_d = C_NULL_PTR
 
type(c_ptr) s_d = C_NULL_PTR
 
type(c_ptr) gam_d = C_NULL_PTR
 
type(c_ptr), dimension(:), allocatable z_d
 
type(c_ptr), dimension(:), allocatable h_d
 
type(c_ptr), dimension(:), allocatable v_d
 
type(c_ptr) z_d_d = C_NULL_PTR
 
type(c_ptr) h_d_d = C_NULL_PTR
 
type(c_ptr) v_d_d = C_NULL_PTR
 
type(c_ptr) gs_event = C_NULL_PTR
 
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...
 
logical monitor
 Turn on/off monitoring. More...
 

Detailed Description

Definition at line 56 of file gmres_device.F90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) gmres_device::gmres_device_t::free

Definition at line 78 of file gmres_device.F90.

◆ init()

procedure, pass(this) gmres_device::gmres_device_t::init

Definition at line 77 of file gmres_device.F90.

◆ ksp_free()

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

Definition at line 77 of file krylov.f90.

◆ ksp_init()

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

Definition at line 75 of file krylov.f90.

◆ monitor_iter()

procedure, pass(this) krylov::ksp_t::monitor_iter
inherited

Definition at line 89 of file krylov.f90.

◆ monitor_start()

procedure, pass(this) krylov::ksp_t::monitor_start
inherited

Definition at line 85 of file krylov.f90.

◆ monitor_stop()

procedure, pass(this) krylov::ksp_t::monitor_stop
inherited

Definition at line 87 of file krylov.f90.

◆ set_pc()

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

Definition at line 79 of file krylov.f90.

◆ solve()

procedure, pass(this) gmres_device::gmres_device_t::solve

Definition at line 79 of file gmres_device.F90.

◆ solve_coupled()

procedure, pass(this) gmres_device::gmres_device_t::solve_coupled

Definition at line 80 of file gmres_device.F90.

Member Data Documentation

◆ abs_tol

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

Definition at line 69 of file krylov.f90.

◆ c

real(kind=rp), dimension(:), allocatable gmres_device::gmres_device_t::c

Definition at line 59 of file gmres_device.F90.

◆ c_d

type(c_ptr) gmres_device::gmres_device_t::c_d = C_NULL_PTR

Definition at line 67 of file gmres_device.F90.

◆ gam

real(kind=rp), dimension(:), allocatable gmres_device::gmres_device_t::gam

Definition at line 65 of file gmres_device.F90.

◆ gam_d

type(c_ptr) gmres_device::gmres_device_t::gam_d = C_NULL_PTR

Definition at line 70 of file gmres_device.F90.

◆ gs_event

type(c_ptr) gmres_device::gmres_device_t::gs_event = C_NULL_PTR

Definition at line 75 of file gmres_device.F90.

◆ h

real(kind=rp), dimension(:,:), allocatable gmres_device::gmres_device_t::h

Definition at line 62 of file gmres_device.F90.

◆ h_d

type(c_ptr), dimension(:), allocatable gmres_device::gmres_device_t::h_d

Definition at line 71 of file gmres_device.F90.

◆ h_d_d

type(c_ptr) gmres_device::gmres_device_t::h_d_d = C_NULL_PTR

Definition at line 73 of file gmres_device.F90.

◆ m

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

Definition at line 67 of file krylov.f90.

◆ m_ident

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

Definition at line 71 of file krylov.f90.

◆ m_restart

integer gmres_device::gmres_device_t::m_restart

Definition at line 57 of file gmres_device.F90.

◆ max_iter

integer krylov::ksp_t::max_iter
inherited

Definition at line 70 of file krylov.f90.

◆ monitor

logical krylov::ksp_t::monitor
inherited

Definition at line 72 of file krylov.f90.

◆ r

real(kind=rp), dimension(:), allocatable gmres_device::gmres_device_t::r

Definition at line 60 of file gmres_device.F90.

◆ r_d

type(c_ptr) gmres_device::gmres_device_t::r_d = C_NULL_PTR

Definition at line 68 of file gmres_device.F90.

◆ rel_tol

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

Definition at line 68 of file krylov.f90.

◆ s

real(kind=rp), dimension(:), allocatable gmres_device::gmres_device_t::s

Definition at line 64 of file gmres_device.F90.

◆ s_d

type(c_ptr) gmres_device::gmres_device_t::s_d = C_NULL_PTR

Definition at line 69 of file gmres_device.F90.

◆ v

real(kind=rp), dimension(:,:), allocatable gmres_device::gmres_device_t::v

Definition at line 63 of file gmres_device.F90.

◆ v_d

type(c_ptr), dimension(:), allocatable gmres_device::gmres_device_t::v_d

Definition at line 71 of file gmres_device.F90.

◆ v_d_d

type(c_ptr) gmres_device::gmres_device_t::v_d_d = C_NULL_PTR

Definition at line 74 of file gmres_device.F90.

◆ w

real(kind=rp), dimension(:), allocatable gmres_device::gmres_device_t::w

Definition at line 58 of file gmres_device.F90.

◆ w_d

type(c_ptr) gmres_device::gmres_device_t::w_d = C_NULL_PTR

Definition at line 66 of file gmres_device.F90.

◆ z

real(kind=rp), dimension(:,:), allocatable gmres_device::gmres_device_t::z

Definition at line 61 of file gmres_device.F90.

◆ z_d

type(c_ptr), dimension(:), allocatable gmres_device::gmres_device_t::z_d

Definition at line 71 of file gmres_device.F90.

◆ z_d_d

type(c_ptr) gmres_device::gmres_device_t::z_d_d = C_NULL_PTR

Definition at line 72 of file gmres_device.F90.


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