/[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 431 by gross, Fri Jan 13 05:07:10 2006 UTC revision 584 by gross, Thu Mar 9 23:03:38 2006 UTC
# Line 4  Line 4 
4  #define INC_SOLVER  #define INC_SOLVER
5    
6  #include "SystemMatrix.h"  #include "SystemMatrix.h"
7    #include "performance.h"
8    
9  #define FINLEY_SOLVER_TRACE  #define FINLEY_SOLVER_TRACE
10  /* error codes used in the solver */  /* error codes used in the solver */
# Line 73  typedef struct Paso_Solver_Preconditione Line 74  typedef struct Paso_Solver_Preconditione
74    Paso_Solver_RILU* rilu;    Paso_Solver_RILU* rilu;
75  } Paso_Solver_Preconditioner;  } Paso_Solver_Preconditioner;
76    
77  void Paso_Solver(Paso_SystemMatrix*,double*,double*,Paso_Options*);  void Paso_Solver(Paso_SystemMatrix*,double*,double*,Paso_Options*,Paso_Performance* pp);
78  void Paso_Solver_free(Paso_SystemMatrix*);  void Paso_Solver_free(Paso_SystemMatrix*);
79  err_t Paso_Solver_BiCGStab( Paso_SystemMatrix * A, double* B, double * X, dim_t *iter, double * tolerance);  err_t Paso_Solver_BiCGStab( Paso_SystemMatrix * A, double* B, double * X, dim_t *iter, double * tolerance,Paso_Performance* pp);
80  err_t Paso_Solver_PCG( Paso_SystemMatrix * A, double* B, double * X, dim_t *iter, double * tolerance);  err_t Paso_Solver_PCG( Paso_SystemMatrix * A, double* B, double * X, dim_t *iter, double * tolerance,Paso_Performance* pp);
81  err_t Paso_Solver_GMRES(Paso_SystemMatrix * A, double * r, double * x, dim_t *num_iter, double * tolerance,dim_t length_of_recursion,dim_t restart);  err_t Paso_Solver_GMRES(Paso_SystemMatrix * A, double * r, double * x, dim_t *num_iter, double * tolerance,dim_t length_of_recursion,dim_t restart,Paso_Performance* pp);
82  void Paso_Preconditioner_free(Paso_Solver_Preconditioner*);  void Paso_Preconditioner_free(Paso_Solver_Preconditioner*);
83  void Paso_Solver_setPreconditioner(Paso_SystemMatrix* A,Paso_Options* options);  void Paso_Solver_setPreconditioner(Paso_SystemMatrix* A,Paso_Options* options);
84  void Paso_Solver_solvePreconditioner(Paso_SystemMatrix* A,double*,double*);  void Paso_Solver_solvePreconditioner(Paso_SystemMatrix* A,double*,double*);

Legend:
Removed from v.431  
changed lines
  Added in v.584

  ViewVC Help
Powered by ViewVC 1.1.26