00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itpack_h
00019 #define __itpack_h
00020
00021
00022 extern "C" {
00023
00024
00025 #define real f2cReal
00026 #define complex f2cComplex
00027 #include "f2c.h"
00028 #undef real
00029 #undef complex
00030
00031
00081 extern int jcg_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00082
00083
00100 extern int jsi_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00101
00102
00119 extern int sor_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00120
00121
00138 extern int ssorcg_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00139
00140
00157 extern int ssorsi_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00158
00159
00176 extern int rscg_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00177
00178
00195 extern int rssi_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, integer *iwksp, integer *nw, doublereal *wksp, integer *iparm, doublereal *rparm, integer *ierr);
00196
00197
00211 extern int itjcg_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *u1, doublereal *d__, doublereal *d1, doublereal *dtwd, doublereal *tri);
00212
00225 extern int itjsi_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *u1, doublereal *d__, integer *icnt);
00226
00227
00238 extern int itsor_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *wk);
00239
00240
00257 extern int itsrcg_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *u1, doublereal *c__, doublereal *c1, doublereal *d__, doublereal *dl, doublereal *wk, doublereal *tri);
00258
00259
00274 extern int itsrsi_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *u1, doublereal *c__, doublereal *d__, doublereal *ctwd, doublereal *wk);
00275
00276
00291 extern int itrscg_(integer *n, integer *nnb, integer *ia, integer *ja, doublereal *a, doublereal *ub, doublereal *ub1, doublereal *db, doublereal *db1, doublereal *wb, doublereal *tri);
00292
00293
00306 extern int itrssi_(integer *n, integer *nnb, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *ub, doublereal *ub1, doublereal *db);
00307
00308
00317 extern integer bisrch_(integer *n, integer *k, integer *l);
00318
00319
00329 extern doublereal cheby_(doublereal *qa, doublereal *qt, doublereal *rrr, integer *ip, doublereal *cme, doublereal *sme);
00330
00331
00342 extern int chgcon_(doublereal *tri, doublereal *gamold, doublereal *rhoold, integer *ibmth);
00343
00344
00353 extern int chgsi_(doublereal *dtnrm, integer *ibmth);
00354
00355
00362 extern logical chgsme_(doublereal *oldnrm, integer *icnt);
00363
00364
00374 extern int daxpy_(integer *n, doublereal *da, doublereal *dx, integer *incx, doublereal *dy, integer *incy);
00375
00376
00385 extern int dcopy_(integer *n, doublereal *dx, integer *incx, doublereal *dy, integer *incy);
00386
00387
00396 extern doublereal ddot_(integer *n, doublereal *dx, integer *incx, doublereal *dy, integer *incy);
00397
00398
00406 extern doublereal determ_(integer *n, doublereal *tri, doublereal *xlmda);
00407
00408
00414 extern int dfault_(integer *iparm, doublereal *rparm);
00415
00430 extern int echall_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, integer *iparm, doublereal *rparm, integer *icall);
00431
00432
00446 extern int echout_(integer *iparm, doublereal *rparm, integer *imthd);
00447
00448
00458 extern doublereal eigvns_(integer *n, doublereal *tri, doublereal *d__, doublereal *e2, integer *ier);
00459
00460
00471 extern doublereal eigvss_(integer *n, doublereal *tri, doublereal *start, doublereal *zeta, integer *itmax, integer *ier);
00472
00473
00484 extern int eqrt1s_(doublereal *d__, doublereal *e2, integer *nn, integer *m, integer *isw, integer *ierr);
00485
00486
00492 extern integer ipstr_(doublereal *omega);
00493
00494
00511 extern int iterm_(integer *nn, doublereal *a, doublereal *u, doublereal *wk, integer *imthdd);
00512
00519 extern int ivfill_(integer *n, integer *iv, integer *ival);
00520
00521
00522
00523
00524
00525 extern int omeg_(doublereal *dnrm, integer *iflag);
00526
00527
00528
00529
00530
00531 extern logical omgchg_(integer *ndummy);
00532
00533
00534
00535
00536
00537 extern logical omgstr_(integer *ndummy);
00538
00539
00540
00541
00542
00543 extern int parcon_(doublereal *dtnrm, doublereal *c1, doublereal *c2, doublereal *c3, doublereal *c4, doublereal *gamold, doublereal *rhotmp, integer *ibmth);
00544
00545
00546
00547
00548
00549 extern int parsi_(doublereal *c1, doublereal *c2, doublereal *c3, integer *ibmth);
00550
00551
00552
00553
00554
00555 extern doublereal pbeta_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *v, doublereal *w1, doublereal *w2);
00556
00557
00558
00559
00560
00561 extern int pbsor_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *rhs);
00562
00563
00564
00565
00566
00567 extern int permat_(integer *nn, integer *ia, integer *ja, doublereal *a, integer *p, integer *newia, integer *isym, integer *level, integer *nout, integer *ierr);
00568
00569
00570
00571
00572
00573 extern int perror_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *w, doublereal *digtt1, doublereal *digtt2, integer *idgtts);
00574
00575
00576
00577
00578
00579 extern int pervec_(integer *n, doublereal *v, integer *p);
00580
00581
00582
00583
00584
00585 extern int pfsor_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *rhs);
00586
00587
00588
00589
00590
00591 extern int pfsor1_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *rhs);
00592
00593
00594
00595
00596
00597 extern int pjac_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *rhs);
00598
00599
00600
00601
00602
00603 extern int pmult_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *w);
00604
00605
00606
00607
00608
00609 extern int prbndx_(integer *nn, integer *nblack, integer *ia, integer *ja, integer *p, integer *ip, integer *level, integer *nout, integer *ier);
00610
00611
00612
00613
00614
00615 extern int prsblk_(integer *nnb, integer *nnr, integer *ia, integer *ja, doublereal *a, doublereal *ur, doublereal *vb);
00616
00617
00618
00619
00620
00621 extern int prsred_(integer *nnb, integer *nnr, integer *ia, integer *ja, doublereal *a, doublereal *ub, doublereal *vr);
00622
00623
00624
00625
00626
00627 extern int pssor1_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *u, doublereal *rhs, doublereal *fr, doublereal *br);
00628
00629
00630
00631
00632
00633 extern int pstop_(integer *n, doublereal *u, doublereal *dnrm, doublereal *ccon, integer *iflag, logical *q1);
00634
00635
00636
00637
00638
00639 extern doublereal pvtbv_(integer *n, integer *ia, integer *ja, doublereal *a, doublereal *v);
00640
00641
00642
00643
00644
00645 extern int qsort_(integer *nn, integer *key, doublereal *data, integer *error);
00646
00647
00651 extern int sbagn_(integer *n, integer *nz, integer *ia, integer *ja, doublereal *a, integer *iwork, integer *levell, integer *noutt, integer *ierr);
00652
00653
00654
00655
00656
00657 extern int sbelm_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, integer *iw, doublereal *rw, doublereal *tol, integer *isym, integer *level, integer *nout, integer *ier);
00658
00659
00669 extern int sbend_(integer *nn, integer *nz, integer *ia, integer *ja, doublereal *a, integer *iwork);
00670
00671
00681 extern int sbini_(integer *nn, integer *nz, integer *ia, integer *ja, doublereal *a, integer *iwork);
00682
00683
00700 extern int sbsij_(integer *nn, integer *nz, integer *ia, integer *ja, doublereal *a, integer *iwork, integer *ii, integer *jj, doublereal *vall, integer *mode, integer *levell, integer *noutt, integer *ierr);
00701
00702
00703
00704
00705
00706 extern int scal_(integer *nn, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *d__, integer *level, integer *nout, integer *ier);
00707
00708
00709
00710
00711
00712 extern int sum3_(integer *n, doublereal *c1, doublereal *x1, doublereal *c2, doublereal *x2, doublereal *c3, doublereal *x3);
00713
00714
00715
00716
00717
00718 extern doublereal tau_(integer *ii);
00719
00720
00721
00722
00723
00724 extern E_f timer_(f2cReal *timdmy);
00725
00726
00727
00728
00729
00730 extern logical tstchg_(integer *ibmth);
00731
00732
00733
00734
00735
00736 extern int unscal_(integer *n, integer *ia, integer *ja, doublereal *a, doublereal *rhs, doublereal *u, doublereal *d__);
00737
00738
00739
00740
00741
00742 extern int vevmw_(integer *n, doublereal *v, doublereal *w);
00743
00744
00745
00746
00747
00748 extern int vevpw_(integer *n, doublereal *v, doublereal *w);
00749
00750
00757 extern int vfill_(integer *n, doublereal *v, doublereal *val);
00758
00759
00760
00761
00762
00763 extern int vout_(integer *n, doublereal *v, integer *iswt, integer *noutt);
00764
00765
00766
00767
00768
00769 extern int wevmw_(integer *n, doublereal *v, doublereal *w);
00770
00771
00772
00773
00774
00775 extern int zbrent_(integer *n, doublereal *tri, doublereal *eps, integer *nsig, doublereal *aa, doublereal *bb, integer *maxfnn, integer *ier);
00776
00777 }
00778
00779 #endif // #ifndef __itpack_h