|
From: Stefan J. <ste...@mu...> - 2003-07-14 08:18:14
|
Paolo, I would agree with removing one of them, as they are intended to do the same thing. The xspice rshunt option is used every time the circuit matrix is loaded in CKTload() and just increases all diagonal elements by the value given. The ngspice gshunt option seems to be more intelligent. It comes into play with Gmin, and when a DC initial solution fails. It just slowly increases the diagonal elements until the simulation converges. I guess xspice's rshunt must go, will zap it today. Thanks for spotting it, I merged the xspice code about a year ago when I didn't know much about spice so I obviously missed it. Stefan On Fri, 2003-07-11 at 20:46, Paolo Nenzi wrote: > Hi all, > > In the process of merging of ngspice and tclspice I have discovered two > options that do the same thing, insert a conductance between a node and > ground to improve convergence: > > rshunt and gshunt > > I think that one woulb be sufficient. > > Any comment ? > -- Stefan Jones <ste...@mu...> Multigig Ltd |