1 /********** 2 Copyright 1991 Regents of the University of California. All rights reserved. 3 Authors : 1991 David Gates 4 **********/ 5 6 /* Member of CIDER device simulator 7 * Version: 1b1 8 */ 9 10 #ifndef ngspice_CONTDEFS_H 11 #define ngspice_CONTDEFS_H 12 13 /* Data Structures and Definitions for Device Simulation Cards */ 14 15 typedef struct sCONTcard { 16 struct sCONTcard *CONTnextCard; 17 double CONTworkfun; 18 int CONTtype; 19 int CONTnumber; 20 unsigned int CONTworkfunGiven : 1; 21 unsigned int CONTtypeGiven : 1; 22 unsigned int CONTnumberGiven : 1; 23 } CONTcard; 24 25 /* CONT parameters */ 26 enum { 27 CONT_NEUTRAL = 1, 28 CONT_ALUMINUM, 29 CONT_P_POLY, 30 CONT_N_POLY, 31 CONT_WORKFUN, 32 CONT_NUMBER, 33 }; 34 35 #endif 36