/**********
Copyright 1991 Regents of the University of California. All rights reserved.
Authors :  1991 David Gates
**********/

/* Member of CIDER device simulator
 * Version: 1b1
 */

#ifndef ELCT_H
#define ELCT_H

/* Data Structures and Definitions for Device Simulation Cards */

typedef struct sELCTcard {
    struct sELCTcard *ELCTnextCard;
    double ELCTxLow;
    double ELCTxHigh;
    double ELCTyLow;
    double ELCTyHigh;
    int ELCTixLow;
    int ELCTixHigh;
    int ELCTiyLow;
    int ELCTiyHigh;
    int ELCTnumber;
    unsigned int ELCTxLowGiven : 1;
    unsigned int ELCTxHighGiven : 1;
    unsigned int ELCTyLowGiven : 1;
    unsigned int ELCTyHighGiven : 1;
    unsigned int ELCTixLowGiven : 1;
    unsigned int ELCTixHighGiven : 1;
    unsigned int ELCTiyLowGiven : 1;
    unsigned int ELCTiyHighGiven : 1;
    unsigned int ELCTnumberGiven : 1;
} ELCTcard;

/* ELCT parameters */
#define ELCT_X_LOW	1
#define ELCT_X_HIGH	2
#define ELCT_Y_LOW	3
#define ELCT_Y_HIGH	4
#define ELCT_IX_LOW	5
#define ELCT_IX_HIGH	6
#define ELCT_IY_LOW	7
#define ELCT_IY_HIGH	8
#define ELCT_NUMBER	9

#endif /* ELCT_H */
