You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
629 B
26 lines
629 B
/**********
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
Author: 1985 Thomas L. Quarles
|
|
**********/
|
|
|
|
#include "ngspice.h"
|
|
#include <stdio.h>
|
|
#include "tskdefs.h"
|
|
#include "jobdefs.h"
|
|
#include "cktdefs.h"
|
|
#include "ifsim.h"
|
|
#include "iferrmsg.h"
|
|
|
|
#include "analysis.h"
|
|
|
|
extern SPICEanalysis *analInfo[];
|
|
|
|
/* ARGSUSED */
|
|
int
|
|
CKTaskAnalQ(void *ckt, void *analPtr, int parm, IFvalue *value, IFvalue *selector)
|
|
{
|
|
int type = ((JOB *)analPtr)->JOBtype;
|
|
|
|
if((analInfo[type]->askQuest) == NULL) return(E_BADPARM);
|
|
return( (*(analInfo[type]->askQuest))((CKTcircuit*)ckt,analPtr,parm,value));
|
|
}
|