![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Iterative solvers using MatFree spmv operations. More...
#include <time.h>
#include "fasp.h"
#include "fasp_block.h"
#include "fasp_functs.h"
#include "BlaSpmvMatFree.inl"
#include "KryUtil.inl"
Go to the source code of this file.
Functions | |
INT | fasp_solver_itsolver (mxv_matfree *mf, dvector *b, dvector *x, precond *pc, ITS_param *itparam) |
Solve Ax=b by preconditioned Krylov methods for CSR matrices. More... | |
INT | fasp_solver_krylov (mxv_matfree *mf, dvector *b, dvector *x, ITS_param *itparam) |
Solve Ax=b by standard Krylov methods – without preconditioner. More... | |
void | fasp_solver_matfree_init (INT matrix_format, mxv_matfree *mf, void *A) |
Initialize MatFree (or non-specified format) itsovlers. More... | |
Iterative solvers using MatFree spmv operations.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file SolMatFree.c.
INT fasp_solver_itsolver | ( | mxv_matfree * | mf, |
dvector * | b, | ||
dvector * | x, | ||
precond * | pc, | ||
ITS_param * | itparam | ||
) |
Solve Ax=b by preconditioned Krylov methods for CSR matrices.
mf | Pointer to mxv_matfree MatFree spmv operation |
b | Pointer to the right hand side in dvector format |
x | Pointer to the approx solution in dvector format |
pc | Pointer to the preconditioning action |
itparam | Pointer to parameters for iterative solvers |
Modified by Feiteng Huang on 09/19/2012: matrix free
Definition at line 58 of file SolMatFree.c.
INT fasp_solver_krylov | ( | mxv_matfree * | mf, |
dvector * | b, | ||
dvector * | x, | ||
ITS_param * | itparam | ||
) |
Solve Ax=b by standard Krylov methods – without preconditioner.
mf | Pointer to mxv_matfree MatFree spmv operation |
b | Pointer to the right hand side in dvector format |
x | Pointer to the approx solution in dvector format |
itparam | Pointer to parameters for iterative solvers |
Modified by Feiteng Huang on 09/20/2012: matrix free
Definition at line 157 of file SolMatFree.c.
void fasp_solver_matfree_init | ( | INT | matrix_format, |
mxv_matfree * | mf, | ||
void * | A | ||
) |
Initialize MatFree (or non-specified format) itsovlers.
matrix_format | matrix format |
mf | Pointer to mxv_matfree MatFree spmv operation |
A | void pointer to the coefficient matrix |
Modified by Chensong Zhang on 05/10/2013: Change interface of mat-free mv
Definition at line 201 of file SolMatFree.c.