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.
33 lines
726 B
33 lines
726 B
/**********
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
Author: 1987 Thomas L. Quarles
|
|
**********/
|
|
/*
|
|
*/
|
|
|
|
#include "ngspice.h"
|
|
#include "ifsim.h"
|
|
#include "urcdefs.h"
|
|
#include "sperror.h"
|
|
#include "suffix.h"
|
|
|
|
|
|
/* ARGSUSED */
|
|
int
|
|
URCparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
|
|
{
|
|
URCinstance *here = (URCinstance *)inst;
|
|
switch(param) {
|
|
case URC_LEN:
|
|
here->URClength = value->rValue;
|
|
here->URClenGiven = TRUE;
|
|
break;
|
|
case URC_LUMPS:
|
|
here->URClumps = value->rValue;
|
|
here->URClumpsGiven = TRUE;
|
|
break;
|
|
default:
|
|
return(E_BADPARM);
|
|
}
|
|
return(OK);
|
|
}
|