From cc15853b4f45fe3ad272bfd0956d8d060dcca544 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 5 Nov 2016 15:38:49 +0100 Subject: [PATCH] ngspice/ftedefs.h, whitespace and spelling --- src/include/ngspice/ftedefs.h | 64 ++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/src/include/ngspice/ftedefs.h b/src/include/ngspice/ftedefs.h index 376d85815..f4725ccfb 100644 --- a/src/include/ngspice/ftedefs.h +++ b/src/include/ngspice/ftedefs.h @@ -4,15 +4,16 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group **********/ /* - * * General front end stuff. */ + #ifndef ngspice_FTEDEFS_H #define ngspice_FTEDEFS_H -#define DEF_WIDTH 80 /* Line printer width. */ +#define DEF_WIDTH 80 /* Line printer width. */ #define DEF_HEIGHT 60 /* Line printer height. */ #define IPOINTMIN 20 /* When we start plotting incremental plots. */ + #include "ngspice/fteparse.h" #include "ngspice/fteinp.h" #include "ngspice/fteoptdefs.h" @@ -20,41 +21,42 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group struct ccom; struct save_info { - char *name; - IFuid analysis; - int used; + char *name; + IFuid analysis; + int used; }; -/* The curcuits that are currently available to the user. */ + +/* The circuits that are currently available to the user. */ struct circ { - char *ci_name; /* What the circuit can be called. */ - CKTcircuit *ci_ckt; /* The CKTcircuit structure. */ - INPtables *ci_symtab; /* The INP symbol table. */ - INPmodel *ci_modtab; /* The INP model table. */ - struct dbcomm *ci_dbs; /* The database storing save, iplot, stop data */ - struct line *ci_deck; /* The input deck. */ - struct line *ci_origdeck;/* The input deck, before subckt expansion. */ - struct line *ci_options;/* The .option cards from the deck... */ - struct line *ci_meas; /* .measure commands to run after simulation */ - struct line *ci_param; /* .param statements found in deck */ + char *ci_name; /* What the circuit can be called. */ + CKTcircuit *ci_ckt; /* The CKTcircuit structure. */ + INPtables *ci_symtab; /* The INP symbol table. */ + INPmodel *ci_modtab; /* The INP model table. */ + struct dbcomm *ci_dbs; /* The database storing save, iplot, stop data */ + struct line *ci_deck; /* The input deck. */ + struct line *ci_origdeck; /* The input deck, before subckt expansion. */ + struct line *ci_options; /* The .option cards from the deck... */ + struct line *ci_meas; /* .measure commands to run after simulation */ + struct line *ci_param; /* .param statements found in deck */ struct variable *ci_vars; /* ... and the parsed versions. */ - bool ci_inprogress; /* We are in a break now. */ - bool ci_runonce; /* So com_run can to a reset if necessary... */ - wordlist *ci_commands; /* Things to do when this circuit is done. */ - struct circ *ci_next; /* The next in the list. */ - struct ccom *ci_nodes; /* ccom structs for the nodes... */ - struct ccom *ci_devices; /* and devices in the circuit. */ - char *ci_filename; /* Where this circuit came from. */ - TSKtask *ci_defTask; /* the default task for this circuit */ - TSKtask *ci_specTask; /* the special task for command line jobs */ - TSKtask *ci_curTask; /* the most recent task for this circuit */ - JOB *ci_defOpt; /* the default options anal. for this circuit */ - JOB *ci_specOpt; /* the special options anal. for command line jobs */ - JOB *ci_curOpt; /* the most recent options anal. for the circuit */ - char *ci_last_an; /* name of last analysis run */ + bool ci_inprogress; /* We are in a break now. */ + bool ci_runonce; /* So com_run can to a reset if necessary... */ + wordlist *ci_commands; /* Things to do when this circuit is done. */ + struct circ *ci_next; /* The next in the list. */ + struct ccom *ci_nodes; /* ccom structs for the nodes... */ + struct ccom *ci_devices; /* and devices in the circuit. */ + char *ci_filename; /* Where this circuit came from. */ + TSKtask *ci_defTask; /* default task for this circuit */ + TSKtask *ci_specTask; /* special task for command line jobs */ + TSKtask *ci_curTask; /* most recent task for this circuit */ + JOB *ci_defOpt; /* default options anal. for this circuit */ + JOB *ci_specOpt; /* special options anal. for command line jobs */ + JOB *ci_curOpt; /* most recent options anal. for the circuit */ + char *ci_last_an; /* name of last analysis run */ - FTESTATistics *FTEstats; /* Statistics for the front end */ + FTESTATistics *FTEstats; /* Statistics for the front end */ } ;