#include <LinSolvers.h>
Public Member Functions | |
LinSolvers (const Epetra_Operator *AA, const Epetra_Operator *PP, double *wTmp, int _type=LINSOLV_QMR) | |
~LinSolvers () | |
int | solve (const Epetra_Vector &b, Epetra_Vector &x, double _tol, int _itMax) |
Protected Member Functions | |
int | QMRS (const Epetra_Vector &b, Epetra_Vector &x, double _tol, int _itMax) |
Private Member Functions | |
LinSolvers (const LinSolvers &L) | |
LinSolvers & | operator= (const LinSolvers &L) |
Private Attributes | |
const Epetra_Operator * | A |
const Epetra_Operator * | Prec |
double * | work_s |
int | solverType |
Static Private Attributes | |
static const int | LINSOLV_CGS = 1 |
static const int | LINSOLV_MINRES = 2 |
static const int | LINSOLV_SYMMLQ = 3 |
static const int | LINSOLV_QMR = 4 |
Definition at line 58 of file LinSolvers.h.
LinSolvers::LinSolvers | ( | const LinSolvers & | L | ) | [private] |
LinSolvers::LinSolvers | ( | const Epetra_Operator * | AA, | |
const Epetra_Operator * | PP, | |||
double * | wTmp, | |||
int | _type = LINSOLV_QMR | |||
) |
Definition at line 59 of file LinSolvers.cpp.
LinSolvers::~LinSolvers | ( | ) | [inline] |
Definition at line 87 of file LinSolvers.h.
LinSolvers& LinSolvers::operator= | ( | const LinSolvers & | L | ) | [private] |
int LinSolvers::QMRS | ( | const Epetra_Vector & | b, | |
Epetra_Vector & | x, | |||
double | _tol, | |||
int | _itMax | |||
) | [protected] |
int LinSolvers::solve | ( | const Epetra_Vector & | b, | |
Epetra_Vector & | x, | |||
double | _tol, | |||
int | _itMax | |||
) |
Definition at line 67 of file LinSolvers.cpp.
References LINSOLV_QMR, QMRS(), and solverType.
Referenced by JDBSYM::jdbsym().
Here is the call graph for this function:
const Epetra_Operator* LinSolvers::A [private] |
const int LinSolvers::LINSOLV_CGS = 1 [static, private] |
Definition at line 69 of file LinSolvers.h.
const int LinSolvers::LINSOLV_MINRES = 2 [static, private] |
Definition at line 70 of file LinSolvers.h.
const int LinSolvers::LINSOLV_QMR = 4 [static, private] |
const int LinSolvers::LINSOLV_SYMMLQ = 3 [static, private] |
Definition at line 71 of file LinSolvers.h.
const Epetra_Operator* LinSolvers::Prec [private] |
int LinSolvers::solverType [private] |
double* LinSolvers::work_s [private] |