itlin.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

#define DATA   itlin_ioctl->datfile

Definition at line 119 of file itlin.h.

Referenced by gmres(), and itlin_dataout().

#define DATALEVEL   itlin_ioctl->datlevel

Definition at line 116 of file itlin.h.

Referenced by gmres(), and itlin_dataout().

#define EPMACH   1.0e-17

Definition at line 58 of file itlin.h.

#define ERROR   itlin_ioctl->errfile

#define ERRORLEVEL   itlin_ioctl->errlevel

#define FITER   itlin_ioctl->iterfile

Definition at line 120 of file itlin.h.

Referenced by gmres(), and itlin_dataout().

#define FMISC   itlin_ioctl->miscfile

Definition at line 122 of file itlin.h.

Referenced by gmres(), and itlin_dataout().

#define FRES   itlin_ioctl->resfile

Definition at line 121 of file itlin.h.

Referenced by gmres(), and itlin_dataout().

#define MAX ( A,
 )     ( A > B ? A : B )

Definition at line 54 of file itlin.h.

#define MIN ( A,
 )     ( A < B ? A : B )

Definition at line 53 of file itlin.h.

Referenced by itlin_parcheck_and_print().

#define MONITOR   itlin_ioctl->monfile

Definition at line 118 of file itlin.h.

Referenced by gmres(), and itlin_parcheck_and_print().

#define MONITORLEVEL   itlin_ioctl->monlevel

Definition at line 115 of file itlin.h.

Referenced by gmres(), and itlin_parcheck_and_print().

#define RCODE   info->rcode

Definition at line 52 of file itlin.h.

Referenced by gmres().

#define SIGN (  )     ( A > 0 ? 1 : -1 )

Definition at line 55 of file itlin.h.

#define SMALL   1.0e-150

Definition at line 57 of file itlin.h.

Referenced by itlin_parcheck_and_print().


Typedef Documentation

typedef void MATVEC(int n, double *x, double *b)

Definition at line 77 of file itlin.h.

typedef void PRECON(int, double *, double *)

Definition at line 78 of file itlin.h.


Enumeration Type Documentation

enum CONV_CHECK

Enumerator:
Absolute 
Relative 

Definition at line 63 of file itlin.h.

enum LOGICAL

Enumerator:
False 
True 

Definition at line 61 of file itlin.h.

Enumerator:
None 
Minimum 
Verbose 
Debug 

Definition at line 60 of file itlin.h.

enum TERM_CHECK

Enumerator:
CheckOnRestart 
CheckEachIter 

Definition at line 62 of file itlin.h.


Function Documentation

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().

Here is the caller graph for this function:

void itlin_noprecon ( int  n,
double *  x,
double *  z 
)

Definition at line 281 of file utils.c.

Referenced by gmres().

Here is the caller graph for this function:

int itlin_parcheck_and_print ( int  n,
MATVEC matvec,
struct ITLIN_OPT opt,
int  itlin_code 
)

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().

Here is the caller graph for this function:

void zibnum_descale ( int  n,
double *  v1,
double *  v2,
double *  scale 
)

Definition at line 275 of file utils.c.

References i.

int zibnum_fwalloc ( int  size,
double **  ptr,
char  vname[] 
)

Definition at line 196 of file utils.c.

References ERROR, ERRORLEVEL, and i.

Referenced by gmres().

Here is the caller graph for this function:

int zibnum_iwalloc ( int  size,
int **  ptr,
char  vname[] 
)

Definition at line 213 of file utils.c.

References ERROR, ERRORLEVEL, and i.

double zibnum_norm2 ( int  n,
double *  v 
)

Definition at line 262 of file utils.c.

References i.

int zibnum_pfwalloc ( int  size,
double ***  ptr,
char  vname[] 
)

Definition at line 230 of file utils.c.

References ERROR, ERRORLEVEL, and i.

Referenced by gmres().

Here is the caller graph for this function:

void zibnum_scale ( int  n,
double *  v1,
double *  v2,
double *  scale 
)

Definition at line 269 of file utils.c.

References i.

double zibnum_scaled_norm2 ( int  n,
double *  v,
double *  scale 
)

Definition at line 247 of file utils.c.

References i.

double zibnum_scaled_sprod ( int  n,
double *  v1,
double *  v2,
double *  scale 
)

Definition at line 254 of file utils.c.

References i.


Generated on Thu May 27 11:53:19 2010 for VERB_CODE_2.0 by  doxygen 1.5.9