ParMooN
 All Classes Functions Variables Friends Pages
Bcgs.h
1 #ifndef __BCGS__
2 #define __BCGS__
3 
4 #include <ItMethod.h>
5 
7 class TBcgs : public TItMethod
8 {
9  protected:
10 
12  double *r;
13  double *y;
14  double *p;
15  double *Ap;
16  double *v;
17  double *t;
18 
19  public:
21  TBcgs(MatVecProc *MatVec, DefectProc *Defect, TItMethod *Prec,
22  int n_aux, int N_Unknowns, int scalar);
23 
25  ~TBcgs();
26 
28  int Iterate(TSquareMatrix **A, TMatrix **B, double *sol,
29  double *rhs);
30 };
31 #endif
Definition: Bcgs.h:7
double * r
Definition: Bcgs.h:12
Definition: Matrix.h:21
Definition: SquareMatrix.h:20
int Iterate(TSquareMatrix **A, TMatrix **B, double *sol, double *rhs)
Definition: Bcgs.C:85
TBcgs(MatVecProc *MatVec, DefectProc *Defect, TItMethod *Prec, int n_aux, int N_Unknowns, int scalar)
Definition: Bcgs.C:13
Definition: ItMethod.h:19
~TBcgs()
Definition: Bcgs.C:70