![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Smoothers for dCSRmat matrices using poly. approx. to A^{-1}. More...
#include <math.h>
#include <time.h>
#include <float.h>
#include <limits.h>
#include "fasp.h"
#include "fasp_functs.h"
Go to the source code of this file.
Functions | |
void | fasp_smoother_dcsr_poly (dCSRmat *Amat, dvector *brhs, dvector *usol, INT n, INT ndeg, INT L) |
poly approx to A^{-1} as MG smoother More... | |
void | fasp_smoother_dcsr_poly_old (dCSRmat *Amat, dvector *brhs, dvector *usol, INT n, INT ndeg, INT L) |
poly approx to A^{-1} as MG smoother: JK<Z2010 More... | |
Smoothers for dCSRmat matrices using poly. approx. to A^{-1}.
Reference: Johannes K. Kraus, Panayot S. Vassilevski, Ludmil T. Zikatanov Polynomial of best uniform approximation to $x^{-1}$ and smoothing in two-leve methods, 2013.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
// TODO: Need to optimize routines here! –Chensong
Definition in file ItrSmootherCSRpoly.c.
void fasp_smoother_dcsr_poly | ( | dCSRmat * | Amat, |
dvector * | brhs, | ||
dvector * | usol, | ||
INT | n, | ||
INT | ndeg, | ||
INT | L | ||
) |
poly approx to A^{-1} as MG smoother
Amat | Pointer to stiffness matrix, consider square matrix. |
brhs | Pointer to right hand side |
usol | Pointer to solution |
n | Problem size |
ndeg | Degree of poly |
L | Number of iterations |
Definition at line 67 of file ItrSmootherCSRpoly.c.
void fasp_smoother_dcsr_poly_old | ( | dCSRmat * | Amat, |
dvector * | brhs, | ||
dvector * | usol, | ||
INT | n, | ||
INT | ndeg, | ||
INT | L | ||
) |
poly approx to A^{-1} as MG smoother: JK<Z2010
Amat | Pointer to stiffness matrix |
brhs | Pointer to right hand side |
usol | Pointer to solution |
n | Problem size |
ndeg | Degree of poly |
L | Number of iterations |
Modified by Chunsheng Feng, Zheng Li on 10/18/2012
Definition at line 165 of file ItrSmootherCSRpoly.c.