28 lines
616 B
C
28 lines
616 B
C
/**********
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
Author: 1985 Thomas L. Quarles
|
|
**********/
|
|
|
|
#include "ngspice.h"
|
|
#include "tskdefs.h"
|
|
#include "jobdefs.h"
|
|
#include "ifsim.h"
|
|
#include "iferrmsg.h"
|
|
#include "cktdefs.h"
|
|
|
|
#include "analysis.h"
|
|
|
|
extern SPICEanalysis *analInfo[];
|
|
|
|
/* ARGSUSED */
|
|
int
|
|
CKTsetAnalPm(CKTcircuit *ckt, JOB *analPtr, int parm, IFvalue *value, IFvalue *selector)
|
|
{
|
|
int type = analPtr->JOBtype;
|
|
|
|
NG_IGNORE(selector);
|
|
|
|
if((analInfo[type]->setParm)==NULL) return(E_BADPARM);
|
|
return( analInfo[type]->setParm (ckt, analPtr, parm, value) );
|
|
}
|