Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Implements smoothers for use with TreeAMG matrix vector product.
Data Types | |
type | amg_cheby_t |
Type for Chebyshev iteration using TreeAMG matvec. More... | |
type | amg_jacobi_t |
Type for Chebyshev iteration using TreeAMG matvec. More... | |
Functions/Subroutines | |
subroutine | amg_cheby_init (this, n, lvl, max_iter) |
Initialization of chebyshev. | |
subroutine | amg_cheby_power (this, amg, n) |
Power method to approximate largest eigenvalue. | |
subroutine | amg_cheby_solve (this, x, f, n, amg, zero_init) |
Chebyshev smoother From Saad's iterative methods textbook. | |
subroutine | amg_device_cheby_power (this, amg, n) |
Power method to approximate largest eigenvalue. | |
subroutine | amg_device_cheby_solve (this, x, f, x_d, f_d, n, amg, zero_init) |
Chebyshev smoother From Saad's iterative methods textbook. | |
subroutine | amg_jacobi_init (this, n, lvl, max_iter) |
Initialization of Jacobi (this is expensive...) | |
subroutine | amg_jacobi_diag (this, amg, n) |
SAMPLE MATRIX DIAGONAL VALUES (DO NOT USE, EXPENSIVE) | |
subroutine | amg_jacobi_solve (this, x, f, n, amg, niter) |
Jacobi smoother. | |
subroutine | amg_smoo_monitor (lvl, smoo) |
subroutine | amg_cheby_monitor (lvl, lam) |
subroutine tree_amg_smoother::amg_cheby_init | ( | class(amg_cheby_t), intent(inout), target | this, |
integer, intent(in) | n, | ||
integer, intent(in) | lvl, | ||
integer, intent(in) | max_iter | ||
) |
n | Number of dofs |
lvl | The tamg hierarchy level on which the iterations are to be applied |
max_iter | The number of iterations (chebyshev degree) |
Definition at line 97 of file tree_amg_smoother.f90.
|
private |
amg | TreeAMG object |
n | Number of dofs |
Definition at line 124 of file tree_amg_smoother.f90.
|
private |
x | The solution to be returned |
f | The right-hand side |
n | Number of dofs |
amg | The TreeAMG object |
Definition at line 184 of file tree_amg_smoother.f90.
|
private |
amg | TreeAMG object |
n | Number of dofs |
Definition at line 240 of file tree_amg_smoother.f90.
|
private |
x | The solution to be returned |
f | The right-hand side |
n | Number of dofs |
amg | The TreeAMG object |
Definition at line 298 of file tree_amg_smoother.f90.
|
private |
amg | TreeAMG object |
n | Number of dofs |
Definition at line 376 of file tree_amg_smoother.f90.
|
private |
n | Number of dofs |
lvl | The tamg hierarchy level on which the iterations are to be applied |
max_iter | The number of iterations |
Definition at line 357 of file tree_amg_smoother.f90.
|
private |
x | The solution to be returned |
f | The right-hand side |
n | Number of dofs |
amg | The TreeAMG object |
w = A x
r = f - Ax
r = Dinv * (f - Ax)
x = x + omega * Dinv * (f - Ax)
Definition at line 394 of file tree_amg_smoother.f90.
|
private |