Graphviz  2.41.20170921.2350
Data Structures | Typedefs | Enumerations | Functions
sparse_solve.h File Reference
#include "SparseMatrix.h"
Include dependency graph for sparse_solve.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Operator_struct
 

Typedefs

typedef struct Operator_structOperator
 

Enumerations

enum  { SOLVE_METHOD_CG, SOLVE_METHOD_JACOBI }
 

Functions

real cg (Operator Ax, Operator precond, int n, int dim, real *x0, real *rhs, real tol, int maxit, int *flag)
 
real SparseMatrix_solve (SparseMatrix A, int dim, real *x0, real *rhs, real tol, int maxit, int method, int *flag)
 
Operator Operator_uniform_stress_matmul (SparseMatrix A, real alpha)
 
Operator Operator_uniform_stress_diag_precon_new (SparseMatrix A, real alpha)
 

Typedef Documentation

typedef struct Operator_struct* Operator

Definition at line 22 of file sparse_solve.h.

Enumeration Type Documentation

anonymous enum
Enumerator
SOLVE_METHOD_CG 
SOLVE_METHOD_JACOBI 

Definition at line 20 of file sparse_solve.h.

Function Documentation

real cg ( Operator  Ax,
Operator  precond,
int  n,
int  dim,
real x0,
real rhs,
real  tol,
int  maxit,
int flag 
)

Definition at line 227 of file sparse_solve.c.

References conjugate_gradient(), FREE, N_GNEW, and real.

Referenced by SparseMatrix_solve().

Operator Operator_uniform_stress_diag_precon_new ( SparseMatrix  A,
real  alpha 
)
Operator Operator_uniform_stress_matmul ( SparseMatrix  A,
real  alpha 
)
real SparseMatrix_solve ( SparseMatrix  A,
int  dim,
real x0,
real rhs,
real  tol,
int  maxit,
int  method,
int flag 
)