Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
tree_amg_multigrid::tamg_solver_t Type Reference

Type for the TreeAMG solver. More...

Collaboration diagram for tree_amg_multigrid::tamg_solver_t:

Public Member Functions

procedure, pass(thisinit (this, ax, xh, coef, msh, gs_h, nlvls_in, blst, max_iter)
 Initialization of the TreeAMG multigrid solver.
 
procedure, pass(thissolve (this, z, r, n)
 Solver function for the TreeAMG solver object.
 

Public Attributes

type(tamg_hierarchy_t), allocatable amg
 
type(amg_cheby_t), dimension(:), allocatable smoo
 
integer nlvls
 
integer max_iter
 

Detailed Description

Definition at line 63 of file tree_amg_multigrid.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, pass(this) tree_amg_multigrid::tamg_solver_t::init ( class(tamg_solver_t), intent(inout), target  this,
class(ax_t), intent(in), target  ax,
type(space_t), intent(in), target  xh,
type(coef_t), intent(in), target  coef,
type(mesh_t), intent(in), target  msh,
type(gs_t), intent(in), target  gs_h,
integer, intent(in nlvls_in,
type(bc_list_t), intent(in), target  blst,
integer, intent(in max_iter 
)
Parameters
axFinest level matvec operator
XhFinest level field
coefFinest level coeff thing
mshFinest level mesh information
gs_hFinest level gather scatter operator
nlvls_inNumber of levels for the TreeAMG hierarchy
blstFinest level BC list
max_iterNumber of AMG iterations

Definition at line 70 of file tree_amg_multigrid.f90.

◆ solve()

procedure, pass(this) tree_amg_multigrid::tamg_solver_t::solve ( class(tamg_solver_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout z,
real(kind=rp), dimension(n), intent(inout r,
integer, intent(in n 
)
Parameters
zThe solution to be returned
rThe right-hand side
nNumber of dofs

Definition at line 71 of file tree_amg_multigrid.f90.

Member Data Documentation

◆ amg

type(tamg_hierarchy_t), allocatable tree_amg_multigrid::tamg_solver_t::amg

Definition at line 64 of file tree_amg_multigrid.f90.

◆ max_iter

integer tree_amg_multigrid::tamg_solver_t::max_iter

Definition at line 68 of file tree_amg_multigrid.f90.

◆ nlvls

integer tree_amg_multigrid::tamg_solver_t::nlvls

Definition at line 67 of file tree_amg_multigrid.f90.

◆ smoo

type(amg_cheby_t), dimension(:), allocatable tree_amg_multigrid::tamg_solver_t::smoo

Definition at line 65 of file tree_amg_multigrid.f90.


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