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

Template for a user-defined Krylov solver.

Data Types

type  krylov_solver_template_t

Functions/Subroutines

subroutine krylov_solver_template_init (this, n, max_iter, m, rel_tol, abs_tol, monitor)
subroutine krylov_solver_template_free (this)
type(ksp_monitor_t) function krylov_solver_template_solve (this, ax, x, f, n, coef, bc_projector, gs_h, niter)
type(ksp_monitor_t) function, dimension(3) krylov_solver_template_solve_coupled (this, ax, x, y, z, fx, fy, fz, n, coef, bc_projector, gs_h, niter)
subroutine, public krylov_solver_template_register_types ()
subroutine krylov_solver_template_allocate (obj)

Function/Subroutine Documentation

◆ krylov_solver_template_allocate()

subroutine krylov_solver_template::krylov_solver_template_allocate ( class(ksp_t), intent(inout), allocatable obj)
private

Definition at line 105 of file krylov_solver_template.f90.

Here is the caller graph for this function:

◆ krylov_solver_template_free()

subroutine krylov_solver_template::krylov_solver_template_free ( class(krylov_solver_template_t), intent(inout) this)
private

Definition at line 55 of file krylov_solver_template.f90.

◆ krylov_solver_template_init()

subroutine krylov_solver_template::krylov_solver_template_init ( class(krylov_solver_template_t), intent(inout), target this,
integer, intent(in) n,
integer, intent(in) max_iter,
class(pc_t), intent(in), optional, target m,
real(kind=rp), intent(in), optional rel_tol,
real(kind=rp), intent(in), optional abs_tol,
logical, intent(in), optional monitor )

Definition at line 29 of file krylov_solver_template.f90.

◆ krylov_solver_template_register_types()

subroutine, public krylov_solver_template::krylov_solver_template_register_types

Definition at line 99 of file krylov_solver_template.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ krylov_solver_template_solve()

type(ksp_monitor_t) function krylov_solver_template::krylov_solver_template_solve ( class(krylov_solver_template_t), intent(inout) this,
class(ax_t), intent(in) ax,
type(field_t), intent(inout) x,
real(kind=rp), dimension(n), intent(in) f,
integer, intent(in) n,
type(coef_t), intent(inout) coef,
class(scalar_bc_projector_t), intent(inout) bc_projector,
type(gs_t), intent(inout) gs_h,
integer, intent(in), optional niter )
private

Definition at line 61 of file krylov_solver_template.f90.

◆ krylov_solver_template_solve_coupled()

type(ksp_monitor_t) function, dimension(3) krylov_solver_template::krylov_solver_template_solve_coupled ( class(krylov_solver_template_t), intent(inout) this,
class(ax_t), intent(in) ax,
type(field_t), intent(inout) x,
type(field_t), intent(inout) y,
type(field_t), intent(inout) z,
real(kind=rp), dimension(n), intent(in) fx,
real(kind=rp), dimension(n), intent(in) fy,
real(kind=rp), dimension(n), intent(in) fz,
integer, intent(in) n,
type(coef_t), intent(inout) coef,
class(vector_bc_projector_t), intent(inout) bc_projector,
type(gs_t), intent(inout) gs_h,
integer, intent(in), optional niter )
private

Definition at line 78 of file krylov_solver_template.f90.

Here is the call graph for this function: