Browse Source

VDMOS change name of some matrix entries to make life easier

pre-master-46
dwarning 6 years ago
committed by Holger Vogt
parent
commit
3f4b24be89
  1. 4
      src/spicelib/devices/vdmos/vdmosdefs.h
  2. 4
      src/spicelib/devices/vdmos/vdmosload.c
  3. 4
      src/spicelib/devices/vdmos/vdmosset.c

4
src/spicelib/devices/vdmos/vdmosdefs.h

@ -230,9 +230,9 @@ typedef struct sVDMOSinstance {
double *VDMOSSPtempPtr;
double *VDIOTempposPrimePtr; /* Diode thermal contribution */
double *VDIOTempnegPtr;
double *VDMOSTempdPtr;
double *VDIOPosPrimetempPtr;
double *VDIONegtempPtr;
double *VDMOSDtempPtr;
double *VDMOSTcasetcasePtr; /* for Rthjc */
double *VDMOSTcasetempPtr;

4
src/spicelib/devices/vdmos/vdmosload.c

@ -893,10 +893,10 @@ load:
*(here->VDIORPdPtr) -= gd;
if (selfheat) {
(*(here->VDIOTempposPrimePtr) += -dIth_dVdio);
(*(here->VDIOTempnegPtr) += dIth_dVdio);
(*(here->VDMOSTempdPtr) += dIth_dVdio);
(*(here->VDMOSTemptempPtr) += -dIth_dT);
(*(here->VDIOPosPrimetempPtr) += dIdio_dT);
(*(here->VDIONegtempPtr) += -dIdio_dT);
(*(here->VDMOSDtempPtr) += -dIdio_dT);
}
}
}

4
src/spicelib/devices/vdmos/vdmosset.c

@ -378,9 +378,9 @@ do { if((here->ptr = SMPmakeElt(matrix, here->first, here->second)) == NULL){\
TSTALLOC(VDMOSSPtempPtr, VDMOSsNodePrime, VDMOStempNode);
TSTALLOC(VDIOTempposPrimePtr, VDMOStempNode, VDIOposPrimeNode);/* Diode thermal contribution */
TSTALLOC(VDIOTempnegPtr, VDMOStempNode, VDMOSdNode);
TSTALLOC(VDMOSTempdPtr, VDMOStempNode, VDMOSdNode);
TSTALLOC(VDIOPosPrimetempPtr, VDIOposPrimeNode, VDMOStempNode);
TSTALLOC(VDIONegtempPtr, VDMOSdNode, VDMOStempNode);
TSTALLOC(VDMOSDtempPtr, VDMOSdNode, VDMOStempNode);
TSTALLOC(VDMOSTcasetcasePtr, VDMOStcaseNode, VDMOStcaseNode); /* Rthjc between tj and tcase*/
TSTALLOC(VDMOSTcasetempPtr, VDMOStcaseNode, VDMOStempNode);

Loading…
Cancel
Save