Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
tree_amg_utils Module Reference

Implements utilities for the TreeAMG hierarchy structure.

Functions/Subroutines

subroutine, public tamg_sample_matrix_val (val, amg, lvl, i, j)
 Sample the values in a matix (expensive, use with caution)
 
subroutine tamg_print_matrix (amg, lvl)
 never call this function also this does not account for duplicates/ghosts in dofs
 
subroutine tamg_print_restriction_matrix (amg, lvl)
 never call this function also this does not account for duplicates/ghosts in dofs
 
subroutine tamg_print_prolongation_matrix (amg, lvl)
 never call this function also this does not account for duplicates/ghosts in dofs
 

Function/Subroutine Documentation

◆ tamg_print_matrix()

subroutine tree_amg_utils::tamg_print_matrix ( type(tamg_hierarchy_t), intent(inout amg,
integer, intent(in lvl 
)
private

Get the ghosts to agree on the value of 1.0

Definition at line 77 of file tree_amg_utils.f90.

◆ tamg_print_prolongation_matrix()

subroutine tree_amg_utils::tamg_print_prolongation_matrix ( type(tamg_hierarchy_t), intent(inout amg,
integer, intent(in lvl 
)
private

Definition at line 146 of file tree_amg_utils.f90.

◆ tamg_print_restriction_matrix()

subroutine tree_amg_utils::tamg_print_restriction_matrix ( type(tamg_hierarchy_t), intent(inout amg,
integer, intent(in lvl 
)
private

Get the ghosts to agree on the value of 1.0

Definition at line 111 of file tree_amg_utils.f90.

◆ tamg_sample_matrix_val()

subroutine, public tree_amg_utils::tamg_sample_matrix_val ( real(kind=rp), intent(inout val,
type(tamg_hierarchy_t), intent(inout amg,
integer, intent(in lvl,
integer, intent(in i,
integer, intent(in j 
)
Parameters
valReturn the matrix value in A(i,j)
amgThe TreeAMG object (the matrix A)
lvlCurrent level of the cycle
iThe row index to sample A(i,j)
jThe column index to sample A(i,j)

Get the ghosts to agree on the value of 1.0

Definition at line 51 of file tree_amg_utils.f90.