![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Abstract AMLI multilevel iteration – recursive version. More...
#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "PreMGRecurAMLI.inl"
#include "PreMGSmoother.inl"
#include "PreMGUtil.inl"
Go to the source code of this file.
Functions | |
void | fasp_solver_amli (AMG_data *mgl, AMG_param *param, INT l) |
Solve Ax=b with recursive AMLI-cycle. More... | |
void | fasp_solver_namli (AMG_data *mgl, AMG_param *param, INT l, INT num_levels) |
Solve Ax=b with recursive nonlinear AMLI-cycle. More... | |
void | fasp_solver_namli_bsr (AMG_data_bsr *mgl, AMG_param *param, INT l, 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... | |
Abstract AMLI multilevel iteration – recursive version.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file PreMGRecurAMLI.c.
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.
lambda_max | Maximal lambda |
lambda_min | Minimal lambda |
degree | Degree of polynomial approximation |
coef | Coefficient of AMLI (output) |
Definition at line 791 of file PreMGRecurAMLI.c.
Solve Ax=b with recursive AMLI-cycle.
mgl | Pointer to AMG data: AMG_data |
param | Pointer to AMG parameters: AMG_param |
l | Current level |
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 58 of file PreMGRecurAMLI.c.
Solve Ax=b with recursive nonlinear AMLI-cycle.
mgl | Pointer to AMG_data data |
param | Pointer to AMG parameters |
l | Current level |
num_levels | Total number of levels |
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 291 of file PreMGRecurAMLI.c.
void fasp_solver_namli_bsr | ( | AMG_data_bsr * | mgl, |
AMG_param * | param, | ||
INT | l, | ||
INT | num_levels | ||
) |
Solve Ax=b with recursive nonlinear AMLI-cycle.
mgl | Pointer to AMG data: AMG_data |
param | Pointer to AMG parameters: AMG_param |
l | Current level |
num_levels | Total number of levels |
Modified by Chensong Zhang on 02/27/2013: update direct solvers. Modified by Hongxuan Zhang on 12/15/2015: update direct solvers. Modified by Li Zhao on 05/01/2023: update direct solvers and smoothers.
该函数内部生成了对角块的逆, zhaoli, 2023.05.01
该函数直接使用对角块的逆(在setup阶段生成), zhaoli, 2023.05.01
该函数内部生成了对角块的逆, zhaoli, 2023.05.01
该函数直接使用对角块的逆(在setup阶段生成), zhaoli, 2023.05.01
Definition at line 528 of file PreMGRecurAMLI.c.