/[escript]/trunk/paso/src/Solver.h
ViewVC logotype

Diff of /trunk/paso/src/Solver.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1862 by artak, Wed Oct 8 06:30:50 2008 UTC revision 1939 by artak, Tue Oct 28 03:47:08 2008 UTC
# Line 95  typedef struct Paso_Solver_RILU Paso_Sol Line 95  typedef struct Paso_Solver_RILU Paso_Sol
95  /* AMG preconditioner */  /* AMG preconditioner */
96  struct Paso_Solver_AMG {  struct Paso_Solver_AMG {
97    dim_t n;    dim_t n;
98      dim_t level;
99    dim_t n_block;    dim_t n_block;
100    dim_t n_F;    dim_t n_F;
101    dim_t n_C;    dim_t n_C;
# Line 110  struct Paso_Solver_AMG { Line 111  struct Paso_Solver_AMG {
111    double* b_F;    double* b_F;
112    double* x_C;    double* x_C;
113    double* b_C;    double* b_C;
114      Paso_SparseMatrix * A;
115      Paso_Solver_GS* GS;
116    struct Paso_Solver_AMG * AMG_of_Schur;    struct Paso_Solver_AMG * AMG_of_Schur;
117  };  };
118  typedef struct Paso_Solver_AMG Paso_Solver_AMG;  typedef struct Paso_Solver_AMG Paso_Solver_AMG;
# Line 150  void Paso_Solver_solveILU(Paso_Solver_IL Line 153  void Paso_Solver_solveILU(Paso_Solver_IL
153    
154  void Paso_Solver_GS_free(Paso_Solver_GS * in);  void Paso_Solver_GS_free(Paso_Solver_GS * in);
155  Paso_Solver_GS* Paso_Solver_getGS(Paso_SparseMatrix * A_p,bool_t verbose);  Paso_Solver_GS* Paso_Solver_getGS(Paso_SparseMatrix * A_p,bool_t verbose);
156    void Paso_Solver_solveGS1(Paso_Solver_GS * gs, double * x, double * b);
157  void Paso_Solver_solveGS(Paso_Solver_GS * gs, double * x, double * b);  void Paso_Solver_solveGS(Paso_Solver_GS * gs, double * x, double * b);
158    
159  void Paso_Solver_RILU_free(Paso_Solver_RILU * in);  void Paso_Solver_RILU_free(Paso_Solver_RILU * in);
# Line 157  Paso_Solver_RILU* Paso_Solver_getRILU(Pa Line 161  Paso_Solver_RILU* Paso_Solver_getRILU(Pa
161  void Paso_Solver_solveRILU(Paso_Solver_RILU * rilu, double * x, double * b);  void Paso_Solver_solveRILU(Paso_Solver_RILU * rilu, double * x, double * b);
162    
163  void Paso_Solver_AMG_free(Paso_Solver_AMG * in);  void Paso_Solver_AMG_free(Paso_Solver_AMG * in);
164  Paso_Solver_AMG* Paso_Solver_getAMG(Paso_SparseMatrix * A_p,bool_t verbose);  Paso_Solver_AMG* Paso_Solver_getAMG(Paso_SparseMatrix * A_p,bool_t verbose,dim_t level);
165  void Paso_Solver_solveAMG(Paso_Solver_AMG * amg, double * x, double * b);  void Paso_Solver_solveAMG(Paso_Solver_AMG * amg, double * x, double * b);
166    
167  void Paso_Solver_updateIncompleteSchurComplement(Paso_SparseMatrix* A_CC, Paso_SparseMatrix *A_CF,double* invA_FF,index_t* A_FF_pivot, Paso_SparseMatrix *A_FC);  void Paso_Solver_updateIncompleteSchurComplement(Paso_SparseMatrix* A_CC, Paso_SparseMatrix *A_CF,double* invA_FF,index_t* A_FF_pivot, Paso_SparseMatrix *A_FC);

Legend:
Removed from v.1862  
changed lines
  Added in v.1939

  ViewVC Help
Powered by ViewVC 1.1.26