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

Note
This file contains Level-1 (Bla) functions. It requires: AuxMemory.c, BlaSmallMat.c, BlaSmallMatInv.c, BlaSparseSTR.c, and BlaArray.c

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.

Definition in file BlaILUSetupSTR.c.

Function Documentation

◆ fasp_ilu_dstr_setup0()

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 38 of file BlaILUSetupSTR.c.

◆ fasp_ilu_dstr_setup1()

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 333 of file BlaILUSetupSTR.c.