~kicad/+git/ngspice-mirror-sourceforge:fixme-sw

Last commit made on 2018-02-25
Get this branch:
git clone -b fixme-sw https://git.launchpad.net/~kicad/+git/ngspice-mirror-sourceforge
Members of KiCad can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
fixme-sw
Repository:
lp:~kicad/+git/ngspice-mirror-sourceforge

Recent commits

1e602ed... by rlar <rlar>

fix truncation to work successfully with trunc-1.cir testcase

testcase trunc-1.cir
  working now pretty much perfectly

testcase davis-130420.cir
  works very precise as well
  number of timesteps going up from 374 to 1296
  voltage error 20mV going down to 2 uV

currently
  ckt->CKTdelmin = 1e-11*ckt->CKTmaxStep;
is hardwired in traninit.c
  might make sense making it possible to steer that

d870c02... by rlar <rlar>

use an enum, fixing commit

commit 0dae4607a01e2bbf93a925f5c37385ad9ce232f2
Author: pnenzi <pnenzi>
Date: Wed Apr 25 18:28:20 2001 +0000

    Added a patch to csw and sw from Jon Engelbert dealing with negative histeresys

this commit changed state from ranging over {0,1} to ranging over {0,1,2,3}
but did not fix queries to "state" accordingly

add some fixme,
express some "no return" function calls (internal error)
  to make sure the compiler understand whether vars are initialized or not.

454f2bf... by rlar <rlar>

trunc-1.cir, testcase, negative, no truncation at all ?

bde6f2f... by rlar <rlar>

davis-130420.cir, avoid > 0 comparison being treated as file redirection

95d8ec1... by rlar <rlar>

unify state access, same procedure as other devices

access CKTstates[] via CKTstate0 CKTstate1 macros
access devoce "slots" via descriptive macros

do it just the same as done in other device models

669050d... by rlar <rlar>

davis-130420.cir, fix, vecmax(1,0) is vecmax(complex(1+0*j)), not funny

3886f60... by rlar <rlar>

polishing of the testcase, show the timestep truncation in action

8a04e8b... by rlar <rlar>

davis testcircuit from bug #240, modified

ea29125... by alan <alan>

alans proposal #1 for swtrunc.c, trying to avoid timestep too small

4da7e9a... by rlar <rlar>

again