ParMooN
 All Classes Functions Variables Friends Pages
FixedPointIte.h
1 // =======================================================================
2 // @(#)ItMethod.h 1.6 10/18/99
3 //
4 // Class: TFixedPointIte
5 // Purpose: defines the fixed point iteration
6 //
7 // Author: Volker John
8 //
9 // History: start of implementation 24.10.2000
10 //
11 // =======================================================================
12 #ifndef __FIXEDPOINT__
13 #define __FIXEDPOINT__
14 
15 #include <ItMethod.h>
16 #include <NSE_MultiGrid.h>
17 #ifdef _MPI
18  #ifdef __3D__
19  #include <ParFECommunicator3D.h>
20  #else
21  #include <ParFECommunicator2D.h>
22  #endif
23 #endif
24 
26 class TFixedPointIte : public TItMethod
27 {
28  protected:
29 #ifdef _MPI
30  #ifdef __3D__
31  TParFECommunicator3D *ParComm;
32  #else
33  TParFECommunicator2D *ParComm;
34  #endif
35 #endif
36 
37  public:
38 
40  TFixedPointIte(MatVecProc *MatVec, DefectProc *Defect, TItMethod *Prec,
41  int n_aux, int N_Unknowns, int scalar);
42 
43 #ifdef _MPI
44  TFixedPointIte(MatVecProc *MatVec,
45  DefectProc *Defect,
46  TItMethod *Prec,
47  int n_aux, int n_dof,
48  int scalar,
49  #ifdef __3D__
50  TParFECommunicator3D *parcomm
51  #else
52  TParFECommunicator2D *parcomm
53  #endif
54  );
55 #endif
56 
58  virtual ~TFixedPointIte();
59 
61  int Iterate(TSquareMatrix **A, TMatrix **B, double *sol,
62  double *rhs);
63 };
64 #endif
Definition: Matrix.h:21
Definition: FixedPointIte.h:26
virtual ~TFixedPointIte()
Definition: FixedPointIte.C:140
TFixedPointIte(MatVecProc *MatVec, DefectProc *Defect, TItMethod *Prec, int n_aux, int N_Unknowns, int scalar)
Definition: FixedPointIte.C:34
Definition: SquareMatrix.h:20
int Iterate(TSquareMatrix **A, TMatrix **B, double *sol, double *rhs)
Definition: FixedPointIte.C:150
Definition: ParFECommunicator3D.h:25
Definition: ItMethod.h:19
Definition: ParFECommunicator2D.h:20