Browse Source

cleanup, whitespace

rlar 14 years ago
parent
commit
c7717e37fc
  1. 10
      src/ngnutmeg.c
  2. 10
      src/ngspice.c

10
src/ngnutmeg.c

@ -7,14 +7,17 @@ Copyright 1990 Regents of the University of California. All rights reserved.
#include "ngspice/ngspice.h"
#define CONFIG
#include <stdio.h>
#include "ngspice/ifsim.h"
#include "ngspice/suffix.h"
IFsimulator SIMinfo = {
"ngnutmeg", /* my name */
"data analysis and manipulation program", /* more about me */
Spice_Version, /* my version */
NULL, /* newCircuit function */
NULL, /* deleteCircuit function */
NULL, /* newNode function */ /* NEEDED */
@ -54,13 +57,18 @@ IFsimulator SIMinfo = {
NULL,
};
#ifdef CIDER
/* An ugly hack */
#ifdef CIDER
#include "ngspice/cktdefs.h"
void
NDEVacct(CKTcircuit *ckt, FILE *file)
{
NG_IGNORE(ckt);
fprintf(file, "Ouch, you have called NDEV from ngnutmeg\n");
}
#endif

10
src/ngspice.c

@ -1,4 +1,4 @@
/* Configuration file for ng-spice */
/* Configuration file for ngspice */
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
@ -6,10 +6,8 @@ Copyright 1990 Regents of the University of California. All rights reserved.
#include "ngspice/ngspice.h"
#define CONFIG
#include "ngspice/devdefs.h"
#include "ngspice/noisedef.h"
#include "ngspice/suffix.h"
@ -20,16 +18,18 @@ static char * specSigList[] = {
"time"
};
static IFparm nodeParms[] = {
IP("nodeset", PARM_NS , IF_REAL, "suggested initial voltage"),
IP("ic", PARM_IC , IF_REAL, "initial voltage"),
IP("type", PARM_NODETYPE , IF_INTEGER, "output type of equation")
};
IFsimulator SIMinfo = {
"ngspice", /* name */
"ngspice", /* my name */
"Circuit level simulation program", /* more about me */
Spice_Version, /* version */
Spice_Version, /* my version */
CKTinit, /* newCircuit function */
CKTdestroy, /* deleteCircuit function */

Loading…
Cancel
Save