ngspice/src/include/tskdefs.h

71 lines
2.3 KiB
C
Raw Normal View History

2000-04-27 22:03:57 +02:00
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
Modified: 2000 AlansFixes
2000-04-27 22:03:57 +02:00
**********/
/*
*/
#ifndef TSK
#define TSK
#include "jobdefs.h"
typedef struct {
JOB taskOptions; /* job structure at the front to hold options */
JOB *jobs;
char *TSKname;
double TSKtemp;
double TSKnomTemp;
int TSKmaxOrder; /* maximum integration method order */
int TSKintegrateMethod; /* the integration method to be used */
int TSKcurrentAnalysis; /* the analysis in progress (if any) */
/* defines for the value of TSKcurrentAnalysis */
#define DOING_DCOP 1
#define DOING_TRCV 2
#define DOING_AC 4
#define DOING_TRAN 8
int TSKbypass;
int TSKdcMaxIter; /* iteration limit for dc op. (itl1) */
int TSKdcTrcvMaxIter; /* iteration limit for dc tran. curv (itl2) */
int TSKtranMaxIter; /* iteration limit for each timepoint for tran*/
/* (itl4) */
int TSKnumSrcSteps; /* number of steps for source stepping */
int TSKnumGminSteps; /* number of steps for Gmin stepping */
* TODO, doc/ngspice.texi: Small updates * configure.in: New --enable-smoketest. * src/main.c src/ngspice.c src/frontend/outitf.c src/frontend/runcoms.c src/frontend/spiceif.c src/frontend/parser/numparse.c src/include/cktdefs.h src/include/fteext.h src/include/inpdefs.h src/include/jobdefs.h src/include/ngspice.h src/include/tskdefs.h src/spicelib/analysis/Makefile.am src/spicelib/analysis/acsetp.c src/spicelib/analysis/cktaskaq.c src/spicelib/analysis/cktdojob.c src/spicelib/analysis/cktnewan.c src/spicelib/analysis/cktsetap.c src/spicelib/analysis/cktsopt.c src/spicelib/analysis/ckttroub.c src/spicelib/analysis/dcosetp.c src/spicelib/analysis/dctsetp.c src/spicelib/analysis/dsetparm.c src/spicelib/analysis/nsetparm.c src/spicelib/analysis/pzsetp.c src/spicelib/analysis/senssetp.c src/spicelib/analysis/tfsetp.c src/spicelib/analysis/transetp.c src/spicelib/devices/bjt/bjtdset.h src/spicelib/devices/bjt/bjtext.h src/spicelib/devices/bjt/bjtsetup.c src/spicelib/devices/bsim2/b2set.c src/spicelib/devices/bsim3/b3acld.c src/spicelib/devices/bsim3/b3set.c src/spicelib/devices/bsim3/bsim3def.h src/spicelib/devices/csw/cswtrunc.c src/spicelib/devices/dio/diodset.c src/spicelib/devices/dio/dioinit.c src/spicelib/devices/jfet/jfetset.c src/spicelib/devices/mes/messetup.c src/spicelib/devices/mos1/mos1ask.c src/spicelib/devices/mos1/mos1set.c src/spicelib/devices/mos1/mos1temp.c src/spicelib/devices/mos3/mos3load.c src/spicelib/devices/mos6/mos6set.c src/spicelib/devices/sw/swtrunc.c src/spicelib/parser/inppas2.c src/spicelib/parser/inppas3.c src/spicelib/parser/inppas3.h: Paolo and I have integrated patches from Alan Gillespie <Alan.Gillespie@analog.com>.
2000-09-05 21:48:22 +02:00
double TSKgminFactor; /* factor for Gmin stepping */
2000-04-27 22:03:57 +02:00
double TSKminBreak;
double TSKabstol;
double TSKpivotAbsTol;
double TSKpivotRelTol;
double TSKreltol;
double TSKchgtol;
double TSKvoltTol;
#ifdef NEWTRUNC
double TSKlteReltol;
double TSKlteAbstol;
#endif /* NEWTRUNC */
double TSKgmin;
double TSKgshunt; /* shunt conductance (CKTdiagGmin) */
2000-04-27 22:03:57 +02:00
double TSKdelmin;
double TSKtrtol;
double TSKdefaultMosM;
2000-04-27 22:03:57 +02:00
double TSKdefaultMosL;
double TSKdefaultMosW;
double TSKdefaultMosAD;
double TSKdefaultMosAS;
unsigned int TSKfixLimit:1;
unsigned int TSKnoOpIter:1; /* no OP iterating, go straight to gmin step */
unsigned int TSKtryToCompact:1; /* flag for LTRA lines */
unsigned int TSKbadMos3:1; /* flag for MOS3 models */
unsigned int TSKkeepOpInfo:1; /* flag for small signal analyses */
unsigned int TSKcopyNodesets:1; /* flag for nodeset copy */
unsigned int TSKnodeDamping:1; /* flag for node damping */
double TSKabsDv; /* abs limit for iter-iter voltage change */
double TSKrelDv; /* rel limit for iter-iter voltage change */
2000-04-27 22:03:57 +02:00
}TSKtask;
#endif /*TSK*/