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.
23 lines
498 B
23 lines
498 B
/**********
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
Author: 1985 Thomas L. Quarles
|
|
**********/
|
|
|
|
#include "ngspice/ngspice.h"
|
|
#include "vsrcdefs.h"
|
|
#include "ngspice/sperror.h"
|
|
#include "ngspice/suffix.h"
|
|
#include "ngspice/1-f-code.h"
|
|
|
|
|
|
int
|
|
VSRCdelete(GENinstance *gen_inst)
|
|
{
|
|
VSRCinstance *inst = (VSRCinstance *) gen_inst;
|
|
|
|
FREE(inst->VSRCcoeffs);
|
|
trnoise_state_free(inst->VSRCtrnoise_state);
|
|
FREE(inst->VSRCtrrandom_state);
|
|
|
|
return OK;
|
|
}
|