escript  Revision_
Namespaces | Macros | Functions
Solver.h File Reference
#include "SystemMatrix.h"
#include "performance.h"
#include "Functions.h"

Go to the source code of this file.

Namespaces

 paso
 

Macros

#define SOLVER_NO_ERROR   0
 
#define SOLVER_MAXITER_REACHED   1
 
#define SOLVER_INPUT_ERROR   -1
 
#define SOLVER_MEMORY_ERROR   -9
 
#define SOLVER_BREAKDOWN   -10
 
#define SOLVER_NEGATIVE_NORM_ERROR   -11
 
#define SOLVER_DIVERGENCE   -12
 
#define TOLERANCE_FOR_SCALARS   (double)(0.)
 

Functions

void paso::solve (SystemMatrix_ptr A, double *out, double *in, Options *options)
 
void paso::solve_free (SystemMatrix *in)
 
void paso::Solver (SystemMatrix_ptr A, double *x, double *b, Options *options, Performance *pp)
 calls the iterative solver More...
 
void paso::Solver_free (SystemMatrix *A)
 
err_t paso::Solver_BiCGStab (SystemMatrix_ptr A, double *r, double *x, dim_t *iter, double *tolerance, Performance *pp)
 
err_t paso::Solver_PCG (SystemMatrix_ptr A, double *r, double *x, dim_t *iter, double *tolerance, Performance *pp)
 
err_t paso::Solver_TFQMR (SystemMatrix_ptr A, double *B, double *X, dim_t *iter, double *tolerance, Performance *pp)
 
err_t paso::Solver_MINRES (SystemMatrix_ptr A, double *R, double *X, dim_t *iter, double *tolerance, Performance *pp)
 
err_t paso::Solver_GMRES (SystemMatrix_ptr A, double *r, double *x, dim_t *iter, double *tolerance, dim_t Length_of_recursion, dim_t restart, Performance *pp)
 
err_t paso::Solver_GMRES2 (Function *F, const double *f0, const double *x0, double *dx, dim_t *iter, double *tolerance, Performance *pp)
 
err_t paso::Solver_NewtonGMRES (Function *F, double *x, Options *options, Performance *pp)
 

Macro Definition Documentation

#define SOLVER_BREAKDOWN   -10
#define SOLVER_DIVERGENCE   -12
#define SOLVER_INPUT_ERROR   -1
#define SOLVER_MAXITER_REACHED   1
#define SOLVER_MEMORY_ERROR   -9
#define SOLVER_NEGATIVE_NORM_ERROR   -11
#define SOLVER_NO_ERROR   0
#define TOLERANCE_FOR_SCALARS   (double)(0.)