correct init state vector for qth integration
This commit is contained in:
parent
7d4cf5487d
commit
766c8d15e2
|
|
@ -492,6 +492,10 @@ next1:
|
||||||
}
|
}
|
||||||
if (selfheat)
|
if (selfheat)
|
||||||
{
|
{
|
||||||
|
if (ckt->CKTmode & MODEINITTRAN) {
|
||||||
|
*(ckt->CKTstate1 + here->DIOqth) =
|
||||||
|
*(ckt->CKTstate0 + here->DIOqth);
|
||||||
|
}
|
||||||
error = NIintegrate(ckt, &gcTt, &ceqqth, model->DIOcth0, here->DIOqth);
|
error = NIintegrate(ckt, &gcTt, &ceqqth, model->DIOcth0, here->DIOqth);
|
||||||
if (error) return(error);
|
if (error) return(error);
|
||||||
if (ckt->CKTmode & MODEINITTRAN) {
|
if (ckt->CKTmode & MODEINITTRAN) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue