Holger Vogt
3bb643c8f5
re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
6 years ago
Francesco Lannutti
0b7dc09fc1
Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU
6 years ago
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
11fb209ee6
First KLU support of CIDER ONED simulations
6 years ago
Holger Vogt
d74e43f0f0
Move extern declaration to the top, out of any function.
Thus remove VC2022 compiler warnings.
3 years ago
Brian Taylor
51b361bbf0
When Cider models are present, a normal batch mode sp_shutdown (for example, ngspice -b cmosinv.cir) will call com_quit(NULL). This cleans up so that valgrind will find no leaks in Cider devices after sp_shutdown. To disable this feature, set the environment variable CIDER_COM_QUIT="OFF". Even though it really does not matter that Cider memory is cleared just before exit, it makes it cleaner for valgrind checks.
3 years ago
Brian Taylor
db8ac72199
The CONTACT statement does not apply to 1D devices.
3 years ago
Brian Taylor
844ea11a63
Fix some more memory leaks in the CIDER 1D and 2D destroy functions.
3 years ago
Brian Taylor
80e44a32d6
Add missing FREE to reduce some of the Cider memory leaks.
3 years ago
Holger Vogt
ffc09208bf
send error message to stderr, not to stdout
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
3ad93a50e8
Add EXITPOINTs, if reading inputs etc. fails
6 years ago
rlar
84761c125f
fix erfc() usage in cider
cider relied on our broken ngspice variant of erfc() which behaved as
erfc_ngspice(x) = erfc(fabs(x))
Note:
apart from cider, erfc is used in
devices/ltra/ltramisc.c
always with positive argument
and
src/frontend/spec.c
again always with positive argument
Thus, the difference in implementation
never mathered anywhere except in cider
9 years ago
h_vogt
d84387d449
CIDER, use controlled_exit(1) instead of exit(1)
10 years ago
rlar
9dcf62e1cd
drop home grown mathematical constants
10 years ago
rlar
053a56e267
src/ciderlib/oned/onesetup.c, bug fix, access beyond array bounds
10 years ago
rlar
ccb600f3c1
drop `NIL' macro
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
rlar
c377b7a6b3
avoid leading underscore in preprocessor macros
13 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
2c60f3892c
use #include <inttypes.h> to platform independent print 'size_t' variables
15 years ago
rlar
65dc17b693
oneadmit.c twoadmit.c, uninitialized variable warning
15 years ago
rlar
34b8ee4cca
tiny rewrite, swallow type conversion warnings
15 years ago
rlar
10615d5e73
tiny rewrite, (integer + integer)/2
15 years ago
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
d602e0b75c
attract gcc's attention to some printf format strings (for type checking)
16 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
16 years ago
rlar
d0b7dae2e8
remove local prototypes, which are already included
16 years ago
rlar
3d9a742802
remove some stuttered prototypes
16 years ago
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
16 years ago
rlar
9da90f5329
use the type SMPmatrix instead of char *
remove some redundant forward function declarations
remove some redundant nested function declarations
16 years ago
pnenzi
fa549df82a
TCLSPICE IMPORT + libtool + measure2 command
18 years ago
pnenzi
7f6ad5c706
Updated to new automake standard. Replaced all INCLUDES with AM_CPPFLAGS
18 years ago
gdiso
985fb6886d
bug fix
19 years ago
sjborley
427c3e3b3c
Removed unused variables to avoid compile warnings
21 years ago
sjborley
5c08bf1576
Fixed a structure initailisation problem in the VBIC device that occurs when cider is enabled. Also fixed lots of warning within ciderlib related to unused variables.
21 years ago
sjborley
268c67c5e5
Added .cvsignore files
21 years ago
pnenzi
9066452b23
Trimmed Makefiles.am for "make dist" and added tests placeholders.
22 years ago
pnenzi
3765922b23
Cider inclusion fix.
23 years ago
pnenzi
310905710b
Fixed cider code for inclusion into ngspice.
23 years ago
pnenzi
f5f8602d3a
Cider simulator (simulator routines) Import.
23 years ago