Found one more error that was causing issues with the hierarchical
capacitance adjustments, and may have caused issues with basic hierarchical extraction as well (although I have not checked or proven the latter).
This commit is contained in:
parent
bcf35db713
commit
1d570a5b67
|
|
@ -4018,10 +4018,13 @@ extNodeAreaFunc(tile, arg)
|
|||
TITORECT(tile, &r);
|
||||
|
||||
/* Check if the tile is outside the clip area */
|
||||
if (!GEO_OVERLAP(&r, extNodeClipArea)) continue;
|
||||
|
||||
GEOCLIP(&r, extNodeClipArea);
|
||||
area = (dlong)(r.r_xtop - r.r_xbot) * (dlong)(r.r_ytop - r.r_ybot);
|
||||
if (GEO_OVERLAP(&r, extNodeClipArea))
|
||||
{
|
||||
GEOCLIP(&r, extNodeClipArea);
|
||||
area = (dlong)(r.r_xtop - r.r_xbot) * (dlong)(r.r_ytop - r.r_ybot);
|
||||
}
|
||||
else
|
||||
area = (dlong)0;
|
||||
}
|
||||
else area = (dlong)(TOP(tile) - BOTTOM(tile)) * (dlong)(RIGHT(tile) - LEFT(tile));
|
||||
|
||||
|
|
|
|||
|
|
@ -772,7 +772,7 @@ extHierAdjustments(ha, cumFlat, oneFlat, lookFlat)
|
|||
&& (he = HashLookOnly(&ha->ha_connHash, name))
|
||||
&& (nn = (NodeName *) HashGetValue(he)))
|
||||
{
|
||||
/* Adjust the capacitance and resistance */
|
||||
/* Adjust the capacitance and resistance on the node */
|
||||
nn->nn_node->node_cap -= np->nreg_cap;
|
||||
for (n = 0; n < ExtCurStyle->exts_numResistClasses; n++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue