Go to the source code of this file.
Classes | |
struct | ITLIN_OPT |
struct | ITLIN_INFO |
struct | ITLIN_DATA |
struct | ITLIN_IO |
Defines | |
#define | RCODE info->rcode |
#define | MIN(A, B) ( A < B ? A : B ) |
#define | MAX(A, B) ( A > B ? A : B ) |
#define | SIGN(A) ( A > 0 ? 1 : -1 ) |
#define | SMALL 1.0e-150 |
#define | EPMACH 1.0e-17 |
#define | ERRORLEVEL itlin_ioctl->errlevel |
#define | MONITORLEVEL itlin_ioctl->monlevel |
#define | DATALEVEL itlin_ioctl->datlevel |
#define | ERROR itlin_ioctl->errfile |
#define | MONITOR itlin_ioctl->monfile |
#define | DATA itlin_ioctl->datfile |
#define | FITER itlin_ioctl->iterfile |
#define | FRES itlin_ioctl->resfile |
#define | FMISC itlin_ioctl->miscfile |
Typedefs | |
typedef void | MATVEC (int n, double *x, double *b) |
typedef void | PRECON (int, double *, double *) |
Enumerations | |
enum | PRINT_LEVEL { None = 0, Minimum = 1, Verbose = 2, Debug = 3 } |
enum | LOGICAL { False = 0, True = 1 } |
enum | TERM_CHECK { CheckOnRestart = 0, CheckEachIter = 1 } |
enum | CONV_CHECK { Absolute = 0, Relative = 1 } |
Functions | |
void | daxpy_ (int *n, double *alpha, double *x, int *incx, double *y, int *incy) |
int | zibnum_fwalloc (int size, double **ptr, char vname[]) |
int | zibnum_iwalloc (int size, int **ptr, char vname[]) |
int | zibnum_pfwalloc (int size, double ***ptr, char vname[]) |
double | zibnum_scaled_norm2 (int n, double *v, double *scale) |
double | zibnum_scaled_sprod (int n, double *v1, double *v2, double *scale) |
double | zibnum_norm2 (int n, double *v) |
void | zibnum_scale (int n, double *v1, double *v2, double *scale) |
void | zibnum_descale (int n, double *v1, double *v2, double *scale) |
void | itlin_noprecon (int n, double *x, double *z) |
void | itlin_dataout (int k, int n, double *x, struct ITLIN_DATA *data) |
int | itlin_parcheck_and_print (int n, MATVEC *matvec, struct ITLIN_OPT *opt, int itlin_code) |
#define DATA itlin_ioctl->datfile |
#define DATALEVEL itlin_ioctl->datlevel |
#define ERROR itlin_ioctl->errfile |
Definition at line 117 of file itlin.h.
Referenced by gmres(), itlin_parcheck_and_print(), zibnum_fwalloc(), zibnum_iwalloc(), and zibnum_pfwalloc().
#define ERRORLEVEL itlin_ioctl->errlevel |
Definition at line 114 of file itlin.h.
Referenced by gmres(), itlin_parcheck_and_print(), zibnum_fwalloc(), zibnum_iwalloc(), and zibnum_pfwalloc().
#define FITER itlin_ioctl->iterfile |
#define FMISC itlin_ioctl->miscfile |
#define FRES itlin_ioctl->resfile |
#define MIN | ( | A, | |||
B | ) | ( A < B ? A : B ) |
#define MONITOR itlin_ioctl->monfile |
#define MONITORLEVEL itlin_ioctl->monlevel |
#define SMALL 1.0e-150 |
enum CONV_CHECK |
enum PRINT_LEVEL |
enum TERM_CHECK |
void daxpy_ | ( | int * | n, | |
double * | alpha, | |||
double * | x, | |||
int * | incx, | |||
double * | y, | |||
int * | incy | |||
) |
void itlin_dataout | ( | int | k, | |
int | n, | |||
double * | x, | |||
struct ITLIN_DATA * | data | |||
) |
Definition at line 286 of file utils.c.
References ITLIN_DATA::codeid, DATA, DATALEVEL, FITER, FMISC, FRES, i, ITLIN_DATA::mode, ITLIN_DATA::normdx, ITLIN_DATA::res, ITLIN_DATA::residuum, ITLIN_DATA::t, and ITLIN_DATA::tau.
Referenced by gmres().
void itlin_noprecon | ( | int | n, | |
double * | x, | |||
double * | z | |||
) |
Definition at line 329 of file utils.c.
References Absolute, ITLIN_OPT::convcheck, ERROR, ERRORLEVEL, i, ITLIN_OPT::i_max, ITLIN_OPT::maxiter, MIN, MONITOR, MONITORLEVEL, Relative, ITLIN_OPT::rho, ITLIN_OPT::scale, SMALL, ITLIN_OPT::tol, TOLMAX, and TOLMIN.
Referenced by gmres().
void zibnum_descale | ( | int | n, | |
double * | v1, | |||
double * | v2, | |||
double * | scale | |||
) |
int zibnum_fwalloc | ( | int | size, | |
double ** | ptr, | |||
char | vname[] | |||
) |
int zibnum_iwalloc | ( | int | size, | |
int ** | ptr, | |||
char | vname[] | |||
) |
int zibnum_pfwalloc | ( | int | size, | |
double *** | ptr, | |||
char | vname[] | |||
) |
void zibnum_scale | ( | int | n, | |
double * | v1, | |||
double * | v2, | |||
double * | scale | |||
) |
double zibnum_scaled_norm2 | ( | int | n, | |
double * | v, | |||
double * | scale | |||
) |
double zibnum_scaled_sprod | ( | int | n, | |
double * | v1, | |||
double * | v2, | |||
double * | scale | |||
) |