LinSolvers Class Reference

#include <LinSolvers.h>

List of all members.

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)
LinSolversoperator= (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


Detailed Description

Definition at line 58 of file LinSolvers.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

LinSolvers& LinSolvers::operator= ( const LinSolvers L  )  [private]

int LinSolvers::QMRS ( const Epetra_Vector &  b,
Epetra_Vector &  x,
double  _tol,
int  _itMax 
) [protected]

Definition at line 83 of file LinSolvers.cpp.

References A, Prec, tol, and work_s.

Referenced by solve().

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:


Member Data Documentation

const Epetra_Operator* LinSolvers::A [private]

Definition at line 62 of file LinSolvers.h.

Referenced by QMRS().

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]

Definition at line 72 of file LinSolvers.h.

Referenced by solve().

const int LinSolvers::LINSOLV_SYMMLQ = 3 [static, private]

Definition at line 71 of file LinSolvers.h.

const Epetra_Operator* LinSolvers::Prec [private]

Definition at line 63 of file LinSolvers.h.

Referenced by QMRS().

int LinSolvers::solverType [private]

Definition at line 67 of file LinSolvers.h.

Referenced by solve().

double* LinSolvers::work_s [private]

Definition at line 65 of file LinSolvers.h.

Referenced by QMRS().


The documentation for this class was generated from the following files:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7