mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
devices/*, unify, add missing instance struct member 'GENstate'
to the generic part of all instance structs, even when actually unused. see GENstate in "gendefs.h"
This commit is contained in:
@@ -54,6 +54,7 @@ struct MIFinstance {
|
|||||||
struct MIFmodel *MIFmodPtr; /* backpointer to model */
|
struct MIFmodel *MIFmodPtr; /* backpointer to model */
|
||||||
struct MIFinstance *MIFnextInstance; /* pointer to next instance of current model */
|
struct MIFinstance *MIFnextInstance; /* pointer to next instance of current model */
|
||||||
IFuid MIFname; /* pointer to character string naming this instance */
|
IFuid MIFname; /* pointer to character string naming this instance */
|
||||||
|
int MIFstates; /* state info, unused */
|
||||||
|
|
||||||
int num_conn; /* number of connections on the code model */
|
int num_conn; /* number of connections on the code model */
|
||||||
Mif_Conn_Data_t **conn; /* array of data structures for each connection */
|
Mif_Conn_Data_t **conn; /* array of data structures for each connection */
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ struct sMUTinstance {
|
|||||||
MUTinstance *MUTnextInstance; /* pointer to next instance of
|
MUTinstance *MUTnextInstance; /* pointer to next instance of
|
||||||
* current model */
|
* current model */
|
||||||
IFuid MUTname; /* pointer to character string naming this instance */
|
IFuid MUTname; /* pointer to character string naming this instance */
|
||||||
|
int MUTstates; /* state info, unused */
|
||||||
double MUTcoupling; /* mutual inductance input by user */
|
double MUTcoupling; /* mutual inductance input by user */
|
||||||
double MUTfactor; /* mutual inductance scaled for internal use */
|
double MUTfactor; /* mutual inductance scaled for internal use */
|
||||||
IFuid MUTindName1; /* name of coupled inductor 1 */
|
IFuid MUTindName1; /* name of coupled inductor 1 */
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ typedef struct sTXLinstance {
|
|||||||
* current model*/
|
* current model*/
|
||||||
|
|
||||||
IFuid TXLname; /* pointer to character string naming this instance */
|
IFuid TXLname; /* pointer to character string naming this instance */
|
||||||
|
int TXLstates; /* state info, unused */
|
||||||
int dimensions; /* may we not need this but ... */
|
|
||||||
int TXLposNode;
|
int TXLposNode;
|
||||||
int TXLnegNode;
|
int TXLnegNode;
|
||||||
double TXLlength;
|
double TXLlength;
|
||||||
|
|||||||
Reference in New Issue
Block a user