p1->v = el->v;
p1->jv = el->jv;
- double v;
- double jv;
-
- double pr;
- double jpr;
- double sr;
- double jsr;
-
for (i = 1; i < path->pins->size - 1; i++) {
pc = path->pins->data[i];
p = path->pins->data[i - 1];
+ double v;
+ double jv;
+
+ double pr;
+ double jpr;
+
pr = p->pr - p0->pr;
jpr = p->jpr - p0->jpr;
- sr = p->sr - p0->sr;
- jsr = p->jsr - p0->jsr;
-
ses_ir_u(&v, &jv, pc->a, pc->ja, pr, jpr);
pc->v = p0->v - v;
__ses_path_dr_transistor(f, path, i, path->pins->size - 1);
- scf_loge("i: %d, c%ldp%ld--c%ldp%ld, v: %lg, pc->v: %lg, pc->a: %lg, pr: %lg, sr: %lg, pc->dr: %lg\n",
- i, p0->cid, p0->id, pc->cid, pc->id, v, pc->v, pc->a, pr, sr, pc->dr);
+ scf_loge("i: %d, c%ldp%ld--c%ldp%ld, v: %lg, pc->v: %lg, pc->a: %lg, pr: %lg, pc->dr: %lg\n",
+ i, p0->cid, p0->id, pc->cid, pc->id, v, pc->v, pc->a, pr, pc->dr);
}
return 0;