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

Krylov preconditioner.

Data Types

type  multigrid_t
type  hsmg_t

Functions/Subroutines

subroutine hsmg_init (this, coef, bclst, json)
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, bc_projector, 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(scalar_bc_projector_t), intent(in), target bc_projector,
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 389 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 411 of file pc_hsmg.f90.

Here is the call graph for this function:

◆ 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) json )

Definition at line 150 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 194 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 374 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 489 of file pc_hsmg.f90.

Here is the call graph for this function: