/[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 1889 by artak, Wed Oct 8 06:30:50 2008 UTC revision 1890 by artak, Fri Oct 17 00:14:22 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    struct Paso_Solver_AMG * AMG_of_Schur;    struct Paso_Solver_AMG * AMG_of_Schur;
116  };  };
117  typedef struct Paso_Solver_AMG Paso_Solver_AMG;  typedef struct Paso_Solver_AMG Paso_Solver_AMG;
# Line 157  Paso_Solver_RILU* Paso_Solver_getRILU(Pa Line 159  Paso_Solver_RILU* Paso_Solver_getRILU(Pa
159  void Paso_Solver_solveRILU(Paso_Solver_RILU * rilu, double * x, double * b);  void Paso_Solver_solveRILU(Paso_Solver_RILU * rilu, double * x, double * b);
160    
161  void Paso_Solver_AMG_free(Paso_Solver_AMG * in);  void Paso_Solver_AMG_free(Paso_Solver_AMG * in);
162  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);
163  void Paso_Solver_solveAMG(Paso_Solver_AMG * amg, double * x, double * b);  void Paso_Solver_solveAMG(Paso_Solver_AMG * amg, double * x, double * b);
164    
165  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.1889  
changed lines
  Added in v.1890

  ViewVC Help
Powered by ViewVC 1.1.26