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

Coarsening with Brannick-Falgout strategy. More...

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

Go to the source code of this file.

Functions

INT fasp_amg_coarsening_cr (const INT i_0, const INT i_n, dCSRmat *A, ivector *vertices, AMG_param *param)
 CR coarsening. More...
 

Detailed Description

Coarsening with Brannick-Falgout strategy.

Definition in file coarsening_cr.c.

Function Documentation

INT fasp_amg_coarsening_cr ( const INT  i_0,
const INT  i_n,
dCSRmat A,
ivector vertices,
AMG_param param 
)

CR coarsening.

Parameters
i_0Starting index
i_nEnding index
APointer to dCSRmat: the coefficient matrix (index starts from 0)
verticesPointer to CF, 0: fpt (current level) or 1: cpt
paramPointer to AMG_param: AMG parameters
Returns
Number of coarse level points
Author
James Brannick
Date
04/21/2010

Modified by Chunsheng Feng, Zheng Li on 10/14/2012

CR STAGES

Definition at line 42 of file coarsening_cr.c.