Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
ItrSmootherCSRpoly.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}.

Note
This file contains Level-2 (Itr) functions. It requires: AuxArray.c, AuxMemory.c, AuxThreads.c, BlaArray.c, and BlaSpmvCSR.c

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.

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

Warning
Do NOT use auto-indentation in this file!

// TODO: Need to optimize routines here! –Chensong

Definition in file ItrSmootherCSRpoly.c.

Function Documentation

◆ fasp_smoother_dcsr_poly()

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 67 of file ItrSmootherCSRpoly.c.

◆ fasp_smoother_dcsr_poly_old()

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 165 of file ItrSmootherCSRpoly.c.