Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
PreAMGSetupRS.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
This file contains Level-4 (Pre) functions. It requires: AuxMemory.c, AuxMessage.c, AuxTiming.c, AuxVector.c, BlaILUSetupCSR.c, BlaSchwarzSetup.c, BlaSparseCSR.c, BlaSpmvCSR.c, PreAMGCoarsenRS.c, PreAMGInterp.c, and PreMGRecurAMLI.c

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.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file PreAMGSetupRS.c.

Function Documentation

◆ fasp_amg_setup_rs()

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 Xiaozhe Hu on 01/23/2011: add AMLI cycle. Modified by Xiaozhe Hu on 04/24/2013: aggressive coarsening. Modified by Chensong Zhang on 09/23/2014: check coarse spaces. Modified by Chensong Zhang on 08/28/2022: min_cdof from SHORT to INT.

Definition at line 52 of file PreAMGSetupRS.c.