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

Pipelined preconditioned conjugate gradient method. More...

Inheritance diagram for pipecg::pipecg_t:
Collaboration diagram for pipecg::pipecg_t:

Public Member Functions

procedure, pass(this) init => pipecg_init
 Constructor. More...
 
procedure, pass(this) free => pipecg_free
 Destructor. More...
 
procedure, pass(this) solve => pipecg_solve
 Solve the linear system. More...
 
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...
 

Public Attributes

real(kind=rp), dimension(:), allocatable p
 
real(kind=rp), dimension(:), allocatable q
 
real(kind=rp), dimension(:), allocatable r
 
real(kind=rp), dimension(:), allocatable s
 
real(kind=rp), dimension(:,:), allocatable u
 
real(kind=rp), dimension(:), allocatable w
 
real(kind=rp), dimension(:), allocatable z
 
real(kind=rp), dimension(:), allocatable mi
 
real(kind=rp), dimension(:), allocatable ni
 
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

Pipelined preconditioned conjugate gradient method.

Definition at line 51 of file pipecg.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) pipecg::pipecg_t::free

Destructor.

Definition at line 65 of file pipecg.f90.

◆ init()

procedure, pass(this) pipecg::pipecg_t::init

Constructor.

Definition at line 63 of file pipecg.f90.

◆ ksp_free()

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

Base type destructor.

Definition at line 75 of file krylov.f90.

◆ ksp_init()

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

Base type constructor.

Definition at line 73 of file krylov.f90.

◆ set_pc()

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

Set preconditioner.

Definition at line 77 of file krylov.f90.

◆ solve()

procedure, pass(this) pipecg::pipecg_t::solve

Solve the linear system.

Definition at line 67 of file pipecg.f90.

Member Data Documentation

◆ abs_tol

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

Absolute tolerance.

Definition at line 68 of file krylov.f90.

◆ m

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

Preconditioner.

Definition at line 66 of file krylov.f90.

◆ m_ident

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

Internal preconditioner (Identity)

Definition at line 70 of file krylov.f90.

◆ max_iter

integer krylov::ksp_t::max_iter
inherited

Maximum number of iterations.

Definition at line 69 of file krylov.f90.

◆ mi

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::mi

Definition at line 59 of file pipecg.f90.

◆ ni

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::ni

Definition at line 60 of file pipecg.f90.

◆ p

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::p

Definition at line 52 of file pipecg.f90.

◆ q

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::q

Definition at line 53 of file pipecg.f90.

◆ r

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::r

Definition at line 54 of file pipecg.f90.

◆ rel_tol

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

Relative tolerance.

Definition at line 67 of file krylov.f90.

◆ s

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::s

Definition at line 55 of file pipecg.f90.

◆ u

real(kind=rp), dimension(:,:), allocatable pipecg::pipecg_t::u

Definition at line 56 of file pipecg.f90.

◆ w

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::w

Definition at line 57 of file pipecg.f90.

◆ z

real(kind=rp), dimension(:), allocatable pipecg::pipecg_t::z

Definition at line 58 of file pipecg.f90.


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