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

Preconditioners for dBSRmat matrices. More...

#include "fasp.h"
#include "fasp_functs.h"
#include "mg_util.inl"

Go to the source code of this file.

Functions

void fasp_precond_dbsr_diag (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dbsr_diag_nc2 (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dbsr_diag_nc3 (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dbsr_diag_nc5 (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dbsr_diag_nc7 (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dbsr_ilu (REAL *r, REAL *z, void *data)
 ILU preconditioner. More...
 
void fasp_precond_dbsr_amg (REAL *r, REAL *z, void *data)
 AMG preconditioner. More...
 
void fasp_precond_dbsr_nl_amli (REAL *r, REAL *z, void *data)
 Nonlinear AMLI-cycle AMG preconditioner. More...
 
void fasp_precond_dbsr_amg_nk (REAL *r, REAL *z, void *data)
 AMG with extra near kernel solve preconditioner. More...
 

Detailed Description

Preconditioners for dBSRmat matrices.

Definition in file precond_bsr.c.

Function Documentation

void fasp_precond_dbsr_amg ( REAL r,
REAL z,
void *  data 
)

AMG preconditioner.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Xiaozhe Hu
Date
08/07/2011

Definition at line 563 of file precond_bsr.c.

void fasp_precond_dbsr_amg_nk ( REAL r,
REAL z,
void *  data 
)

AMG with extra near kernel solve preconditioner.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Xiaozhe Hu
Date
05/26/2014

Definition at line 643 of file precond_bsr.c.

void fasp_precond_dbsr_diag ( REAL r,
REAL z,
void *  data 
)

Diagonal preconditioner z=inv(D)*r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Zhou Zhiyang, Xiaozhe Hu
Date
10/26/2010

Modified by Chunsheng Feng, Xiaoqiang Yue

Date
05/24/2012
Note
Works for general nb (Xiaozhe)

Definition at line 37 of file precond_bsr.c.

void fasp_precond_dbsr_diag_nc2 ( REAL r,
REAL z,
void *  data 
)

Diagonal preconditioner z=inv(D)*r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Zhou Zhiyang, Xiaozhe Hu
Date
11/18/2011

Modified by Chunsheng Feng, Xiaoqiang Yue

Date
05/24/2012
Note
Works for 2-component (Xiaozhe)

Definition at line 111 of file precond_bsr.c.

void fasp_precond_dbsr_diag_nc3 ( REAL r,
REAL z,
void *  data 
)

Diagonal preconditioner z=inv(D)*r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Zhou Zhiyang, Xiaozhe Hu
Date
01/06/2011

Modified by Chunsheng Feng Xiaoqiang Yue

Date
05/24/2012
Note
Works for 3-component (Xiaozhe)

Definition at line 161 of file precond_bsr.c.

void fasp_precond_dbsr_diag_nc5 ( REAL r,
REAL z,
void *  data 
)

Diagonal preconditioner z=inv(D)*r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Zhou Zhiyang, Xiaozhe Hu
Date
01/06/2011

Modified by Chunsheng Feng, Xiaoqiang Yue

Date
05/24/2012
Note
Works for 5-component (Xiaozhe)

Definition at line 211 of file precond_bsr.c.

void fasp_precond_dbsr_diag_nc7 ( REAL r,
REAL z,
void *  data 
)

Diagonal preconditioner z=inv(D)*r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Zhou Zhiyang, Xiaozhe Hu
Date
01/06/2011

Modified by Chunsheng Feng Xiaoqiang Yue

Date
05/24/2012
Note
Works for 7-component (Xiaozhe)

Definition at line 260 of file precond_bsr.c.

void fasp_precond_dbsr_ilu ( REAL r,
REAL z,
void *  data 
)

ILU preconditioner.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang, Xiaozhe Hu
Date
11/09/2010
Note
Works for general nb (Xiaozhe)

Definition at line 306 of file precond_bsr.c.

void fasp_precond_dbsr_nl_amli ( REAL r,
REAL z,
void *  data 
)

Nonlinear AMLI-cycle AMG preconditioner.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Xiaozhe Hu
Date
02/06/2012

Definition at line 607 of file precond_bsr.c.