unify, add missing GENstate struct member

for all instance structs, even when actually unused.
This commit is contained in:
rlar 2018-01-09 10:01:04 +01:00
parent 39800df3fb
commit 566520cef5
3 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ struct MIFinstance {
struct MIFmodel *MIFmodPtr; /* backpointer to model */
struct MIFinstance *MIFnextInstance; /* pointer to next instance of current model */
IFuid MIFname; /* pointer to character string naming this instance */
int MIFstates; /* state info, unused */
int num_conn; /* number of connections on the code model */
Mif_Conn_Data_t **conn; /* array of data structures for each connection */

View File

@ -125,6 +125,7 @@ struct sMUTinstance {
MUTinstance *MUTnextInstance; /* pointer to next instance of
* current model */
IFuid MUTname; /* pointer to character string naming this instance */
int MUTstates; /* state info, unused */
double MUTcoupling; /* mutual inductance input by user */
double MUTfactor; /* mutual inductance scaled for internal use */
IFuid MUTindName1; /* name of coupled inductor 1 */

View File

@ -16,6 +16,7 @@ typedef struct sTXLinstance {
* current model*/
IFuid TXLname; /* pointer to character string naming this instance */
int TXLstates; /* state info, unused */
int dimensions; /* may we not need this but ... */
int TXLposNode;