Found one additional issue in the extraction that causes incorrect

partitioning of unshielded areas reaching outward from any given
edge, caused by using a boundary value in the 2nd recursion call
that had been modified for the 1st recursion call and so was no
longer valid.
This commit is contained in:
Tim Edwards
2023-03-24 17:11:27 -04:00
parent 30184cb506
commit 8fb96db14c
2 changed files with 6 additions and 9 deletions
+2
View File
@@ -706,6 +706,8 @@ extOutputNodes(nodeList, outFile)
{
intR = (reg->nreg_resist + rround) / ExtCurStyle->exts_resistScale;
finC = reg->nreg_cap/ExtCurStyle->exts_capScale;
/* Avoid negative capacitance caused by round-off near zero */
if (finC < 0.0) finC = 0.0;
fprintf(outFile, "node \"%s\" %d %lg", text, intR, finC);
}