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

Iterative solvers for dSTRmat matrices. More...

#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "itsolver_util.inl"

Go to the source code of this file.

Functions

INT fasp_solver_dstr_itsolver (dSTRmat *A, dvector *b, dvector *x, precond *pc, itsolver_param *itparam)
 Solve Ax=b by standard Krylov methods. More...
 
INT fasp_solver_dstr_krylov (dSTRmat *A, dvector *b, dvector *x, itsolver_param *itparam)
 Solve Ax=b by standard Krylov methods. More...
 
INT fasp_solver_dstr_krylov_diag (dSTRmat *A, dvector *b, dvector *x, itsolver_param *itparam)
 Solve Ax=b by diagonal preconditioned Krylov methods. More...
 
INT fasp_solver_dstr_krylov_ilu (dSTRmat *A, dvector *b, dvector *x, itsolver_param *itparam, ILU_param *iluparam)
 Solve Ax=b by structured ILU preconditioned Krylov methods. More...
 
INT fasp_solver_dstr_krylov_blockgs (dSTRmat *A, dvector *b, dvector *x, itsolver_param *itparam, ivector *neigh, ivector *order)
 Solve Ax=b by diagonal preconditioned Krylov methods. More...
 

Detailed Description

Iterative solvers for dSTRmat matrices.

Definition in file itsolver_str.c.

Function Documentation

INT fasp_solver_dstr_itsolver ( dSTRmat A,
dvector b,
dvector x,
precond pc,
itsolver_param itparam 
)

Solve Ax=b by standard Krylov methods.

Parameters
APointer to the coeff matrix in dSTRmat format
bPointer to the right hand side in dvector format
xPointer to the approx solution in dvector format
pcPointer to the preconditioning action
itparamPointer to parameters for iterative solvers
Returns
Iteration number if converges; ERROR otherwise.
Author
Chensong Zhang
Date
09/25/2009

Definition at line 34 of file itsolver_str.c.

INT fasp_solver_dstr_krylov ( dSTRmat A,
dvector b,
dvector x,
itsolver_param itparam 
)

Solve Ax=b by standard Krylov methods.

Parameters
APointer to the coeff matrix in dSTRmat format
bPointer to the right hand side in dvector format
xPointer to the approx solution in dvector format
itparamPointer to parameters for iterative solvers
Returns
Iteration number if converges; ERROR otherwise.
Author
Zhiyang Zhou
Date
04/25/2010

Definition at line 117 of file itsolver_str.c.

INT fasp_solver_dstr_krylov_blockgs ( dSTRmat A,
dvector b,
dvector x,
itsolver_param itparam,
ivector neigh,
ivector order 
)

Solve Ax=b by diagonal preconditioned Krylov methods.

Parameters
APointer to the coeff matrix in dSTRmat format
bPointer to the right hand side in dvector format
xPointer to the approx solution in dvector format
itparamPointer to parameters for iterative solvers
neighPointer to neighbor vector
orderPointer to solver ordering
Returns
Iteration number if converges; ERROR otherwise.
Author
Xiaozhe Hu
Date
10/10/2010

Definition at line 324 of file itsolver_str.c.

INT fasp_solver_dstr_krylov_diag ( dSTRmat A,
dvector b,
dvector x,
itsolver_param itparam 
)

Solve Ax=b by diagonal preconditioned Krylov methods.

Parameters
APointer to the coeff matrix in dSTRmat format
bPointer to the right hand side in dvector format
xPointer to the approx solution in dvector format
itparamPointer to parameters for iterative solvers
Returns
Iteration number if converges; ERROR otherwise.
Author
Zhiyang Zhou
Date
4/23/2010

Definition at line 165 of file itsolver_str.c.

INT fasp_solver_dstr_krylov_ilu ( dSTRmat A,
dvector b,
dvector x,
itsolver_param itparam,
ILU_param iluparam 
)

Solve Ax=b by structured ILU preconditioned Krylov methods.

Parameters
APointer to the coeff matrix in dSTRmat format
bPointer to the right hand side in dvector format
xPointer to the approx solution in dvector format
itparamPointer to parameters for iterative solvers
iluparamPointer to parameters for ILU
Returns
Iteration number if converges; ERROR otherwise.
Author
Xiaozhe Hu
Date
05/01/2010

Definition at line 231 of file itsolver_str.c.