* 2001 Paolo Nenzi
*/
#ifndef ngspice_TWODDEFS_H
#define ngspice_TWODDEFS_H
extern int TWOacDebug;
extern int TWOdcDebug;
extern int TWOtranDebug;
extern int TWOjacDebug;
* library.
* Theese defines were gathered from all the code in
* oned directory.
*/
#ifdef NORMAL_GATE
#define GateTypeAdmittance oxideAdmittance
#else
#define GateTypeAdmittance contactAdmittance
#endif
#ifdef NORMAL_GATE
#define GateTypeConductance oxideConductance
#define GateTypeCurrent oxideCurrent
#else
#define GateTypeConductance contactConductance
#define GateTypeCurrent contactCurrent
#endif
struct mosAdmittances {
SPcomplex yIdVdb;
SPcomplex yIdVsb;
SPcomplex yIdVgb;
SPcomplex yIsVdb;
SPcomplex yIsVsb;
SPcomplex yIsVgb;
SPcomplex yIgVdb;
SPcomplex yIgVsb;
SPcomplex yIgVgb;
};
#define MAXTERMINALS 5
#define ELCT_ID poiEqn
#define MIN_DELV 1e-3
#define NORM_RED_MAXITERS 10
#endif