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

Krylov preconditioner.

Data Types

type  hsmg_t
 
type  multigrid_t
 

Functions/Subroutines

subroutine hsmg_init (this, coef, bclst, hsmg_params)
 
subroutine hsmg_init_from_components (this, coef, bclst, crs_solver, crs_pc, crs_monitor, crs_tamg_lvls, crs_tamg_itrs, crs_tamg_cheby_degree)
 
subroutine hsmg_set_h (this)
 
subroutine hsmg_fill_grid (dof, gs_h, xh, coef, bclst, schwarz, e, grids, l)
 
subroutine hsmg_free (this)
 
subroutine hsmg_solve (this, z, r, n)
 The h1mg preconditioner from Nek5000.
 

Function/Subroutine Documentation

◆ hsmg_fill_grid()

subroutine hsmg::hsmg_fill_grid ( type(dofmap_t), intent(in), target  dof,
type(gs_t), intent(in), target  gs_h,
type(space_t), intent(in), target  xh,
type(coef_t), intent(in), target  coef,
type(bc_list_t), intent(in), target  bclst,
type(schwarz_t), intent(in), target  schwarz,
type(field_t), intent(in), target  e,
type(multigrid_t), dimension(l), intent(inout grids,
integer, intent(in l 
)
private

Definition at line 379 of file pc_hsmg.f90.

Here is the caller graph for this function:

◆ hsmg_free()

subroutine hsmg::hsmg_free ( class(hsmg_t), intent(inout this)
private

Definition at line 401 of file pc_hsmg.f90.

◆ hsmg_init()

subroutine hsmg::hsmg_init ( class(hsmg_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef,
type(bc_list_t), intent(inout), target  bclst,
type(json_file), intent(inout hsmg_params 
)

Definition at line 145 of file pc_hsmg.f90.

◆ hsmg_init_from_components()

subroutine hsmg::hsmg_init_from_components ( class(hsmg_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef,
type(bc_list_t), intent(inout), target  bclst,
character(len=:), intent(inout), allocatable  crs_solver,
character(len=:), intent(inout), allocatable  crs_pc,
logical, intent(inout crs_monitor,
integer, intent(in crs_tamg_lvls,
integer, intent(in crs_tamg_itrs,
integer, intent(in crs_tamg_cheby_degree 
)
private
Note
I do not think we actually use the same grids as they do in the original!

Definition at line 189 of file pc_hsmg.f90.

Here is the call graph for this function:

◆ hsmg_set_h()

subroutine hsmg::hsmg_set_h ( class(hsmg_t), intent(inout this)
private

Definition at line 364 of file pc_hsmg.f90.

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

◆ hsmg_solve()

subroutine hsmg::hsmg_solve ( class(hsmg_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout z,
real(kind=rp), dimension(n), intent(inout r,
integer, intent(in n 
)
private

Definition at line 446 of file pc_hsmg.f90.

Here is the call graph for this function: