![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Direct and standard interpolations for classical AMG. More...
Go to the source code of this file.
Functions | |
void | fasp_amg_interp (dCSRmat *A, ivector *vertices, dCSRmat *P, iCSRmat *S, AMG_param *param) |
Generate interpolation operator P. More... | |
Direct and standard interpolations for classical AMG.
Reference: U. Trottenberg, C. W. Oosterlee, and A. Schuller Multigrid (Appendix A: An Intro to Algebraic Multigrid) Academic Press Inc., San Diego, CA, 2001 With contributions by A. Brandt, P. Oswald and K. Stuben.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file PreAMGInterp.c.
void fasp_amg_interp | ( | dCSRmat * | A, |
ivector * | vertices, | ||
dCSRmat * | P, | ||
iCSRmat * | S, | ||
AMG_param * | param | ||
) |
Generate interpolation operator P.
A | Pointer to dCSRmat coefficient matrix (index starts from 0) |
vertices | Indicator vector for the C/F splitting of the variables |
P | Prolongation (input: nonzero pattern, output: prolongation) |
S | Strong connection matrix |
param | AMG parameters |
Modified by Xiaozhe Hu on 05/23/2012: add S as input Modified by Chensong Zhang on 09/12/2012: clean up and debug interp_RS Modified by Chensong Zhang on 05/14/2013: reconstruct the code
Definition at line 64 of file PreAMGInterp.c.