new_kirchhoff-2 branch rebased on master in new_kirchhoff-3 branch

This commit is contained in:
Francesco Lannutti 2013-05-27 08:43:04 +02:00
parent 988cf25c24
commit e1cd74d3a3
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ RESload(GENmodel *inModel, CKTcircuit *ckt)
here->REScurrent = (*(ckt->CKTrhsOld+here->RESposNode) -
*(ckt->CKTrhsOld+here->RESnegNode)) * here->RESconduct;
m = (here->RESm);
*(here->RESposPosptr) += m * here->RESconduct;
*(here->RESnegNegptr) += m * here->RESconduct;
*(here->RESposNegptr) -= m * here->RESconduct;