<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/ngspice/patches/" rel="alternate"/><link href="https://sourceforge.net/p/ngspice/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/ngspice/patches/</id><updated>2026-04-22T12:46:42.733000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25&amp;page=1#2d1e/9eba" rel="alternate"/><published>2026-04-22T12:46:42.733000Z</published><updated>2026-04-22T12:46:42.733000Z</updated><author><name>Keith OHara</name><uri>https://sourceforge.net/u/kohara/</uri></author><id>https://sourceforge.netdbbf1f7fd4acebbf90b9e8799a072817e56adce7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is, as are others of the BSIM* devices.   It seems it was too confusing for me the first time I generated a list of non-NULL DEVconvTest pointers, but it is straightforward now, so this evening I can finish completing the patch, recheck, and repost.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25&amp;page=1#2d1e" rel="alternate"/><published>2026-04-22T12:27:09.555000Z</published><updated>2026-04-22T12:27:09.555000Z</updated><author><name>Holger Vogt</name><uri>https://sourceforge.net/u/h_vogt/</uri></author><id>https://sourceforge.net1b820f920d74e03707c43d5ed4c9d4caf4972a97</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If we look at b4cvtest.c, lines 56 ff. , is this the same issue?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25&amp;page=1#b711" rel="alternate"/><published>2026-04-22T10:22:01.604000Z</published><updated>2026-04-22T10:22:01.604000Z</updated><author><name>Keith OHara</name><uri>https://sourceforge.net/u/kohara/</uri></author><id>https://sourceforge.netffea775efc745db3ba49ba8b143c0d734fd149d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Attaching a completion of the repairs started in the patch already applied to pre-master-47,&lt;br/&gt;
making the same fix in devices bjt, dio, hicum2, vbic, vdmos.   I see no similar errors on other devices ( mos6, etc.).  Clean &lt;code&gt;make check&lt;/code&gt; and in my sampling through the examples, everything seems to work to me.  &lt;/p&gt;
&lt;p&gt;The regression test in this patch now uses a 'dio' device instead of a user-written 'asrc' function representing a diode.  Improving performance on the simulation using this more rigorously physically-based model. is a hint that this repair might provide real benefit, as well as doing the test described in documentation §1.4.2.&lt;/p&gt;
&lt;p&gt;I do think it wise to apply this patch, to let people using pre-master find problems or benefits&lt;/p&gt;
&lt;p&gt;Not all device-types apply the current-convergence criterion in §1.4.2.  Switches for example, in  &lt;code&gt;swinit.c&lt;/code&gt; set their  DEVconvTest = NULL, as do many other devices (including the linear devices that don't need the §1.4.2 test).  This makes sense to me for the switches and similar with conceptually discontinuous I-V curves where the solution being sought can be at the discontinuity.&lt;/p&gt;
&lt;p&gt;Bug #824 showed a case where the initially desired behaviour was to ignore §1.4.2 convergence of a current representing an internal state.   I'm looking at that example, and how users could meet its goal with or without §1.4.2 being applied to 'asrc' B-devices.  Maybe the asrc devices belong with the switches, and should not have had their current-convergence test written (but not applies) in the first place.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#a50a" rel="alternate"/><published>2026-04-20T19:24:56.462000Z</published><updated>2026-04-20T19:24:56.462000Z</updated><author><name>Giles Atkinson</name><uri>https://sourceforge.net/u/gatk555/</uri></author><id>https://sourceforge.net865dd195f7b82ab2b6b63f560ce7811b13583971</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks! G.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#f41e" rel="alternate"/><published>2026-04-20T18:14:41.594000Z</published><updated>2026-04-20T18:14:41.594000Z</updated><author><name>Keith OHara</name><uri>https://sourceforge.net/u/kohara/</uri></author><id>https://sourceforge.net43e070360281bd053da9b4d287183a16b1e2064d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;2 files, attached, go in   tests/regression/misc&lt;br/&gt;
They are in the patch up-thread, so it might be easier reapply and  'git add' the two new files.&lt;/p&gt;
&lt;p&gt;I did follow up on my comment "there is a similar error in the tests for other nonlinear devices" from the top post, and in the end found only one or two copies of this error.  I'll try within one day to find and recheck that completion of this patch, and then post it here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#2181" rel="alternate"/><published>2026-04-20T17:47:26.802000Z</published><updated>2026-04-20T17:47:26.802000Z</updated><author><name>Giles Atkinson</name><uri>https://sourceforge.net/u/gatk555/</uri></author><id>https://sourceforge.net7c567e69533e6f3492b08a4198e177d59e827a7e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The patch was missing a file, convergence.cir.  Keith OHara, please post the file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#126 OSDI array parameters lead to segmentation fault</title><link href="https://sourceforge.net/p/ngspice/patches/126/?limit=25#8e4b" rel="alternate"/><published>2026-04-14T16:34:13.065000Z</published><updated>2026-04-14T16:34:13.065000Z</updated><author><name>Holger Vogt</name><uri>https://sourceforge.net/u/h_vogt/</uri></author><id>https://sourceforge.net49ed19945b5258078f0f6b4d56e291f2f96f3457</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#8fa3" rel="alternate"/><published>2026-04-09T20:27:44.526000Z</published><updated>2026-04-09T20:27:44.526000Z</updated><author><name>Robert Turnbull</name><uri>https://sourceforge.net/u/circlotron/</uri></author><id>https://sourceforge.net88f9754f9e9fcc0e1a7d702da465cb54811d6dcb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch has eliminated the false convergence Giles noted on bug #824. My test circuit now fails to converge with or without the added 0V source. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#4f98" rel="alternate"/><published>2026-04-06T15:36:11.491000Z</published><updated>2026-04-06T15:36:11.491000Z</updated><author><name>Francesco Lannutti</name><uri>https://sourceforge.net/u/nicolati/</uri></author><id>https://sourceforge.net4fa29ff748323b26ccc9a9919851d14105853f28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Holger,&lt;br/&gt;
I think it's that one, but it's a 10years old work, so I don't remember exactly! :)&lt;br/&gt;
It's part of my PhD, attached, along with LnL Separation (I think there is a branch for this too).&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br/&gt;
Fra&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#121 Continue Newton iteration until currents settle</title><link href="https://sourceforge.net/p/ngspice/patches/121/?limit=25#b0eb" rel="alternate"/><published>2026-04-06T15:23:57.885000Z</published><updated>2026-04-06T15:23:57.885000Z</updated><author><name>Francesco Lannutti</name><uri>https://sourceforge.net/u/nicolati/</uri></author><id>https://sourceforge.net74d4a366c79e58a07ceebf0f85d96052a2b98c49</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Holger,&lt;br/&gt;
no, no, because it was experimental for some models. It needs code model modification, like KLU...&lt;br/&gt;
But we could brainstorm offline among all of us.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br/&gt;
Fra&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>