UCFD_SPARSE  v1.0
Documentation
Loading...
Searching...
No Matches
gmres.c File Reference
#include <stdio.h>
#include <math.h>
#include "mkl.h"
#include "gmres.h"
#include "precon.h"
Include dependency graph for gmres.c:

Go to the source code of this file.

Functions

ucfd_status_t serial_gmres (sparse_matrix_t op, ucfd_precon_type_t precon_type, sparse_matrix_t precon, const int n, const int m, const double tol, const double itmax, double *dub, double *rhsb, double *H, double *V, double *g, double *y, double *w, double *r)
 
ucfd_status_t serial_gmres2 (sparse_matrix_t op, ucfd_precon_type_t precon_type, const int neles, const int nvars, const int m, const int *row_ptr, const int *col_ind, const int *diag_ind, double *pre_nnz_data, const double tol, const double itmax, double *dub, double *rhsb, double *H, double *V, double *g, double *y, double *w, double *r)
 
ucfd_status_t single_gmres (sparse_matrix_t op, ucfd_precon_type_t precon_type, sparse_matrix_t precon, const int n, const int m, const double tol, const double itmax, double *dub, double *rhsb, double *H, double *V, double *g, double *y, double *w, double *r)
 

Function Documentation

◆ serial_gmres()

ucfd_status_t serial_gmres ( sparse_matrix_t  op,
ucfd_precon_type_t  precon_type,
sparse_matrix_t  precon,
const int  n,
const int  m,
const double  tol,
const double  itmax,
double *  dub,
double *  rhsb,
double *  H,
double *  V,
double *  g,
double *  y,
double *  w,
double *  r 
)

Definition at line 15 of file gmres.c.

Here is the call graph for this function:

◆ serial_gmres2()

ucfd_status_t serial_gmres2 ( sparse_matrix_t  op,
ucfd_precon_type_t  precon_type,
const int  neles,
const int  nvars,
const int  m,
const int *  row_ptr,
const int *  col_ind,
const int *  diag_ind,
double *  pre_nnz_data,
const double  tol,
const double  itmax,
double *  dub,
double *  rhsb,
double *  H,
double *  V,
double *  g,
double *  y,
double *  w,
double *  r 
)

Definition at line 122 of file gmres.c.

Here is the call graph for this function:

◆ single_gmres()

ucfd_status_t single_gmres ( sparse_matrix_t  op,
ucfd_precon_type_t  precon_type,
sparse_matrix_t  precon,
const int  n,
const int  m,
const double  tol,
const double  itmax,
double *  dub,
double *  rhsb,
double *  H,
double *  V,
double *  g,
double *  y,
double *  w,
double *  r 
)

Definition at line 231 of file gmres.c.

Here is the call graph for this function: