/*************************************************************************** JSPICE3 adaptation of Spice3e2 - Copyright (c) Stephen R. Whiteley 1992 Copyright 1990 Regents of the University of California. All rights reserved. Authors: 1985 Thomas L. Quarles 1992 Stephen R. Whiteley ****************************************************************************/ #ifndef OPT #define OPT /* structure used to describe the statistics to be collected */ typedef struct { int STATnumIter; /* number of total iterations performed */ int STATtranIter; /* number of iterations for transient analysis */ int STAToldIter; /* number of iterations at the end of the last point */ /* used to compute iterations per point */ int STATtimePts; /* total number of timepoints */ int STATaccepted; /* number of timepoints accepted */ int STATrejected; /* number of timepoints rejected */ int STATmatSize; /* matrix size */ int STATnonZero; /* number of nonzero entries */ int STATfillIn; /* number of fill-in terms added in reorder */ double STATtotAnalTime; /* total time for analysis */ double STATtranTime; /* transient analysis time */ double STATloadTime; /* time spent in device loading */ double STATdecompTime; /* total time spent in LU decomposition */ double STATsolveTime; /* total time spent in F-B subst. */ double STATreorderTime; /* total time spent reordering */ double STATtranDecompTime; /* time spent in transient LU decomposition */ double STATtranSolveTime; /* time spent in transient F-B Subst. */ } STATistics; #define OPT_GMIN 1 #define OPT_RELTOL 2 #define OPT_ABSTOL 3 #define OPT_VNTOL 4 #define OPT_TRTOL 5 #define OPT_CHGTOL 6 #define OPT_PIVTOL 7 #define OPT_PIVREL 8 #define OPT_TNOM 9 #define OPT_ITL1 10 #define OPT_ITL2 11 #define OPT_ITL3 12 #define OPT_ITL4 13 #define OPT_ITL5 14 #define OPT_DEFL 15 #define OPT_DEFW 16 #define OPT_DEFAD 17 #define OPT_DEFAS 18 #define OPT_BYPASS 19 #define OPT_MAXORD 20 #define OPT_ITERS 21 #define OPT_TRANIT 22 #define OPT_TRANPTS 23 #define OPT_TRANACCPT 24 #define OPT_TRANRJCT 25 #define OPT_TOTANALTIME 26 #define OPT_TRANTIME 27 #define OPT_LOADTIME 28 #define OPT_DECOMP 29 #define OPT_SOLVE 30 #define OPT_TRANDECOMP 31 #define OPT_TRANSOLVE 32 #define OPT_TEMP 33 #define OPT_OLDLIMIT 34 #define OPT_TRANCURITER 35 #define OPT_SRCSTEPS 36 #define OPT_GMINSTEPS 37 #define OPT_MINBREAK 38 #define OPT_NOOPITER 39 #define OPT_EQNS 40 #define OPT_REORDTIME 41 #define OPT_METHOD 42 #define OPT_TRYTOCOMPACT 43 #define OPT_MATSIZ 44 #define OPT_NONZ 45 #define OPT_FILLIN 46 #ifdef __STDC__ extern int OPTaskQuest(GENERIC*,GENERIC*,int,IFvalue*); extern int OPTparse(GENERIC*,GENERIC*,int,GENERIC*,char**,GENERIC*,GENERIC*); extern int OPTsetParm(GENERIC*,GENERIC*,int,IFvalue*); #else extern int OPTaskQuest(); extern int OPTparse(); extern int OPTsetParm(); #endif #endif /* OPT */