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

Algebraic multigrid iterations: SOLVE phase. More...

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

Go to the source code of this file.

Functions

INT fasp_amg_solve (AMG_data *mgl, AMG_param *param)
 AMG – SOLVE phase. More...
 
INT fasp_amg_solve_amli (AMG_data *mgl, AMG_param *param)
 AMLI – SOLVE phase. More...
 
INT fasp_amg_solve_nl_amli (AMG_data *mgl, AMG_param *param)
 Nonlinear AMLI – SOLVE phase. More...
 
void fasp_famg_solve (AMG_data *mgl, AMG_param *param)
 FMG – SOLVE phase. More...
 

Detailed Description

Algebraic multigrid iterations: SOLVE phase.

Note
Solve Ax=b using multigrid method. This is SOLVE phase only and is independent of SETUP method used! Should be called after multigrid hierarchy has been generated!

Definition in file amg_solve.c.

Function Documentation

INT fasp_amg_solve ( AMG_data mgl,
AMG_param param 
)

AMG – SOLVE phase.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
Iteration number if converges; ERROR otherwise.
Author
Xuehai Huang, Chensong Zhang
Date
04/02/2010

Modified by Chensong 04/21/2013: Fix an output typo

Definition at line 36 of file amg_solve.c.

INT fasp_amg_solve_amli ( AMG_data mgl,
AMG_param param 
)

AMLI – SOLVE phase.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
Iteration number if converges; ERROR otherwise.
Author
Xiaozhe Hu
Date
01/23/2011
Note
AMLI polynomial computed by the best approximation of 1/x. Refer to Johannes K. Kraus, Panayot S. Vassilevski, Ludmil T. Zikatanov, "Polynomial of best uniform approximation to $x^{-1}$ and smoothing in two-level methods", 2013.

Modified by Chensong 04/21/2013: Fix an output typo

Definition at line 125 of file amg_solve.c.

INT fasp_amg_solve_nl_amli ( AMG_data mgl,
AMG_param param 
)

Nonlinear AMLI – SOLVE phase.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
Iteration number if converges; ERROR otherwise.
Author
Xiaozhe Hu
Date
04/30/2011

Modified by Chensong 04/21/2013: Fix an output typo

Note
Nonlinear AMLI-cycle. Refer to Xiazhe Hu, Panayot S. Vassilevski, Jinchao Xu "Comparative Convergence Analysis of Nonlinear AMLI-cycle Multigrid", 2013.

Definition at line 209 of file amg_solve.c.

void fasp_famg_solve ( AMG_data mgl,
AMG_param param 
)

FMG – SOLVE phase.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Author
Chensong Zhang
Date
01/10/2012

Definition at line 281 of file amg_solve.c.