00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef _VCGCODE_H_
00039 #define _VCGCODE_H_
00040
00041 #include <punc/punc_base.h>
00042
00043 #include <punc/vf2c.h>
00044
00045
00046
00047
00048
00049
00050
00051 doublereal d1mach_(integer *idum);
00052 int dcbfix_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *c__, integer *ic, integer *ipc, doublereal *aa, doublereal *bb, integer *nsteps, doublereal *b, doublereal *x, doublereal *r__, doublereal *dx, doublereal *work, integer *n);
00053
00054 int dcg_(S_fp matvec, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *ap, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00055
00056
00057
00058
00059
00060
00061
00062
00063 int dcgchk_(integer *ipar, doublereal *rpar, integer *n);
00064
00065 int dcgdrv_(U_fp matvec, U_fp pcondl, U_fp pcondr, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, doublereal *p, integer *ip, integer *iparam, doublereal *rparam, integer *iwork, doublereal *rwork, integer *ierror);
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076 int dcgne_(S_fp matvec, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00077
00078
00079
00080
00081
00082
00083 int dcgnr_(S_fp matvec, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00084
00085
00086
00087
00088
00089
00090 int dckchb_(integer *ipar, doublereal *rpar, doublereal *pegmin, doublereal *pegmax, doublereal *condca);
00091
00092
00093 int dcr_(S_fp matvec, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *ar, doublereal *ap, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00094
00095
00096
00097
00098
00099
00100
00101
00102 int dcrind_(S_fp matvec, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *aap, doublereal *ap, doublereal *pold, doublereal *apold, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00103
00104
00105
00106
00107
00108 int ddpchb_(integer *iounit, doublereal *aa, doublereal *bb, integer *n, doublereal *cl, doublereal *cu, doublereal *cond, doublereal *ereps, integer *iadapt);
00109
00110 doublereal depsln_(doublereal *x);
00111 int donest_(integer *iounit, doublereal *d__, doublereal *e, doublereal *w1, doublereal *w2, integer *ind, integer *nt, doublereal *eigmin, doublereal *eigmax, doublereal *cond);
00112
00113 int dpcg_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00114
00115
00116
00117
00118
00119
00120
00121 int dpcgca_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, integer *iparam, doublereal *rparam, integer *iwork, doublereal *p, doublereal *h__, doublereal *cap, doublereal *w1, doublereal *w2, doublereal *w3, doublereal *d__, doublereal *e, integer *ierror);
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131 int dpcgne_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *ap, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00132
00133
00134
00135
00136
00137
00138 int dpcgnr_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *ap, doublereal *d__, doublereal *e, doublereal *cndwk, integer *ierror);
00139
00140
00141
00142
00143
00144
00145 int dppcg_(S_fp matvec, S_fp pcondl, doublereal *a, integer *ia, doublereal *x, doublereal *b, integer *n, doublereal *q, integer *iq, integer *iparam, doublereal *rparam, integer *iwork, doublereal *r__, doublereal *h__, doublereal *w1, doublereal *w2, doublereal *w3, doublereal *w4, doublereal *d__, doublereal *e, integer *ierror);
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155 int dratqr_(integer *n, doublereal *eps1, doublereal *d__, doublereal *e, doublereal *e2, integer *m, doublereal *w, integer *ind, doublereal *bd, logical *type__, integer *idef, integer *ierr);
00156
00157 integer mdstop_(integer *istop, integer *iters, integer *itmax, doublereal *errtol, doublereal *stptst, integer *ierror, doublereal *r__, doublereal *s, doublereal *z__, integer *n, doublereal *rnorm, doublereal *snorm, doublereal *znorm, doublereal *denom, doublereal *conda, integer *ido);
00158
00159 integer msstop_(integer *istop, integer *iters, integer *itmax, real *errtol, real *stptst, integer *ierror, real *r__, real *s, real *z__, integer *n, real *rnorm, real *snorm, real *znorm, real *denom, real *conda, integer *ido);
00160
00161 E_f r1mach_(integer *idum);
00162 int scbfix_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *c__, integer *ic, integer *ipc, real *aa, real *bb, integer *nsteps, real *b, real *x, real *r__, real *dx, real *work, integer *n);
00163
00164 int scg_(S_fp matvec, real *a, integer *ia, real *x, real *b, integer *n, integer *iparam, real *rparam, integer *iwork, real *r__, real *ap, real *d__, real *e, real *cndwk, integer *ierror);
00165
00166
00167
00168
00169
00170
00171
00172
00173 int scgchk_(integer *ipar, real *rpar, integer *n);
00174
00175 int scgdrv_(U_fp matvec, U_fp pcondl, U_fp pcondr, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, real *p, integer *ip, integer *iparam, real *rparam, integer *iwork, real *rwork, integer *ierror);
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186 int scgne_(S_fp matvec, real *a, integer *ia, real *x, real *b, integer *n, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *d__, real *e, real *cndwk, integer *ierror);
00187
00188
00189
00190
00191
00192
00193 int scgnr_(S_fp matvec, real *a, integer *ia, real *x, real *b, integer *n, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *d__, real *e, real *cndwk, integer *ierror);
00194
00195
00196
00197
00198
00199
00200 int sckchb_(integer *ipar, real *rpar, real *pegmin, real *pegmax, real *condca);
00201
00202
00203 int scr_(S_fp matvec, real *a, integer *ia, real *x, real *b, integer *n, integer *iparam, real *rparam, integer *iwork, real *r__, real *ar, real *ap, real *d__, real *e, real *cndwk, integer *ierror);
00204
00205
00206
00207
00208
00209
00210
00211
00212 int scrind_(S_fp matvec, real *a, integer *ia, real *x, real *b, integer *n, integer *iparam, real *rparam, integer *iwork, real *r__, real *aap, real *ap, real *pold, real *apold, real *d__, real *e, real *cndwk, integer *ierror);
00213
00214
00215
00216
00217
00218 int sdpchb_(integer *iounit, real *aa, real *bb, integer *n, real *cl, real *cu, real *cond, real *ereps, integer *iadapt);
00219
00220 int sonest_(integer *iounit, real *d__, real *e, real *w1, real *w2, integer *ind, integer *nt, real *eigmin, real *eigmax, real *cond);
00221
00222 int spcg_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *d__, real *e, real *cndwk, integer *ierror);
00223
00224
00225
00226
00227
00228
00229
00230 int spcgca_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, integer *iparam, real *rparam, integer *iwork, real *p, real *h__, real *cap, real *w1, real *w2, real *w3, real *d__, real *e, integer *ierror);
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240 int spcgne_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *ap, real *d__, real *e, real *cndwk, integer *ierror);
00241
00242
00243
00244
00245
00246
00247 int spcgnr_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *ap, real *d__, real *e, real *cndwk, integer *ierror);
00248
00249
00250
00251
00252
00253
00254 int sppcg_(S_fp matvec, S_fp pcondl, real *a, integer *ia, real *x, real *b, integer *n, real *q, integer *iq, integer *iparam, real *rparam, integer *iwork, real *r__, real *h__, real *w1, real *w2, real *w3, real *w4, real *d__, real *e, integer *ierror);
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264 int sratqr_(integer *n, real *eps1, real *d__, real *e, real *e2, integer *m, real *w, integer *ind, real *bd, logical *type__, integer *idef, integer *ierr);
00265
00266
00267 #endif
00268
00269