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

Setup incomplete LU decomposition 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_ilu_dstr_setup0 (dSTRmat *A, dSTRmat *LU)
 Get ILU(0) decomposition of a structured matrix A. More...
 
void fasp_ilu_dstr_setup1 (dSTRmat *A, dSTRmat *LU)
 Get ILU(1) decoposition of a structured matrix A. More...
 

Detailed Description

Setup incomplete LU decomposition for dSTRmat matrices.

Definition in file ilu_setup_str.c.

Function Documentation

void fasp_ilu_dstr_setup0 ( dSTRmat A,
dSTRmat LU 
)

Get ILU(0) decomposition of a structured matrix A.

Parameters
APointer to dSTRmat
LUPointer to ILU structured matrix of REAL type
Author
Shiquan Zhang, Xiaozhe Hu
Date
11/08/2010
Note
Only works for 5 bands 2D and 7 bands 3D matrix with default offsets (order can be arbitrary)!

Definition at line 28 of file ilu_setup_str.c.

void fasp_ilu_dstr_setup1 ( dSTRmat A,
dSTRmat LU 
)

Get ILU(1) decoposition of a structured matrix A.

Parameters
APointer to oringinal structured matrix of REAL type
LUPointer to ILU structured matrix of REAL type
Author
Shiquan Zhang, Xiaozhe Hu
Date
11/08/2010
Note
put L and U in a STR matrix and it has the following structure: the diag is d, the offdiag of L are alpha1 to alpha6, the offdiag of U are beta1 to beta6
Only works for 5 bands 2D and 7 bands 3D matrix with default offsets

Definition at line 319 of file ilu_setup_str.c.