![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Coarsening with a modified Ruge-Stuben strategy. More...
Go to the source code of this file.
Functions | |
SHORT | fasp_amg_coarsening_rs (dCSRmat *A, ivector *vertices, dCSRmat *P, iCSRmat *S, AMG_param *param) |
Standard and aggressive coarsening schemes. More... | |
REAL | rabs (REAL x) |
Coarsening with a modified Ruge-Stuben strategy.
Reference: Multigrid by U. Trottenberg, C. W. Oosterlee and A. Schuller Appendix P475 A.7 (by A. Brandt, P. Oswald and K. Stuben) Academic Press Inc., San Diego, CA, 2001.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file PreAMGCoarsenRS.c.
SHORT fasp_amg_coarsening_rs | ( | dCSRmat * | A, |
ivector * | vertices, | ||
dCSRmat * | P, | ||
iCSRmat * | S, | ||
AMG_param * | param | ||
) |
Standard and aggressive coarsening schemes.
A | Pointer to dCSRmat: Coefficient matrix (index starts from 0) |
vertices | Indicator vector for the C/F splitting of the variables |
P | Interpolation matrix (nonzero pattern only) |
S | Strong connection matrix |
param | Pointer to AMG_param: AMG parameters |
Modified by Xiaozhe Hu on 05/23/2011: add strength matrix as an argument Modified by Xiaozhe Hu on 04/24/2013: modify aggressive coarsening Modified by Chensong Zhang on 04/28/2013: remove linked list Modified by Chensong Zhang on 05/11/2013: restructure the code
Definition at line 76 of file PreAMGCoarsenRS.c.
Definition at line 1783 of file PreAMGCoarsenRS.c.