Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
amg_setup_rs.c File Reference

Ruge-Stuben AMG: SETUP phase. More...

#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

SHORT fasp_amg_setup_rs (AMG_data *mgl, AMG_param *param)
 Setup phase of Ruge and Stuben's classic AMG. More...
 

Detailed Description

Ruge-Stuben AMG: SETUP phase.

Note
Ref 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.

Definition in file amg_setup_rs.c.

Function Documentation

SHORT fasp_amg_setup_rs ( AMG_data mgl,
AMG_param param 
)

Setup phase of Ruge and Stuben's classic AMG.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
Chensong Zhang
Date
05/09/2010

Modified by Chensong Zhang on 04/04/2009. Modified by Chensong Zhang on 05/09/2010. Modified by Zhiyang Zhou on 11/17/2010. Modified by Xiaozhe Hu on 01/23/2011: add AMLI cycle. Modified by Chensong zhang on 09/09/2011: add min dof. Modified by Xiaozhe Hu on 04/24/2013: aggressive coarsening. Modified by Chensong Zhang on 05/03/2013: add error handling in setup. Modified by Chensong Zhang on 05/10/2013: adjust the structure. Modified by Chensong Zhang on 07/26/2014: handle coarsening errors. Modified by Chensong Zhang on 09/23/2014: check coarse spaces.

Definition at line 47 of file amg_setup_rs.c.