rename `IGNORE()' --> `NG_IGNORE()'
This commit is contained in:
parent
00177fe5ab
commit
abb87a6115
|
|
@ -1,5 +1,10 @@
|
|||
2010-11-16 Robert Larice
|
||||
* src/**/* :
|
||||
rename `IGNORE()' --> `NG_IGNORE()'
|
||||
due to name collision on windows.
|
||||
|
||||
2010-11-16 Holger Vogt
|
||||
* linear.c: prevent loop in case of vector not found
|
||||
* linear.c: prevent loop in case of vector not found
|
||||
|
||||
2010-11-16 Robert Larice
|
||||
* src/Makefile.am :
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ ONEcopyBCinfo(ONEdevice *pDevice, ONEelem *pElem, BDRYcard *bdry, int index)
|
|||
int eIndex;
|
||||
double length;
|
||||
|
||||
IGNORE(pDevice);
|
||||
NG_IGNORE(pDevice);
|
||||
|
||||
/* First add fixed charge. */
|
||||
pNode = pElem->pNodes[index];
|
||||
|
|
|
|||
|
|
@ -765,7 +765,7 @@ contactAdmittance(TWOdevice *pDevice, TWOcontact *pContact, BOOLEAN delVContact,
|
|||
SPcomplex prod1, prod2, sum;
|
||||
double temp;
|
||||
|
||||
IGNORE(pDevice);
|
||||
NG_IGNORE(pDevice);
|
||||
|
||||
CMPLX_ASSIGN_VALUE(yTotal, 0.0, 0.0);
|
||||
|
||||
|
|
@ -966,7 +966,7 @@ oxideAdmittance(TWOdevice *pDevice, TWOcontact *pContact, BOOLEAN delVContact,
|
|||
SPcomplex psiAc;
|
||||
SPcomplex prod1, prod2;
|
||||
|
||||
IGNORE(pDevice);
|
||||
NG_IGNORE(pDevice);
|
||||
|
||||
CMPLX_ASSIGN_VALUE(yTotal, 0.0, 0.0);
|
||||
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ double
|
|||
double gTotal = 0.0;
|
||||
int nInc, pInc;
|
||||
|
||||
IGNORE(pDevice);
|
||||
NG_IGNORE(pDevice);
|
||||
|
||||
/* for one carrier the rest of this code relies on appropriate
|
||||
current derivative term to be zero */
|
||||
|
|
@ -435,7 +435,7 @@ double
|
|||
double dPsiDv;
|
||||
double gTotal = 0.0;
|
||||
|
||||
IGNORE(pDevice);
|
||||
NG_IGNORE(pDevice);
|
||||
|
||||
if ( !tranAnalysis ) {
|
||||
return( gTotal );
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ nodeCurrents(TWOelem *pElem, TWOnode *pNode, double *mun, double *mup,
|
|||
double epsL = 0.0, epsR = 0.0, epsT = 0.0, epsB = 0.0;
|
||||
double coeff1, coeff2;
|
||||
|
||||
IGNORE(pElem);
|
||||
NG_IGNORE(pElem);
|
||||
|
||||
/* Find all four neighboring elements */
|
||||
pElemTL = pNode->pTLElem;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ nodeFields(TWOelem *pElem, TWOnode *pNode, double *ex, double *ey)
|
|||
double dxL = 0.0, dxR = 0.0, dyT = 0.0, dyB = 0.0;
|
||||
double ef1, ef2, coeff1, coeff2;
|
||||
|
||||
IGNORE(pElem);
|
||||
NG_IGNORE(pElem);
|
||||
|
||||
/* Find all four neighboring elements */
|
||||
pElemTL = pNode->pTLElem;
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ MOBsurfElec(TWOmaterial *info, TWOelem *pElem, double ex, double ey,
|
|||
double dElDWx; /* Lateral Derivative x Component */
|
||||
double dElDWy; /* Lateral Derivative y Component */
|
||||
|
||||
IGNORE(wx);
|
||||
IGNORE(wy);
|
||||
IGNORE(totalConc);
|
||||
NG_IGNORE(wx);
|
||||
NG_IGNORE(wy);
|
||||
NG_IGNORE(totalConc);
|
||||
|
||||
if ( pElem->surface ) { /* replace one field component with surface field */
|
||||
if ( pElem->direction == 0 ) {
|
||||
|
|
@ -251,9 +251,9 @@ MOBsurfHole(TWOmaterial *info, TWOelem *pElem, double ex, double ey,
|
|||
double dElDWx; /* Lateral Derivative x Component */
|
||||
double dElDWy; /* Lateral Derivative y Component */
|
||||
|
||||
IGNORE(wx);
|
||||
IGNORE(wy);
|
||||
IGNORE(totalConc);
|
||||
NG_IGNORE(wx);
|
||||
NG_IGNORE(wy);
|
||||
NG_IGNORE(totalConc);
|
||||
|
||||
if ( pElem->surface ) { /* replace one field component with surface field */
|
||||
if ( pElem->direction == 0 ) {
|
||||
|
|
|
|||
|
|
@ -96,8 +96,8 @@ void arg_set(wordlist *wl, struct comm *command)
|
|||
|
||||
void arg_display(wordlist *wl, struct comm *command)
|
||||
{
|
||||
IGNORE(wl);
|
||||
IGNORE(command);
|
||||
NG_IGNORE(wl);
|
||||
NG_IGNORE(command);
|
||||
|
||||
/* just return; display does the right thing */
|
||||
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ com_jobs(wordlist *wl)
|
|||
{
|
||||
struct proc *p;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
for (p = running; p; p = p->pr_next)
|
||||
fprintf(cp_out, "%d\t%.70s\n", p->pr_pid, p->pr_name);
|
||||
|
|
@ -416,7 +416,7 @@ void
|
|||
com_aspice(
|
||||
wordlist *wl)
|
||||
{
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
fprintf(cp_err, "Asynchronous spice jobs are not available.\n");
|
||||
return;
|
||||
}
|
||||
|
|
@ -425,7 +425,7 @@ void
|
|||
com_jobs(
|
||||
wordlist *wl)
|
||||
{
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
fprintf(cp_err, "Asynchronous spice jobs are not available.\n");
|
||||
return;
|
||||
}
|
||||
|
|
@ -440,7 +440,7 @@ void
|
|||
com_rspice(
|
||||
wordlist *wl)
|
||||
{
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
fprintf(cp_err, "Remote spice jobs are not available.\n");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ com_sttus(wordlist *wl)
|
|||
{
|
||||
struct dbcomm *d, *dc;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
for (d = dbs; d; d = d->db_next) {
|
||||
if (d->db_type == DB_TRACENODE) {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
void
|
||||
com_dump(wordlist *wl)
|
||||
{
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
if (!ft_curckt || !ft_curckt->ci_ckt) {
|
||||
fprintf(cp_err, "Error: no circuit loaded.\n");
|
||||
|
|
|
|||
|
|
@ -952,7 +952,7 @@ static void measure_ERR3(void) {
|
|||
|
||||
void com_dotmeasure(wordlist *wl) {
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
/* simulation info */
|
||||
// printf("*%s\n", plot_cur->pl_title);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ com_rehash(wordlist *wl)
|
|||
{
|
||||
char *s;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
if (!cp_dounixcom) {
|
||||
fprintf(cp_err, "Error: unixcom not set.\n");
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
void
|
||||
com_state(wordlist *wl)
|
||||
{
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
if (!ft_curckt) {
|
||||
fprintf(cp_err, "Error: no circuit loaded.\n");
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ void com_sysinfo(wordlist *wl)
|
|||
int errorcode;
|
||||
TesSystemInfo* info;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
info = TMALLOC(TesSystemInfo, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -403,8 +403,8 @@ all_show_old(wordlist *wl, int mode)
|
|||
int
|
||||
printstr_n(dgen *dg, IFparm *p, int i)
|
||||
{
|
||||
IGNORE(p);
|
||||
IGNORE(i);
|
||||
NG_IGNORE(p);
|
||||
NG_IGNORE(i);
|
||||
|
||||
if (dg->instance)
|
||||
fprintf(cp_out," %*.*s", DEV_WIDTH, DEV_WIDTH, dg->instance->GENname);
|
||||
|
|
@ -416,8 +416,8 @@ printstr_n(dgen *dg, IFparm *p, int i)
|
|||
int
|
||||
printstr_m(dgen *dg, IFparm *p, int i)
|
||||
{
|
||||
IGNORE(p);
|
||||
IGNORE(i);
|
||||
NG_IGNORE(p);
|
||||
NG_IGNORE(i);
|
||||
|
||||
if (dg->model)
|
||||
fprintf(cp_out," %*.*s", DEV_WIDTH, DEV_WIDTH, dg->model->GENmodName);
|
||||
|
|
@ -573,9 +573,9 @@ listparam(wordlist *p, dgen *dg)
|
|||
|
||||
int bogus1(dgen *dg, IFparm *p, int i)
|
||||
{
|
||||
IGNORE(dg);
|
||||
IGNORE(p);
|
||||
IGNORE(i);
|
||||
NG_IGNORE(dg);
|
||||
NG_IGNORE(p);
|
||||
NG_IGNORE(i);
|
||||
|
||||
fprintf(cp_out," %*s", DEV_WIDTH, "---------");
|
||||
return 0;
|
||||
|
|
@ -583,9 +583,9 @@ int bogus1(dgen *dg, IFparm *p, int i)
|
|||
|
||||
int bogus2(dgen *dg, IFparm *p, int i)
|
||||
{
|
||||
IGNORE(dg);
|
||||
IGNORE(p);
|
||||
IGNORE(i);
|
||||
NG_IGNORE(dg);
|
||||
NG_IGNORE(p);
|
||||
NG_IGNORE(i);
|
||||
|
||||
fprintf(cp_out," %*s", DEV_WIDTH, "?????????");
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ controlled_exit(int status)
|
|||
void
|
||||
fperror(char *mess, int code)
|
||||
{
|
||||
IGNORE(code);
|
||||
NG_IGNORE(code);
|
||||
fprintf(cp_err, "%s: floating point exception.\n", mess);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ CKTfour(int ndata, /* number of entries in the Time and
|
|||
int j;
|
||||
double tmp;
|
||||
|
||||
IGNORE(Time);
|
||||
NG_IGNORE(Time);
|
||||
|
||||
/* clear output/computation arrays */
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ dgen_init(GENcircuit *ckt, wordlist *wl, int nomix, int flag, int model)
|
|||
dgen *dg, *dg_save;
|
||||
wordlist **prevp;
|
||||
|
||||
IGNORE(nomix);
|
||||
NG_IGNORE(nomix);
|
||||
|
||||
dg = NEW(dgen);
|
||||
dg->ckt = ckt;
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ hlp_thandle(topic **parent)
|
|||
void
|
||||
hlp_tkillwin(topic *top)
|
||||
{
|
||||
IGNORE(top);
|
||||
NG_IGNORE(top);
|
||||
|
||||
if (curtop)
|
||||
curtop = curtop->parent;
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ static Display *display;
|
|||
static void handle_wm_messages(Widget w, XtPointer client_data, XEvent *event, Boolean *cont) {
|
||||
topic *top = (topic *) client_data;
|
||||
|
||||
IGNORE(cont);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(cont);
|
||||
NG_IGNORE(w);
|
||||
|
||||
if (event->type == ClientMessage
|
||||
&& event->xclient.message_type == atom_wm_protocols
|
||||
|
|
@ -231,8 +231,8 @@ newtopic(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
toplink *result = ((handle *) client_data)->result;
|
||||
topic *newtop;
|
||||
|
||||
IGNORE(call_data);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(call_data);
|
||||
NG_IGNORE(w);
|
||||
|
||||
if (!(newtop = hlp_read(result->place))) {
|
||||
fprintf(stderr, "Internal error: bad link\n");
|
||||
|
|
@ -255,8 +255,8 @@ delete(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
|
||||
topic *top = (topic *) client_data;
|
||||
|
||||
IGNORE(call_data);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(call_data);
|
||||
NG_IGNORE(w);
|
||||
|
||||
hlp_killfamily(top);
|
||||
hlp_fixchildren(top);
|
||||
|
|
@ -268,8 +268,8 @@ quit(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
|
||||
topic *top = (topic *) client_data, *parent = top->parent;
|
||||
|
||||
IGNORE(call_data);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(call_data);
|
||||
NG_IGNORE(w);
|
||||
|
||||
while (parent && parent->parent) parent = parent->parent;
|
||||
hlp_killfamily(parent ? parent : top);
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ int hlp_buttonstyle = BS_LEFT;
|
|||
|
||||
/* ARGSUSED */ void hlp_xwait(topic *top, bool on)
|
||||
{
|
||||
IGNORE(on);
|
||||
IGNORE(top);
|
||||
NG_IGNORE(on);
|
||||
NG_IGNORE(top);
|
||||
}
|
||||
|
||||
void hlp_xclosedisplay(void) {}
|
||||
|
|
|
|||
|
|
@ -3144,7 +3144,7 @@ inp_sort_params( struct line *start_card, struct line *end_card, struct line *ca
|
|||
struct line **ptr_array;
|
||||
struct line **ptr_array_ordered;
|
||||
|
||||
IGNORE(end_card);
|
||||
NG_IGNORE(end_card);
|
||||
|
||||
if ( start_card == NULL ) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ com_bug(wordlist *wl)
|
|||
{
|
||||
char buf[BSIZE_SP];
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
if (!Bug_Addr || !*Bug_Addr) {
|
||||
fprintf(cp_err, "Error: No address to send bug reports to.\n");
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ com_removecirc(wordlist *wl)
|
|||
char* namecircuit;
|
||||
char buf[80];
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
/* Allocation of a temp wordlist */
|
||||
wlist = (struct wordlist *)malloc(sizeof(struct wordlist));
|
||||
|
|
|
|||
|
|
@ -925,7 +925,7 @@ nupa_fetchinstance (void)
|
|||
|
||||
void dump_symbols( tdico *dico_p )
|
||||
{
|
||||
IGNORE(dico_p);
|
||||
NG_IGNORE(dico_p);
|
||||
|
||||
fprintf (stderr, "Symbol table\n");
|
||||
nupa_list_params ( stderr ) ;
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ define (tdico * dico,
|
|||
SPICE_DSTRING vartemp ; /* vairable temp */
|
||||
NGHASHPTR htable_p ; /* hash table */
|
||||
|
||||
IGNORE(pval);
|
||||
NG_IGNORE(pval);
|
||||
|
||||
spice_dstring_init(&vartemp) ;
|
||||
|
||||
|
|
|
|||
|
|
@ -271,12 +271,12 @@ nutinp_source(char *file)
|
|||
void
|
||||
nutinp_dodeck(struct line *deck, char *tt, wordlist *end, bool reuse, struct line *options, char *filename)
|
||||
{
|
||||
IGNORE(filename);
|
||||
IGNORE(options);
|
||||
IGNORE(reuse);
|
||||
IGNORE(end);
|
||||
IGNORE(tt);
|
||||
IGNORE(deck);
|
||||
NG_IGNORE(filename);
|
||||
NG_IGNORE(options);
|
||||
NG_IGNORE(reuse);
|
||||
NG_IGNORE(end);
|
||||
NG_IGNORE(tt);
|
||||
NG_IGNORE(deck);
|
||||
|
||||
/* This was "ifdef notdef"-ed out, so I tossed it */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
struct variable * nutif_getparam(CKTcircuit *ckt, char **name, char *param, int ind, int do_model)
|
||||
{
|
||||
IGNORE(do_model);
|
||||
IGNORE(ind);
|
||||
IGNORE(param);
|
||||
IGNORE(name);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(do_model);
|
||||
NG_IGNORE(ind);
|
||||
NG_IGNORE(param);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return ((struct variable *) NULL);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -624,9 +624,9 @@ OUTpData(void *plotPtr, IFvalue *refValue, IFvalue *valuePtr)
|
|||
int
|
||||
OUTwReference(void *plotPtr, IFvalue *valuePtr, void **refPtr)
|
||||
{
|
||||
IGNORE(refPtr);
|
||||
IGNORE(valuePtr);
|
||||
IGNORE(plotPtr);
|
||||
NG_IGNORE(refPtr);
|
||||
NG_IGNORE(valuePtr);
|
||||
NG_IGNORE(plotPtr);
|
||||
|
||||
return (OK);
|
||||
}
|
||||
|
|
@ -634,10 +634,10 @@ OUTwReference(void *plotPtr, IFvalue *valuePtr, void **refPtr)
|
|||
int
|
||||
OUTwData(void *plotPtr, int dataIndex, IFvalue *valuePtr, void *refPtr)
|
||||
{
|
||||
IGNORE(refPtr);
|
||||
IGNORE(valuePtr);
|
||||
IGNORE(dataIndex);
|
||||
IGNORE(plotPtr);
|
||||
NG_IGNORE(refPtr);
|
||||
NG_IGNORE(valuePtr);
|
||||
NG_IGNORE(dataIndex);
|
||||
NG_IGNORE(plotPtr);
|
||||
|
||||
return (OK);
|
||||
}
|
||||
|
|
@ -646,7 +646,7 @@ OUTwData(void *plotPtr, int dataIndex, IFvalue *valuePtr, void *refPtr)
|
|||
int
|
||||
OUTwEnd(void *plotPtr)
|
||||
{
|
||||
IGNORE(plotPtr);
|
||||
NG_IGNORE(plotPtr);
|
||||
return (OK);
|
||||
}
|
||||
|
||||
|
|
@ -679,10 +679,10 @@ OUTendPlot(void *plotPtr)
|
|||
int
|
||||
OUTbeginDomain(void *plotPtr, IFuid refName, int refType, IFvalue *outerRefValue)
|
||||
{
|
||||
IGNORE(outerRefValue);
|
||||
IGNORE(refType);
|
||||
IGNORE(refName);
|
||||
IGNORE(plotPtr);
|
||||
NG_IGNORE(outerRefValue);
|
||||
NG_IGNORE(refType);
|
||||
NG_IGNORE(refName);
|
||||
NG_IGNORE(plotPtr);
|
||||
|
||||
return (OK);
|
||||
}
|
||||
|
|
@ -691,7 +691,7 @@ OUTbeginDomain(void *plotPtr, IFuid refName, int refType, IFvalue *outerRefValue
|
|||
int
|
||||
OUTendDomain(void *plotPtr)
|
||||
{
|
||||
IGNORE(plotPtr);
|
||||
NG_IGNORE(plotPtr);
|
||||
return (OK);
|
||||
}
|
||||
|
||||
|
|
@ -706,7 +706,7 @@ OUTattributes(void *plotPtr, IFuid varName, int param, IFvalue *value)
|
|||
GRIDTYPE type;
|
||||
int i;
|
||||
|
||||
IGNORE(value);
|
||||
NG_IGNORE(value);
|
||||
|
||||
if (param == OUT_SCALE_LIN)
|
||||
type = GRID_LIN;
|
||||
|
|
|
|||
|
|
@ -1867,9 +1867,9 @@ yyreturn:
|
|||
static void
|
||||
PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *s)
|
||||
{
|
||||
IGNORE(locp);
|
||||
IGNORE(line);
|
||||
IGNORE(retval);
|
||||
NG_IGNORE(locp);
|
||||
NG_IGNORE(line);
|
||||
NG_IGNORE(retval);
|
||||
|
||||
fprintf (stderr, "%s: %s\n", __func__, s);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,9 +163,9 @@ exp:
|
|||
static void
|
||||
PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *s)
|
||||
{
|
||||
IGNORE(locp);
|
||||
IGNORE(line);
|
||||
IGNORE(retval);
|
||||
NG_IGNORE(locp);
|
||||
NG_IGNORE(line);
|
||||
NG_IGNORE(retval);
|
||||
|
||||
fprintf (stderr, "%s: %s\n", __func__, s);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -526,7 +526,7 @@ char *
|
|||
db_print_pnode_tree(struct pnode *p, char *print)
|
||||
{
|
||||
#if 1
|
||||
IGNORE(print);
|
||||
NG_IGNORE(print);
|
||||
db_print_pnode(stdout, p);
|
||||
return NULL;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -335,9 +335,9 @@ printem(wordlist *wl)
|
|||
void
|
||||
cp_ccom(wordlist *wlist, char *buf, bool esc)
|
||||
{
|
||||
IGNORE(wlist);
|
||||
IGNORE(buf);
|
||||
IGNORE(esc);
|
||||
NG_IGNORE(wlist);
|
||||
NG_IGNORE(buf);
|
||||
NG_IGNORE(esc);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -572,7 +572,7 @@ cp_kwswitch(int class, char *tree)
|
|||
void
|
||||
cp_ccrestart(bool kwords)
|
||||
{
|
||||
IGNORE(kwords);
|
||||
NG_IGNORE(kwords);
|
||||
|
||||
/* Ack. */
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -240,8 +240,8 @@ cp_hstat(void)
|
|||
void
|
||||
cp_rehash(char *pathlist, bool docc)
|
||||
{
|
||||
IGNORE(docc);
|
||||
IGNORE(pathlist);
|
||||
NG_IGNORE(docc);
|
||||
NG_IGNORE(pathlist);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ ft_agraf(double *xlims, double *ylims, struct dvec *xscale, struct plot *plot, s
|
|||
int i, j, k;
|
||||
int shift;
|
||||
|
||||
IGNORE(xdel);
|
||||
IGNORE(ydel);
|
||||
IGNORE(ylog);
|
||||
NG_IGNORE(xdel);
|
||||
NG_IGNORE(ydel);
|
||||
NG_IGNORE(ylog);
|
||||
|
||||
/* ANSI C does not specify how many digits are in an exponent for %c
|
||||
* We assumed it was 2. If it's more, shift starting position over.
|
||||
|
|
|
|||
|
|
@ -236,13 +236,13 @@ ft_writesimple(double *xlims, double *ylims, char *filename, char *title, char *
|
|||
|
||||
char filename_data[128];
|
||||
|
||||
IGNORE(xlims);
|
||||
IGNORE(ylims);
|
||||
IGNORE(title);
|
||||
IGNORE(xlabel);
|
||||
IGNORE(ylabel);
|
||||
IGNORE(gridtype);
|
||||
IGNORE(plottype);
|
||||
NG_IGNORE(xlims);
|
||||
NG_IGNORE(ylims);
|
||||
NG_IGNORE(title);
|
||||
NG_IGNORE(xlabel);
|
||||
NG_IGNORE(ylabel);
|
||||
NG_IGNORE(gridtype);
|
||||
NG_IGNORE(plottype);
|
||||
|
||||
sprintf(filename_data, "%s.data", filename);
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ gr_init(double *xlims, double *ylims, /* The size of the screen. */
|
|||
wordlist *wl;
|
||||
char *comb_title;
|
||||
|
||||
IGNORE(nplots);
|
||||
NG_IGNORE(nplots);
|
||||
|
||||
if (!(graph = NewGraph())) {
|
||||
return(FALSE);
|
||||
|
|
@ -443,7 +443,7 @@ drawlegend(GRAPH *graph, int plotno, struct dvec *dv)
|
|||
void
|
||||
gr_end(struct dvec *dv)
|
||||
{
|
||||
IGNORE(dv);
|
||||
NG_IGNORE(dv);
|
||||
DevUpdate();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -483,8 +483,8 @@ drawlingrid(GRAPH *graph, char *units, int spacing, int nsp, double dst, double
|
|||
double m, step;
|
||||
char buf[LABEL_CHARS];
|
||||
|
||||
IGNORE(onedec);
|
||||
IGNORE(mult);
|
||||
NG_IGNORE(onedec);
|
||||
NG_IGNORE(mult);
|
||||
|
||||
/* i counts how many pixels we have drawn, and j counts which unit
|
||||
* we are at.
|
||||
|
|
@ -1318,7 +1318,7 @@ arcset(GRAPH *graph, double rad, double prevrad, double irad, double iprevrad, d
|
|||
double iangle = atan2((double) prevrad, (double) irad);
|
||||
int x, xlab, ylab;
|
||||
|
||||
IGNORE(nlab);
|
||||
NG_IGNORE(nlab);
|
||||
|
||||
/* Let's be lazy and just draw everything -- we won't get called too
|
||||
* much and the circles get clipped anyway...
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ Plt5_SetLinestyle(int linestyleid)
|
|||
int
|
||||
Plt5_SetColor(int colorid)
|
||||
{
|
||||
IGNORE(colorid);
|
||||
NG_IGNORE(colorid);
|
||||
|
||||
/* do nothing */
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ handlekeypressed(Widget w, caddr_t clientdata, caddr_t calldata)
|
|||
char text[4];
|
||||
int nbytes;
|
||||
|
||||
IGNORE(w);
|
||||
NG_IGNORE(w);
|
||||
|
||||
nbytes = XLookupString(keyev, text, 4, NULL, NULL);
|
||||
if (!nbytes) return;
|
||||
|
|
@ -296,7 +296,7 @@ handlebuttonev(Widget w, caddr_t clientdata, caddr_t calldata)
|
|||
|
||||
XButtonEvent *buttonev = (XButtonEvent *) calldata;
|
||||
|
||||
IGNORE(w);
|
||||
NG_IGNORE(w);
|
||||
|
||||
switch (buttonev->button) {
|
||||
case Button1:
|
||||
|
|
@ -313,8 +313,8 @@ handlebuttonev(Widget w, caddr_t clientdata, caddr_t calldata)
|
|||
static void handle_wm_messages(Widget w, XtPointer client_data, XEvent *event, Boolean *cont) {
|
||||
GRAPH *graph = (GRAPH *) client_data;
|
||||
|
||||
IGNORE(cont);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(cont);
|
||||
NG_IGNORE(w);
|
||||
|
||||
if (event->type == ClientMessage
|
||||
&& event->xclient.message_type == atom_wm_protocols
|
||||
|
|
@ -558,10 +558,10 @@ X11_Text(char *text, int x, int y)
|
|||
int
|
||||
X11_DefineColor(int colorid, double red, double green, double blue)
|
||||
{
|
||||
IGNORE(blue);
|
||||
IGNORE(green);
|
||||
IGNORE(red);
|
||||
IGNORE(colorid);
|
||||
NG_IGNORE(blue);
|
||||
NG_IGNORE(green);
|
||||
NG_IGNORE(red);
|
||||
NG_IGNORE(colorid);
|
||||
|
||||
internalerror("X11_DefineColor not implemented.");
|
||||
return 0;
|
||||
|
|
@ -571,8 +571,8 @@ X11_DefineColor(int colorid, double red, double green, double blue)
|
|||
int
|
||||
X11_DefineLinestyle(int linestyleid, int mask)
|
||||
{
|
||||
IGNORE(mask);
|
||||
IGNORE(linestyleid);
|
||||
NG_IGNORE(mask);
|
||||
NG_IGNORE(linestyleid);
|
||||
|
||||
internalerror("X11_DefineLinestyle not implemented.");
|
||||
return 0;
|
||||
|
|
@ -845,8 +845,8 @@ zoomin(GRAPH *graph)
|
|||
void
|
||||
hardcopy(Widget w, caddr_t client_data, caddr_t call_data)
|
||||
{
|
||||
IGNORE(call_data);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(call_data);
|
||||
NG_IGNORE(w);
|
||||
|
||||
/* com_hardcopy() -> gr_resize() -> setcolor() dirung postscript
|
||||
printing will act on currentgraph with a DEVDEP inherited from PSdevdep.
|
||||
|
|
@ -874,8 +874,8 @@ killwin(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
|
||||
GRAPH *graph = (GRAPH *) client_data;
|
||||
|
||||
IGNORE(call_data);
|
||||
IGNORE(w);
|
||||
NG_IGNORE(call_data);
|
||||
NG_IGNORE(w);
|
||||
|
||||
/* Iplots are done asynchronously */
|
||||
DEVDEP(graph).isopen = 0;
|
||||
|
|
@ -910,7 +910,7 @@ redraw(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
XRectangle rects[30];
|
||||
int n = 1;
|
||||
|
||||
IGNORE(w);
|
||||
NG_IGNORE(w);
|
||||
|
||||
DEVDEP(graph).isopen = 1;
|
||||
|
||||
|
|
@ -949,7 +949,7 @@ resize(Widget w, caddr_t client_data, caddr_t call_data)
|
|||
GRAPH *graph = (GRAPH *) client_data;
|
||||
XEvent ev;
|
||||
|
||||
IGNORE(call_data);
|
||||
NG_IGNORE(call_data);
|
||||
|
||||
/* pull out all other exposure events
|
||||
Also, get rid of other StructureNotify events on this window. */
|
||||
|
|
|
|||
|
|
@ -383,9 +383,9 @@ ft_dorun(char *file)
|
|||
bool
|
||||
ft_getOutReq(FILE **fpp, struct plot **plotp, bool *binp, char *name, char *title)
|
||||
{
|
||||
IGNORE(title);
|
||||
IGNORE(name);
|
||||
IGNORE(plotp);
|
||||
NG_IGNORE(title);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(plotp);
|
||||
|
||||
if (rawfileFp) {
|
||||
*fpp = rawfileFp;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ com_resume(wordlist *wl)
|
|||
bool ascii = AsciiRawFile;
|
||||
/*end saj*/
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
/*saj fix segment*/
|
||||
if (!ft_curckt) {
|
||||
|
|
@ -174,7 +174,7 @@ com_rset(wordlist *wl)
|
|||
{
|
||||
struct variable *v, *next;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
if (ft_curckt == NULL) {
|
||||
fprintf(cp_err, "Error: there is no circuit loaded.\n");
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ ft_sigintr(void)
|
|||
RETSIGTYPE
|
||||
sigfloat(int sig, int code)
|
||||
{
|
||||
IGNORE(sig);
|
||||
NG_IGNORE(sig);
|
||||
|
||||
gr_clean();
|
||||
fperror("Error", code);
|
||||
|
|
|
|||
|
|
@ -536,7 +536,7 @@ fputs("\t(Note that you must use an = to separate option name and value.)\n",
|
|||
void
|
||||
if_dump(CKTcircuit *ckt, FILE *file)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
/*void *cc = (void *) ckt;*/
|
||||
|
||||
|
|
@ -620,7 +620,7 @@ spif_getparam_special(CKTcircuit *ckt,char **name,char *param,int ind,int do_mod
|
|||
GENmodel *mod=(GENmodel *)NULL;
|
||||
IFdevice *device;
|
||||
|
||||
IGNORE(do_model);
|
||||
NG_IGNORE(do_model);
|
||||
|
||||
/* fprintf(cp_err, "Calling if_getparam(%s, %s)\n", *name, param); */
|
||||
|
||||
|
|
@ -1011,7 +1011,7 @@ parmlookup(IFdevice *dev, GENinstance **inptr, char *param, int do_model, int in
|
|||
{
|
||||
int i;
|
||||
|
||||
IGNORE(inptr);
|
||||
NG_IGNORE(inptr);
|
||||
|
||||
/* First try the device questions... */
|
||||
if (!do_model && dev->numInstanceParms) {
|
||||
|
|
@ -1058,7 +1058,7 @@ doask(CKTcircuit *ckt, int typecode, GENinstance *dev, GENmodel *mod, IFparm *op
|
|||
static IFvalue pv;
|
||||
int err;
|
||||
|
||||
IGNORE(typecode);
|
||||
NG_IGNORE(typecode);
|
||||
|
||||
pv.iValue = ind; /* Sometimes this will be junk and ignored... */
|
||||
|
||||
|
|
@ -1093,7 +1093,7 @@ doset(CKTcircuit *ckt, int typecode, GENinstance *dev, GENmodel *mod, IFparm *op
|
|||
double *dptr;
|
||||
int i;
|
||||
|
||||
IGNORE(typecode);
|
||||
NG_IGNORE(typecode);
|
||||
|
||||
/* Count items */
|
||||
if (opt->dataType & IF_VECTOR) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ com_where(wordlist *wl)
|
|||
{
|
||||
char *msg;
|
||||
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
|
||||
/*CDHW typing where with no current circuit caused crashes CDHW*/
|
||||
if (!ft_curckt) {
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ extern int tcl_fprintf(FILE *f, const char *format, ...);
|
|||
#endif
|
||||
|
||||
/* macro to ignore unused variables and parameters */
|
||||
#define IGNORE(x) (void)x
|
||||
#define NG_IGNORE(x) (void)x
|
||||
|
||||
|
||||
#endif /* NGSPICE_H_INCLUDED */
|
||||
|
|
|
|||
82
src/main.c
82
src/main.c
|
|
@ -237,10 +237,10 @@ IFfrontEnd nutmeginfo;
|
|||
int
|
||||
if_run(CKTcircuit *t, char *w, wordlist *s, INPtables *b)
|
||||
{
|
||||
IGNORE(b);
|
||||
IGNORE(s);
|
||||
IGNORE(w);
|
||||
IGNORE(t);
|
||||
NG_IGNORE(b);
|
||||
NG_IGNORE(s);
|
||||
NG_IGNORE(w);
|
||||
NG_IGNORE(t);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
@ -249,9 +249,9 @@ if_run(CKTcircuit *t, char *w, wordlist *s, INPtables *b)
|
|||
int
|
||||
if_sens_run(CKTcircuit *t, wordlist *args, INPtables *tab)
|
||||
{
|
||||
IGNORE(tab);
|
||||
IGNORE(args);
|
||||
IGNORE(t);
|
||||
NG_IGNORE(tab);
|
||||
NG_IGNORE(args);
|
||||
NG_IGNORE(t);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
@ -260,8 +260,8 @@ if_sens_run(CKTcircuit *t, wordlist *args, INPtables *tab)
|
|||
void
|
||||
if_dump(CKTcircuit *ckt, FILE *fp)
|
||||
{
|
||||
IGNORE(fp);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(fp);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -270,8 +270,8 @@ if_dump(CKTcircuit *ckt, FILE *fp)
|
|||
CKTcircuit *
|
||||
if_inpdeck(struct line *deck, INPtables **tab)
|
||||
{
|
||||
IGNORE(tab);
|
||||
IGNORE(deck);
|
||||
NG_IGNORE(tab);
|
||||
NG_IGNORE(deck);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -279,10 +279,10 @@ if_inpdeck(struct line *deck, INPtables **tab)
|
|||
int
|
||||
if_option(CKTcircuit *ckt, char *name, enum cp_types type, void *value)
|
||||
{
|
||||
IGNORE(value);
|
||||
IGNORE(type);
|
||||
IGNORE(name);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(value);
|
||||
NG_IGNORE(type);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -290,8 +290,8 @@ if_option(CKTcircuit *ckt, char *name, enum cp_types type, void *value)
|
|||
/* -------------------------------------------------------------------------- */
|
||||
void if_cktfree(CKTcircuit *ckt, INPtables *tab)
|
||||
{
|
||||
IGNORE(tab);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(tab);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -299,14 +299,14 @@ void if_cktfree(CKTcircuit *ckt, INPtables *tab)
|
|||
/* -------------------------------------------------------------------------- */
|
||||
void if_setndnames(char *line)
|
||||
{
|
||||
IGNORE(line);
|
||||
NG_IGNORE(line);
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
char *
|
||||
if_errstring(int code)
|
||||
{
|
||||
IGNORE(code);
|
||||
NG_IGNORE(code);
|
||||
return ("spice error");
|
||||
}
|
||||
|
||||
|
|
@ -314,9 +314,9 @@ if_errstring(int code)
|
|||
void
|
||||
if_setparam_model(CKTcircuit *ckt, char **name, char *val)
|
||||
{
|
||||
IGNORE(val);
|
||||
IGNORE(name);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(val);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -324,11 +324,11 @@ if_setparam_model(CKTcircuit *ckt, char **name, char *val)
|
|||
void
|
||||
if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_model)
|
||||
{
|
||||
IGNORE(do_model);
|
||||
IGNORE(val);
|
||||
IGNORE(param);
|
||||
IGNORE(name);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(do_model);
|
||||
NG_IGNORE(val);
|
||||
NG_IGNORE(param);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -337,10 +337,10 @@ if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_
|
|||
bool
|
||||
if_tranparams(struct circ *ckt, double *start, double *stop, double *step)
|
||||
{
|
||||
IGNORE(step);
|
||||
IGNORE(stop);
|
||||
IGNORE(start);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(step);
|
||||
NG_IGNORE(stop);
|
||||
NG_IGNORE(start);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return (FALSE);
|
||||
}
|
||||
|
|
@ -349,8 +349,8 @@ if_tranparams(struct circ *ckt, double *start, double *stop, double *step)
|
|||
struct variable *
|
||||
if_getstat(CKTcircuit *ckt, char *name)
|
||||
{
|
||||
IGNORE(name);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(name);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
|
@ -373,30 +373,30 @@ Ipc_Status_t ipc_send_errchk(void ) {
|
|||
}
|
||||
Ipc_Status_t ipc_get_line(char *str , int *len , Ipc_Wait_t wait ){
|
||||
Ipc_Status_t x = IPC_STATUS_OK;
|
||||
IGNORE(str);
|
||||
IGNORE(len);
|
||||
IGNORE(wait);
|
||||
NG_IGNORE(str);
|
||||
NG_IGNORE(len);
|
||||
NG_IGNORE(wait);
|
||||
|
||||
return(x);
|
||||
}
|
||||
struct line *ENHtranslate_poly(struct line *deck){
|
||||
IGNORE(deck);
|
||||
NG_IGNORE(deck);
|
||||
return(NULL);
|
||||
}
|
||||
int load_opus(char *name){
|
||||
IGNORE(name);
|
||||
NG_IGNORE(name);
|
||||
return(1);
|
||||
}
|
||||
char *MIFgettok(char **s){
|
||||
IGNORE(s);
|
||||
NG_IGNORE(s);
|
||||
return(NULL);
|
||||
}
|
||||
void EVTprint(wordlist *wl){
|
||||
IGNORE(wl);
|
||||
NG_IGNORE(wl);
|
||||
return;
|
||||
}
|
||||
struct dvec *EVTfindvec(char *node){
|
||||
IGNORE(node);
|
||||
NG_IGNORE(node);
|
||||
return NULL;
|
||||
}
|
||||
#endif /* XSPICE */
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ cx_rnd(void *data, short int type, int length, int *newlength, short int *newtyp
|
|||
void *
|
||||
cx_sunif(void *data, short int type, int length, int *newlength, short int *newtype)
|
||||
{
|
||||
IGNORE(data);
|
||||
NG_IGNORE(data);
|
||||
|
||||
*newlength = length;
|
||||
checkseed();
|
||||
|
|
@ -280,7 +280,7 @@ cx_sunif(void *data, short int type, int length, int *newlength, short int *newt
|
|||
void *
|
||||
cx_sgauss(void *data, short int type, int length, int *newlength, short int *newtype)
|
||||
{
|
||||
IGNORE(data);
|
||||
NG_IGNORE(data);
|
||||
|
||||
*newlength = length;
|
||||
checkseed();
|
||||
|
|
@ -394,8 +394,8 @@ cx_length(void *data, short int type, int length, int *newlength, short int *new
|
|||
{
|
||||
double *d;
|
||||
|
||||
IGNORE(data);
|
||||
IGNORE(type);
|
||||
NG_IGNORE(data);
|
||||
NG_IGNORE(type);
|
||||
|
||||
*newlength = 1;
|
||||
*newtype = VF_REAL;
|
||||
|
|
@ -417,7 +417,7 @@ cx_vector(void *data, short int type, int length, int *newlength, short int *new
|
|||
int i, len;
|
||||
double *d;
|
||||
|
||||
IGNORE(length);
|
||||
NG_IGNORE(length);
|
||||
|
||||
if (type == VF_REAL)
|
||||
len = (int)FTEcabs(*dd);
|
||||
|
|
@ -444,7 +444,7 @@ cx_unitvec(void *data, short int type, int length, int *newlength, short int *ne
|
|||
int i, len;
|
||||
double *d;
|
||||
|
||||
IGNORE(length);
|
||||
NG_IGNORE(length);
|
||||
|
||||
if (type == VF_REAL)
|
||||
len = (int)FTEcabs(*dd);
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ SMPclear(SMPmatrix *Matrix)
|
|||
spClear( Matrix );
|
||||
}
|
||||
|
||||
#define IGNORE(x) (void)x
|
||||
#define NG_IGNORE(x) (void)x
|
||||
|
||||
/*
|
||||
* SMPcLUfac()
|
||||
|
|
@ -157,7 +157,7 @@ SMPclear(SMPmatrix *Matrix)
|
|||
int
|
||||
SMPcLUfac(SMPmatrix *Matrix, double PivTol)
|
||||
{
|
||||
IGNORE(PivTol);
|
||||
NG_IGNORE(PivTol);
|
||||
|
||||
spSetComplex( Matrix );
|
||||
return spFactor( Matrix );
|
||||
|
|
@ -170,7 +170,7 @@ SMPcLUfac(SMPmatrix *Matrix, double PivTol)
|
|||
int
|
||||
SMPluFac(SMPmatrix *Matrix, double PivTol, double Gmin)
|
||||
{
|
||||
IGNORE(PivTol);
|
||||
NG_IGNORE(PivTol);
|
||||
spSetReal( Matrix );
|
||||
LoadGmin( Matrix, Gmin );
|
||||
return spFactor( Matrix );
|
||||
|
|
@ -208,8 +208,8 @@ void
|
|||
SMPcaSolve(SMPmatrix *Matrix, double RHS[], double iRHS[],
|
||||
double Spare[], double iSpare[])
|
||||
{
|
||||
IGNORE(iSpare);
|
||||
IGNORE(Spare);
|
||||
NG_IGNORE(iSpare);
|
||||
NG_IGNORE(Spare);
|
||||
|
||||
spSolveTransposed( Matrix, RHS, RHS, iRHS, iRHS );
|
||||
}
|
||||
|
|
@ -221,8 +221,8 @@ void
|
|||
SMPcSolve(SMPmatrix *Matrix, double RHS[], double iRHS[],
|
||||
double Spare[], double iSpare[])
|
||||
{
|
||||
IGNORE(iSpare);
|
||||
IGNORE(Spare);
|
||||
NG_IGNORE(iSpare);
|
||||
NG_IGNORE(Spare);
|
||||
|
||||
spSolve( Matrix, RHS, RHS, iRHS, iRHS );
|
||||
}
|
||||
|
|
@ -233,7 +233,7 @@ SMPcSolve(SMPmatrix *Matrix, double RHS[], double iRHS[],
|
|||
void
|
||||
SMPsolve(SMPmatrix *Matrix, double RHS[], double Spare[])
|
||||
{
|
||||
IGNORE(Spare);
|
||||
NG_IGNORE(Spare);
|
||||
|
||||
spSolve( Matrix, RHS, RHS, (spREAL*)NULL, (spREAL*)NULL );
|
||||
}
|
||||
|
|
@ -284,7 +284,7 @@ SMPpreOrder(SMPmatrix *Matrix)
|
|||
void
|
||||
SMPprint(SMPmatrix *Matrix, FILE *File)
|
||||
{
|
||||
IGNORE(File);
|
||||
NG_IGNORE(File);
|
||||
|
||||
spPrint( Matrix, 0, 1, 1 );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ IFsimulator SIMinfo = {
|
|||
void
|
||||
NDEVacct(CKTcircuit *ckt, FILE *file)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
fprintf(file, "Ouch, you have called NDEV from ngnutmeg\n");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -437,23 +437,23 @@ void cp_pushcontrol(void) { }
|
|||
void cp_popcontrol(void) { }
|
||||
void out_init(void) { }
|
||||
void cp_doquit(void) { exit(0); }
|
||||
void cp_usrvars(struct variable **v1, struct variable **v2) { IGNORE(v2); IGNORE(v1); return; }
|
||||
int cp_evloop(char *s) { IGNORE(s); return (0); }
|
||||
void cp_ccon(bool o) { IGNORE(o); }
|
||||
char*if_errstring(int c) { IGNORE(c); return ("error"); }
|
||||
void cp_usrvars(struct variable **v1, struct variable **v2) { NG_IGNORE(v2); NG_IGNORE(v1); return; }
|
||||
int cp_evloop(char *s) { NG_IGNORE(s); return (0); }
|
||||
void cp_ccon(bool o) { NG_IGNORE(o); }
|
||||
char*if_errstring(int c) { NG_IGNORE(c); return ("error"); }
|
||||
#ifndef out_printf
|
||||
void out_printf(char *fmt, ...) { IGNORE(fmt); }
|
||||
void out_printf(char *fmt, ...) { NG_IGNORE(fmt); }
|
||||
#endif
|
||||
void out_send(char *string) { IGNORE(string); }
|
||||
struct variable * cp_enqvar(char *word) { IGNORE(word); return (NULL); }
|
||||
struct dvec *vec_get(const char *word) { IGNORE(word); return (NULL); }
|
||||
void out_send(char *string) { NG_IGNORE(string); }
|
||||
struct variable * cp_enqvar(char *word) { NG_IGNORE(word); return (NULL); }
|
||||
struct dvec *vec_get(const char *word) { NG_IGNORE(word); return (NULL); }
|
||||
void cp_ccom(wordlist *w, char *b, bool e) {
|
||||
IGNORE(e);
|
||||
IGNORE(b);
|
||||
IGNORE(w); return; }
|
||||
NG_IGNORE(e);
|
||||
NG_IGNORE(b);
|
||||
NG_IGNORE(w); return; }
|
||||
int cp_usrset(struct variable *v, bool i) {
|
||||
IGNORE(i);
|
||||
IGNORE(v); return(US_OK); }
|
||||
NG_IGNORE(i);
|
||||
NG_IGNORE(v); return(US_OK); }
|
||||
|
||||
int disptype;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
ACaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
ACsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
CKTacct(CKTcircuit *ckt, JOB *anal, int which, IFvalue *val)
|
||||
{
|
||||
IGNORE(anal);
|
||||
NG_IGNORE(anal);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ CKTaskAnalQ(CKTcircuit *ckt, JOB *analPtr, int parm, IFvalue *value, IFvalue *se
|
|||
{
|
||||
int type = analPtr->JOBtype;
|
||||
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if((analInfo[type]->askQuest) == NULL) return(E_BADPARM);
|
||||
return( (*(analInfo[type]->askQuest))(ckt,analPtr,parm,value));
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
CKTaskNodQst(CKTcircuit *ckt, CKTnode *node, int parm, IFvalue *value, IFvalue *selector)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if(!node) return(E_BADPARM);
|
||||
switch(parm) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ CKTdelTask(CKTcircuit *ckt, TSKtask *task)
|
|||
JOB *job;
|
||||
JOB *old=NULL;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
for(job = task->jobs; job; job=job->JOBnextJob){
|
||||
if(old) FREE(old);
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
CKTdltInst(CKTcircuit *ckt, void *instance)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(instance);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(instance);
|
||||
|
||||
return(E_UNSUPP);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ CKTfndAnal(CKTcircuit *ckt, int *analIndex, JOB **anal, IFuid name, TSKtask *inT
|
|||
TSKtask *task = /* fixme, drop that */ inTask;
|
||||
JOB *here;
|
||||
|
||||
IGNORE(ckt);
|
||||
IGNORE(analIndex);
|
||||
IGNORE(taskName);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(analIndex);
|
||||
NG_IGNORE(taskName);
|
||||
|
||||
for (here = task->jobs; here; here = here->JOBnextJob) {
|
||||
if(strcmp(here->JOBname,name)==0) {
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
CKTfndTask(CKTcircuit *ckt, TSKtask **taskPtr, IFuid taskName)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(taskPtr);
|
||||
IGNORE(taskName);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(taskPtr);
|
||||
NG_IGNORE(taskName);
|
||||
|
||||
return(E_UNSUPP);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ CKTmodAsk(CKTcircuit *ckt, GENmodel *modfast, int which, IFvalue *value, IFvalue
|
|||
{
|
||||
int type = modfast->GENmodType;
|
||||
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if((*DEVices[type]).DEVmodAsk) {
|
||||
return( (*((*DEVices[type]).DEVmodAsk)) (ckt,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ CKTmkNode(CKTcircuit *ckt, CKTnode **node)
|
|||
{
|
||||
CKTnode *mynode;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
mynode = TMALLOC(CKTnode, 1);
|
||||
if(mynode == (CKTnode *)NULL) return(E_NOMEM);
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ CKTmodParam(CKTcircuit *ckt, GENmodel *modfast, int param, IFvalue *val, IFvalue
|
|||
{
|
||||
int type = modfast->GENmodType;
|
||||
|
||||
IGNORE(ckt);
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if (((*DEVices[type]).DEVmodParam)) {
|
||||
return(((*((*DEVices[type]).DEVmodParam)) (param,val,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ extern SPICEanalysis *analInfo[];
|
|||
int
|
||||
CKTnewAnal(CKTcircuit *ckt, int type, IFuid name, JOB **analPtr, TSKtask *taskPtr)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
if(type==0) {
|
||||
/* special case for analysis type 0 == option card */
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ CKTnewTask(CKTcircuit *ckt, TSKtask **taskPtr, IFuid taskName, TSKtask **defPtr)
|
|||
{
|
||||
TSKtask *tsk, *def=NULL;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
*taskPtr = TMALLOC(TSKtask, 1);
|
||||
if(*taskPtr==NULL) return(E_NOMEM);
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ gillespie_src (CKTcircuit * ckt, long int firstmode,
|
|||
double *OldRhsOld, *OldCKTstate0;
|
||||
CKTnode *n;
|
||||
|
||||
IGNORE(iterlim);
|
||||
NG_IGNORE(iterlim);
|
||||
|
||||
ckt->CKTmode = firstmode;
|
||||
(*(SPfrontEnd->IFerror)) (ERR_INFO,
|
||||
|
|
@ -601,7 +601,7 @@ spice3_src (CKTcircuit * ckt, long int firstmode,
|
|||
|
||||
int converged, i;
|
||||
|
||||
IGNORE(iterlim);
|
||||
NG_IGNORE(iterlim);
|
||||
|
||||
ckt->CKTmode = firstmode;
|
||||
(*(SPfrontEnd->IFerror)) (ERR_INFO,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ CKTparam(CKTcircuit *ckt, GENinstance *fast, int param, IFvalue *val, IFvalue *s
|
|||
int type;
|
||||
GENinstance *myfast = /*fixme*/ fast;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
type = myfast->GENmodPtr->GENmodType;
|
||||
if(((*DEVices[type]).DEVparam)) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ CKTpModName(char *parm, IFvalue *val, CKTcircuit *ckt, int type, IFuid name, GEN
|
|||
int error; /* int to store evaluate error return codes in */
|
||||
int i;
|
||||
|
||||
IGNORE(name);
|
||||
NG_IGNORE(name);
|
||||
|
||||
for(i=0;i<(*(*DEVices[type]).DEVpublic.numModelParms);i++) {
|
||||
if(strcmp(parm,((*DEVices[type]).DEVpublic.modelParms[i].keyword))==0){
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ CKTpName(char *parm, IFvalue *val, CKTcircuit *ckt, int dev, char *name, GENinst
|
|||
int error; /* int to store evaluate error return codes in */
|
||||
int i;
|
||||
|
||||
IGNORE(name);
|
||||
NG_IGNORE(name);
|
||||
|
||||
for(i=0;i<(*(*DEVices[dev]).DEVpublic.numInstanceParms);i++) {
|
||||
if(strcmp(parm,
|
||||
|
|
|
|||
|
|
@ -781,7 +781,7 @@ CKTpzVerify(PZtrial **set, PZtrial *new_trial)
|
|||
|
||||
PZtrial *t, *prev;
|
||||
|
||||
IGNORE(set);
|
||||
NG_IGNORE(set);
|
||||
|
||||
NZeros += 1;
|
||||
if (new_trial->s.imag != 0.0)
|
||||
|
|
|
|||
|
|
@ -719,7 +719,7 @@ sens_getp(sgen *sg, CKTcircuit *ckt, IFvalue *val)
|
|||
{
|
||||
int pid;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
error = 0;
|
||||
|
||||
|
|
@ -765,7 +765,7 @@ sens_setp(sgen *sg, CKTcircuit *ckt, IFvalue *val)
|
|||
{
|
||||
int pid;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
error = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ CKTsetAnalPm(CKTcircuit *ckt, JOB *analPtr, int parm, IFvalue *value, IFvalue *s
|
|||
{
|
||||
int type = analPtr->JOBtype;
|
||||
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if((analInfo[type]->setParm)==NULL) return(E_BADPARM);
|
||||
return( (*(analInfo[type]->setParm))(ckt,analPtr,parm,value) );
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
CKTsetNodPm(CKTcircuit *ckt, CKTnode *node, int parm, IFvalue *value, IFvalue *selector)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(selector);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(selector);
|
||||
|
||||
if(!node) return(E_BADPARM);
|
||||
switch(parm) {
|
||||
|
|
|
|||
|
|
@ -179,19 +179,19 @@ sgen_next(sgen **xsg)
|
|||
|
||||
int set_inst(sgen *sg)
|
||||
{
|
||||
IGNORE(sg);
|
||||
NG_IGNORE(sg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int set_model(sgen *sg)
|
||||
{
|
||||
IGNORE(sg);
|
||||
NG_IGNORE(sg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int set_dev(sgen *sg)
|
||||
{
|
||||
IGNORE(sg);
|
||||
NG_IGNORE(sg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CKTsetOpt(CKTcircuit *ckt, JOB *anal, int opt, IFvalue *val)
|
|||
{
|
||||
TSKtask *task = (TSKtask *)anal;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(opt) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Author: 1988 Jaijeet S Roychowdhury
|
|||
int
|
||||
DaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
DCOaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(anal);
|
||||
IGNORE(which);
|
||||
IGNORE(value);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(anal);
|
||||
NG_IGNORE(which);
|
||||
NG_IGNORE(value);
|
||||
return(E_BADPARM);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ DCop(CKTcircuit *ckt, int notused)
|
|||
int numNames;
|
||||
void *plot = NULL;
|
||||
|
||||
IGNORE(notused);
|
||||
NG_IGNORE(notused);
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - add - wbk - 12/19/90 - Add IPC stuff and initialize anal_init and anal_type */
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
DCOsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(anal);
|
||||
IGNORE(value);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(anal);
|
||||
NG_IGNORE(value);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
DCTaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
IGNORE(anal);
|
||||
IGNORE(value);
|
||||
NG_IGNORE(ckt);
|
||||
NG_IGNORE(anal);
|
||||
NG_IGNORE(value);
|
||||
switch(which) {
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ DCTsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
|||
{
|
||||
TRCV* cv= (TRCV*)anal;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ DISTOan(CKTcircuit *ckt, int restart)
|
|||
double time,time1;
|
||||
#endif
|
||||
|
||||
IGNORE(restart);
|
||||
NG_IGNORE(restart);
|
||||
|
||||
|
||||
/* start at beginning */
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ DkerProc(int type, double *rPtr, double *iPtr, int size, DISTOAN *job)
|
|||
{
|
||||
int i;
|
||||
|
||||
IGNORE(job);
|
||||
NG_IGNORE(job);
|
||||
|
||||
switch(type) {
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Author: 1988 Jaijeet S Roychowdhury
|
|||
int
|
||||
DsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Author: 1987 Gary W. Ng
|
|||
int
|
||||
NaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Author: 1987 Gary W. Ng
|
|||
int
|
||||
NsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ PZan(CKTcircuit *ckt, int reset)
|
|||
IFuid *nameList;
|
||||
void *plot = NULL;
|
||||
|
||||
IGNORE(reset);
|
||||
NG_IGNORE(reset);
|
||||
|
||||
error = PZinit(ckt);
|
||||
if (error != OK) return error;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
PZsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ SENSask(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
|||
{
|
||||
SENS_AN *sinfo = (SENS_AN *) anal;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch (which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ SENSsetParam(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
|||
{
|
||||
SENS_AN *sinfo = (SENS_AN *) anal;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ TFanal(CKTcircuit *ckt, int restart)
|
|||
#define inuid (uids[1]) /* unique id for the transfer function input imp. */
|
||||
#define outuid (uids[2]) /* unique id for the transfer function out. imp. */
|
||||
|
||||
IGNORE(restart);
|
||||
NG_IGNORE(restart);
|
||||
|
||||
/* first, find the operating point */
|
||||
converged = CKTop(ckt,
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
TFaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(value);
|
||||
IGNORE(anal);
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(value);
|
||||
NG_IGNORE(anal);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
TFsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
TRANaskQuest(CKTcircuit *ckt, JOB *anal, int which,IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Author: 1985 Thomas L. Quarles
|
|||
int
|
||||
TRANsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
{
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch(which) {
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ ASRCacLoad(GENmodel *inModel, CKTcircuit *ckt)
|
|||
double *derivs;
|
||||
double rhs;
|
||||
|
||||
IGNORE(ckt);
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
/* loop through all the Arbitrary source models */
|
||||
for( ; model != NULL; model = model->ASRCnextModel ) {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ ASRCask(CKTcircuit *ckt, GENinstance *instPtr, int which, IFvalue *value, IFvalu
|
|||
{
|
||||
ASRCinstance *here = (ASRCinstance*)instPtr;
|
||||
|
||||
IGNORE(select);
|
||||
NG_IGNORE(select);
|
||||
|
||||
switch(which) {
|
||||
case ASRC_CURRENT:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ ASRCparam(int param, IFvalue *value, GENinstance *fast, IFvalue *select)
|
|||
{
|
||||
ASRCinstance *here = (ASRCinstance*)fast;
|
||||
|
||||
IGNORE(select);
|
||||
NG_IGNORE(select);
|
||||
|
||||
switch(param) {
|
||||
case ASRC_VOLTAGE:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ ASRCpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
|||
double value;
|
||||
int i, j;
|
||||
|
||||
IGNORE(s);
|
||||
NG_IGNORE(s);
|
||||
|
||||
/* loop through all the Arbitrary source models */
|
||||
for( ; model != NULL; model = model->ASRCnextModel ) {
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue