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

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&LTZ2010 More...
 

Detailed Description

Smoothers for dCSRmat matrices using poly. approx. to A^{-1}.

Refer to Johannes K. Kraus, Panayot S. Vassilevski, Ludmil T. Zikatanov "Polynomial of best uniform approximation to $x^{-1}$ and smoothing in two-leve methods", 2013.

Definition in file smoother_csr_poly.c.

Function Documentation

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

Parameters
AmatPointer to stiffness matrix, consider square matrix.
brhsPointer to right hand side
usolPointer to solution
nProblem size
ndegDegree of poly
LNumber of iterations
Author
Fei Cao, Xiaozhe Hu
Date
05/24/2012

Definition at line 48 of file smoother_csr_poly.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&LTZ2010

Parameters
AmatPointer to stiffness matrix
brhsPointer to right hand side
usolPointer to solution
nProblem size
ndegDegree of poly
LNumber of iterations
Author
James Brannick and Ludmil T Zikatanov
Date
06/28/2010

Modified by Chunsheng Feng, Zheng Li on 10/18/2012

Definition at line 148 of file smoother_csr_poly.c.