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

Abstract AMLI multilevel iteration – recursive version. More...

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

Go to the source code of this file.

Functions

void fasp_solver_amli (AMG_data *mgl, AMG_param *param, INT level)
 Solve Ax=b with recursive AMLI-cycle. More...
 
void fasp_solver_nl_amli (AMG_data *mgl, AMG_param *param, INT level, INT num_levels)
 Solve Ax=b with recursive nonlinear AMLI-cycle. More...
 
void fasp_solver_nl_amli_bsr (AMG_data_bsr *mgl, AMG_param *param, INT level, INT num_levels)
 Solve Ax=b with recursive nonlinear AMLI-cycle. More...
 
void fasp_amg_amli_coef (const REAL lambda_max, const REAL lambda_min, const INT degree, REAL *coef)
 Compute the coefficients of the polynomial used by AMLI-cycle. More...
 

Detailed Description

Abstract AMLI multilevel iteration – recursive version.

Note
AMLI and non-linear AMLI cycles

Definition in file amlirecur.c.

Function Documentation

void fasp_amg_amli_coef ( const REAL  lambda_max,
const REAL  lambda_min,
const INT  degree,
REAL coef 
)

Compute the coefficients of the polynomial used by AMLI-cycle.

Parameters
lambda_maxMaximal lambda
lambda_minMinimal lambda
degreeDegree of polynomial approximation
coefCoefficient of AMLI (output)
Author
Xiaozhe Hu
Date
01/23/2011

Definition at line 706 of file amlirecur.c.

void fasp_solver_amli ( AMG_data mgl,
AMG_param param,
INT  level 
)

Solve Ax=b with recursive AMLI-cycle.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
levelCurrent level
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 Zhang on 02/27/2013: update direct solvers. Modified by Zheng Li on 11/10/2014: update direct solvers. Modified by Hongxuan Zhang on 12/15/2015: update direct solvers.

Definition at line 45 of file amlirecur.c.

void fasp_solver_nl_amli ( AMG_data mgl,
AMG_param param,
INT  level,
INT  num_levels 
)

Solve Ax=b with recursive nonlinear AMLI-cycle.

Parameters
mglPointer to AMG_data data
paramPointer to AMG parameters
levelCurrent level
num_levelsTotal number of levels
Author
Xiaozhe Hu
Date
04/06/2010
Note
Refer to Xiazhe Hu, Panayot S. Vassilevski, Jinchao Xu "Comparative Convergence Analysis of Nonlinear AMLI-cycle Multigrid", 2013.

Modified by Chensong Zhang on 02/27/2013: update direct solvers. Modified by Zheng Li on 11/10/2014: update direct solvers. Modified by Hongxuan Zhang on 12/15/2015: update direct solvers.

Definition at line 269 of file amlirecur.c.

void fasp_solver_nl_amli_bsr ( AMG_data_bsr mgl,
AMG_param param,
INT  level,
INT  num_levels 
)

Solve Ax=b with recursive nonlinear AMLI-cycle.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
levelCurrent level
num_levelsTotal number of levels
Author
Xiaozhe Hu
Date
04/06/2010
Note
Nonlinear AMLI-cycle. Refer to Xiazhe Hu, Panayot S. Vassilevski, Jinchao Xu "Comparative Convergence Analysis of Nonlinear AMLI-cycle Multigrid", 2013.

Modified by Chensong Zhang on 02/27/2013: update direct solvers. Modified by Hongxuan Zhang on 12/15/2015: update direct solvers.

Definition at line 508 of file amlirecur.c.