Francesco Lannutti
fe89da2b2c
Getting rid of SPARSE for Initial Circuit Matrix creation. Now KLU is totally independent from SPARSE. This opens up the interface for other solvers as well
SPARSE can still used through '.options sparse', but it isn't possible to switch from KLU to SPARSE and viceversa at run-time
6 years ago
Francesco Lannutti
2dcc83510b
KLU Integration from scratch #5 , devices
12 years ago
Brian Taylor
f39f89ea9b
Add DEVmodDelete functions to reduce memoory leaks in Cider models. The model memory was not freed during remcirc or quit. In the future, some of the code duplication could be refactored. The cmosinv.cir is now down to just 1 memory leak.
3 years ago
dwarning
26979079d4
prevent few compiler warnings
4 years ago
Brian Taylor
663a79dea8
Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes.
5 years ago
Holger Vogt
8eeb924460
CIDER: Enable printing either binary or ascii data output to file.
Patch provided by Brian Taylor, see
(https://sourceforge.net/p/ngspice/mailman/message/37309841/ )
5 years ago
Holger Vogt
b7012065ae
remove compiler warning by setting variables to 0
6 years ago
dwarning
ddd3a11bff
variables are assigned values twice successively
8 years ago
rlar
d981fb331b
spicelib/devices/*, drop empty destroy functions
8 years ago
rlar
cd1bbf2003
rewrite, use designated initializer for SPICEdev initialisation
8 years ago
rlar
2c9bfecbad
GENmodel, GENinstance, change layout, #3/4, coccinelle semantic patch
8 years ago
rlar
2dcb79d09c
GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch
8 years ago
rlar
1befa488f6
DEVdestroy(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
b29ad51a6c
DEVdestroy(), move code over to DEVmodDelete() and DEVdelete()
This patch itself is not valid until all invokers of DEVdestroy()
(currently this is CKTdestroy() exclusively)
are rewritten to invoke DEVmodDelete() and DEVdelete()
8 years ago
rlar
b17ee71576
DEVmodDelete(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
e0f1e5a3de
DEVdelete(), change API, #1/2, coccinelle semantic patch
8 years ago
rlar
a8e440eabe
whitespace cleanup, comments cleanup, line wrap
8 years ago
rlar
a7cc37b2e2
ifparm, fix numdev too
9 years ago
rlar
00c743c37d
src/spicelib/devices/*/*def*.h, declare external node variables const
for almost all other external nodes (notable exception "txl")
src/spicelib/devices/*/*def*.h, declare external node variables const
1) The compiler shall emit an error message if we still mess around
with external node numbers.
2) To mark which elements of the instance struct are meant to be set
externally when parsing the netlist
These "external" node variables are exclusively set via the
overlay struct GENinstance, member GENnode[]
We shall not mess around with these "external" node variables
because it would get rather difficult to avoid bugs considering
re-invocation of the XXXsetup() routine.
This gets interesting for devices with optional ports,
which get copied around depending on the amount of connected ports.
9 years ago
rlar
4d79617cf1
spicelib/devcies/*dest.c, rewrite DEVdestroy() functions
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
Henrik Forsten
3794c1eb20
mark end of struct GENmodel overlay
13 years ago
dwarning
bf9ad0bdfd
introduce new SPICEdev operation `DEVsoaCheck()'
13 years ago
rlar
ccb600f3c1
drop `NIL' macro
13 years ago
rlar
14687910d9
rewrite `TSTALLOC()' macro for auto indentation
checked for object code invariance
13 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
Francesco Lannutti
5f34eb2729
white space changes
14 years ago
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
rlar
14f884729c
raw_write() always fopen("wb"), even on windows use "\n" line termination
14 years ago
rlar
c7ddee5923
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
14 years ago
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
15 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
ad8ad56955
Nr 3/5 (x = ...) != 0 , swallow warnings
16 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
d0dba768f8
change the type of a bunch of variables from `int' to `size_t'
16 years ago
rlar
f7bd3f56c8
change some model parameters from IF_REAL to IF_INTEGER
16 years ago
rlar
2540531c38
remove local prototypes, which are allready included
16 years ago
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
16 years ago
rlar
463ef4a3b1
convert K&R function definitions to ansi style
16 years ago
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
16 years ago
saintel
6fe0cebe58
*** empty log message ***
18 years ago