Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
PreAMGSetupCR.c File Reference

Brannick-Falgout compatible relaxation based AMG: SETUP phase. More...

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

Go to the source code of this file.

Functions

SHORT fasp_amg_setup_cr (AMG_data *mgl, AMG_param *param)
 Set up phase of Brannick Falgout CR coarsening for classic AMG. More...
 

Detailed Description

Brannick-Falgout compatible relaxation based AMG: SETUP phase.

Note
This file contains Level-4 (Pre) functions. It requires: AuxMessage.c, AuxTiming.c, AuxVector.c, and PreAMGCoarsenCR.c
Setup A, P, R and levels using the Compatible Relaxation coarsening for classic AMG interpolation

Reference: J. Brannick and R. Falgout Compatible relaxation and coarsening in AMG


Copyright (C) 2010–Present by the FASP team. All rights reserved.

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

TODO: Not working. Need to be fixed. –Chensong

Definition in file PreAMGSetupCR.c.

Function Documentation

◆ fasp_amg_setup_cr()

SHORT fasp_amg_setup_cr ( AMG_data mgl,
AMG_param param 
)

Set up phase of Brannick Falgout CR coarsening for classic AMG.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
James Brannick
Date
04/21/2010

Modified by Chensong Zhang on 05/10/2013: adjust the structure.

Definition at line 48 of file PreAMGSetupCR.c.