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

Unsmoothed aggregation AMG: SETUP phase. More...

#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "aggregation_csr.inl"
#include "aggregation_bsr.inl"

Go to the source code of this file.

Functions

SHORT fasp_amg_setup_ua (AMG_data *mgl, AMG_param *param)
 Set up phase of unsmoothed aggregation AMG. More...
 
SHORT fasp_amg_setup_ua_bsr (AMG_data_bsr *mgl, AMG_param *param)
 Set up phase of unsmoothed aggregation AMG (BSR format) More...
 

Detailed Description

Unsmoothed aggregation AMG: SETUP phase.

Note
Setup A, P, PT and levels using the unsmoothed aggregation algorithm; Refer to P. Vanek, J. Madel and M. Brezina "Algebraic Multigrid on Unstructured Meshes", 1994

Definition in file amg_setup_ua.c.

Function Documentation

SHORT fasp_amg_setup_ua ( AMG_data mgl,
AMG_param param 
)

Set up phase of unsmoothed aggregation AMG.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
Xiaozhe Hu
Date
12/28/2011

Definition at line 38 of file amg_setup_ua.c.

INT fasp_amg_setup_ua_bsr ( AMG_data_bsr mgl,
AMG_param param 
)

Set up phase of unsmoothed aggregation AMG (BSR format)

Parameters
mglPointer to AMG data: AMG_data_bsr
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
Xiaozhe Hu
Date
03/16/2012

Definition at line 69 of file amg_setup_ua.c.