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

Preconditioners for dSTRmat matrices. More...

#include <math.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

void fasp_precond_dstr_diag (REAL *r, REAL *z, void *data)
 Diagonal preconditioner z=inv(D)*r. More...
 
void fasp_precond_dstr_ilu0 (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(0) decomposition. More...
 
void fasp_precond_dstr_ilu1 (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(1) decomposition. More...
 
void fasp_precond_dstr_ilu0_forward (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(0) decomposition: Lz = r. More...
 
void fasp_precond_dstr_ilu0_backward (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(0) decomposition: Uz = r. More...
 
void fasp_precond_dstr_ilu1_forward (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(1) decomposition: Lz = r. More...
 
void fasp_precond_dstr_ilu1_backward (REAL *r, REAL *z, void *data)
 Preconditioning using STR_ILU(1) decomposition: Uz = r. More...
 
void fasp_precond_dstr_blockgs (REAL *r, REAL *z, void *data)
 CPR-type preconditioner (STR format) More...
 

Detailed Description

Preconditioners for dSTRmat matrices.

Definition in file precond_str.c.

Function Documentation

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

CPR-type preconditioner (STR format)

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
10/17/2010

Definition at line 1706 of file precond_str.c.

void fasp_precond_dstr_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
Shiquan Zhang
Date
04/06/2010

Definition at line 27 of file precond_str.c.

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

Preconditioning using STR_ILU(0) decomposition.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
04/21/2010

Definition at line 54 of file precond_str.c.

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

Preconditioning using STR_ILU(0) decomposition: Uz = r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
06/07/2010

Definition at line 978 of file precond_str.c.

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

Preconditioning using STR_ILU(0) decomposition: Lz = r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
06/07/2010

Definition at line 815 of file precond_str.c.

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

Preconditioning using STR_ILU(1) decomposition.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
04/21/2010

Definition at line 336 of file precond_str.c.

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

Preconditioning using STR_ILU(1) decomposition: Uz = r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
04/21/2010

Definition at line 1425 of file precond_str.c.

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

Preconditioning using STR_ILU(1) decomposition: Lz = r.

Parameters
rPointer to the vector needs preconditioning
zPointer to preconditioned vector
dataPointer to precondition data
Author
Shiquan Zhang
Date
04/21/2010

Definition at line 1159 of file precond_str.c.