diff --git a/src/spicelib/devices/adms/admst/ngspiceMODULEinit.c.xml b/src/spicelib/devices/adms/admst/ngspiceMODULEinit.c.xml index 6b7588474..51ebfb811 100644 --- a/src/spicelib/devices/adms/admst/ngspiceMODULEinit.c.xml +++ b/src/spicelib/devices/adms/admst/ngspiceMODULEinit.c.xml @@ -3,7 +3,11 @@ + + + + + + + + + + + + + + + + + + + + + + + + +#include "ngspice.h" +#include "cktdefs.h" +#include "complex.h" +#include "$(module)defs.h" +#include "sperror.h" +#include "suffix.h" + +int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) +{ + register $(module)model *model = ($(module)model*)inModel; + register $(module)instance *here; + for ( ; model != NULL; model = model->$(module)nextModel ) + { + /* loop through all the instances of the model */ + for (here = model->$(module)instances; here != NULL ; here = here->$(module)nextInstance) + { + + + + + + + + + + + + + + + + + + + + + + + + + + + + } /* End of MOSFET Instance */ + } /* End of Model Instance */ + return(OK); +} + + + + + + + + + + + + + + + + + + diff --git a/src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml b/src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml index a0d56ec21..6ee29c6f1 100644 --- a/src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml +++ b/src/spicelib/devices/adms/admst/ngspiceMakefile.am.xml @@ -3,7 +3,11 @@