adms/admst/ngspiceMODULE*.c.xml, drop "register" declaration
This commit is contained in:
parent
57f9804db6
commit
ec4b7ffecd
|
|
@ -49,8 +49,8 @@
|
||||||
|
|
||||||
int $(module)acLoad(GENmodel *inModel, CKTcircuit *ckt)
|
int $(module)acLoad(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||||
{
|
{
|
||||||
/* loop through all the instances of the model */
|
/* loop through all the instances of the model */
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,8 @@
|
||||||
int $(module)delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
int $(module)delete(GENmodel *inModel, IFuid name, GENinstance **inInst)
|
||||||
|
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance **fast =($(module)instance**)inInst;
|
$(module)instance **fast =($(module)instance**)inInst;
|
||||||
|
|
||||||
$(module)instance **prev = NULL;
|
$(module)instance **prev = NULL;
|
||||||
$(module)instance *here;
|
$(module)instance *here;
|
||||||
|
|
|
||||||
|
|
@ -187,8 +187,8 @@ int $(module)load(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
* sparse matrix previously provided
|
* sparse matrix previously provided
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
int ChargeComputationNeeded =
|
int ChargeComputationNeeded =
|
||||||
((ckt->CKTmode & (MODEAC | MODETRAN | MODEINITSMSIG)) ||
|
((ckt->CKTmode & (MODEAC | MODETRAN | MODEINITSMSIG)) ||
|
||||||
((ckt->CKTmode & MODETRANOP) && (ckt->CKTmode & MODEUIC)))
|
((ckt->CKTmode & MODETRANOP) && (ckt->CKTmode & MODEUIC)))
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,8 @@
|
||||||
int $(module)mDelete(GENmodel **inModel, IFuid modname, GENmodel *kill)
|
int $(module)mDelete(GENmodel **inModel, IFuid modname, GENmodel *kill)
|
||||||
|
|
||||||
{
|
{
|
||||||
register $(module)model **model = ($(module)model**)inModel;
|
$(module)model **model = ($(module)model**)inModel;
|
||||||
register $(module)model *modfast =($(module)model*)kill;
|
$(module)model *modfast =($(module)model*)kill;
|
||||||
$(module)instance *here;
|
$(module)instance *here;
|
||||||
$(module)instance *prev = NULL;
|
$(module)instance *prev = NULL;
|
||||||
$(module)model **oldmod;
|
$(module)model **oldmod;
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,8 @@
|
||||||
|
|
||||||
int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
int $(module)pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
NG_IGNOREABLE(ckt);
|
NG_IGNOREABLE(ckt);
|
||||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,8 @@ int $(module)setup (SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *
|
||||||
* for fast matrix loading
|
* for fast matrix loading
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
|
|
||||||
/* loop through all the $(module) device models */
|
/* loop through all the $(module) device models */
|
||||||
for ( ;model != NULL ;model = model->$(module)nextModel )
|
for ( ;model != NULL ;model = model->$(module)nextModel )
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,8 @@
|
||||||
|
|
||||||
int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
int $(module)temp(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
NG_IGNOREABLE(ckt);
|
NG_IGNOREABLE(ckt);
|
||||||
for ( ; model != NULL; model = model->$(module)nextModel )
|
for ( ; model != NULL; model = model->$(module)nextModel )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,8 @@
|
||||||
|
|
||||||
int $(module)trunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
|
int $(module)trunc(GENmodel *inModel, CKTcircuit *ckt, double *timeStep)
|
||||||
{
|
{
|
||||||
register $(module)model *model = ($(module)model*)inModel;
|
$(module)model *model = ($(module)model*)inModel;
|
||||||
register $(module)instance *here;
|
$(module)instance *here;
|
||||||
|
|
||||||
#ifdef STEPDEBUG
|
#ifdef STEPDEBUG
|
||||||
double debugtemp;
|
double debugtemp;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue