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

Algebraic multigrid iterations: SOLVE phase. More...

#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "KryUtil.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_namli (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!
This file contains Level-4 (Pre) functions. It requires: AuxMessage.c, AuxTiming.c, AuxVector.c, BlaSpmvCSR.c, BlaVector.c, PreMGCycle.c, PreMGCycleFull.c, and PreMGRecurAMLI.c

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

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

Definition in file PreMGSolve.c.

Function Documentation

◆ fasp_amg_solve()

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 49 of file PreMGSolve.c.

◆ fasp_amg_solve_amli()

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

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

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.

Definition at line 142 of file PreMGSolve.c.

◆ fasp_amg_solve_namli()

INT fasp_amg_solve_namli ( 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 230 of file PreMGSolve.c.

◆ fasp_famg_solve()

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 308 of file PreMGSolve.c.