Commit Graph

81 Commits

Author SHA1 Message Date
Francesco Lannutti 43f24d6f22 rewrite cktsens.c in terms of the 'SMP' matrix interface 2017-03-17 18:22:36 +01:00
rlar fb4f462388 SMPnewMatrix(), add 'size' to the function arguments 2017-03-17 18:12:48 +01:00
rlar 994bec7859 declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
2016-07-17 11:19:34 +02:00
rlar b36385e333 improve `SWAP' macro 2016-03-22 13:03:59 +01:00
rlar 6342bec8ec everywhere, drop `MALLOC()' and `REALLOC()' 2016-03-21 21:22:15 +01:00
rlar 8e65614d31 spfactor.c, cktnames.c, don't crash when simulating "nothing"
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"

This comes in two flavours,
   1) an empty circuit
   2) a xspice circuit with exclusively xspice event nodes
2015-02-08 22:07:14 +01:00
rlar c5e0bcde04 cleanup using `hypot()' 2014-12-06 20:41:11 +01:00
dwarning 461026f2b9 fix to use garbage collector with --enable-gc 2014-02-07 13:19:35 +01:00
rlar f12306542c avoid a `constant expression' compiler warning 2013-12-31 16:23:57 +01:00
rlar 40414ead49 cleanup stuttered semicolon 2013-12-31 16:11:34 +01:00
rlar 93052df7d0 sparse/*.c, whitespace 2013-12-31 16:07:50 +01:00
rlar 075b30d686 sparse/*.c, rename `eMatrix' --> `Matrix' (comments) 2013-12-31 16:07:48 +01:00
rlar 7ed0b5cef6 sparse/*.c, rename `eMatrix' --> `Matrix' (prototypes) 2013-12-31 16:07:47 +01:00
rlar f30796a7e6 sparse/*.c, rename `eMatrix' --> `Matrix' 2013-12-31 16:07:46 +01:00
rlar 9c48863912 sparse/*.c, simplify, drop the local copy `Matrix' 2013-12-31 16:07:44 +01:00
rlar b02d34280c sparse/*.c, unify, use local copy `Matrix' instead of `eMatrix' 2013-12-31 16:07:43 +01:00
rlar ec8a3b79a2 sparse/*.c, drop unnecessary (spREAL) cast 2013-12-31 16:07:42 +01:00
rlar f10d9f75c1 sparse/*.c, drop unnecessary (double) cast 2013-12-31 16:07:41 +01:00
rlar a5d131d8a5 sparse/*.c, drop unnecessary (int *) cast 2013-12-31 16:07:39 +01:00
rlar 2517756eff sparse/*.c, drop unnecessary (MatrixPtr) cast 2013-12-31 16:07:38 +01:00
rlar 5c903a6f5c sparse/*.c, avoid (RealNumber *) casts by proper use of ElementPr 2013-12-31 16:07:37 +01:00
rlar 6d858200b6 sparse/*.c, drop unnecessary (void *) cast 2013-12-31 16:07:35 +01:00
rlar 35f1c18c61 sparse/*.c, drop unused artifacts 2013-12-31 16:07:34 +01:00
rlar 0440f0584e fix an incorrect typedef and cast
which was of no consequence,
  because nobody made use of it.

ancient, already in the very first commit of ngspice
  Date:   Thu Apr 27 20:03:57 2000 +0000
2013-12-31 16:07:31 +01:00
h_vogt d7e291c53a HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar 6c8f002eea unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rlar 1ee88a5694 prepare for #ifndef include wrapper unification 2013-12-31 12:54:31 +01:00
rlar c377b7a6b3 avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
Francesco Lannutti 08ec219417 remove all .cvsignore files 2012-10-26 18:30:14 +02:00
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
2012-10-22 23:06:25 +02:00
rlar cb0a48801d introduce AM_CFLAGS = $(STATIC) 2012-07-07 14:51:39 +02:00
h_vogt a0b64a8624 spfactor.c, indentations 2012-07-07 10:04:21 +02:00
h_vogt 8f3f757813 command mrdump 2012-02-19 11:11:31 +00:00
h_vogt dffe4ed156 command mdump 2012-02-19 10:23:56 +00:00
rlar afa1371746 #3/6 config.h --> ngspice/config.h, AM_CPPFLAGS 2011-12-27 12:05:51 +00:00
rlar 4ca58067a2 #2/6 config.h --> ngspice/config.h, #include's 2011-12-27 11:33:01 +00:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
rlar 0892d04c8a explicit `int' casts for some ptrdiff_t expressions, where an `int' seems to be big enough 2011-07-09 19:45:22 +00:00
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
rlar 23056573d8 code cleanup, drop NULL pointer casts 2011-04-28 15:59:36 +00:00
rlar 0b6a557334 code cleanup 2011-04-27 18:30:15 +00:00
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +00:00
dwarning 3ab9e6d060 cvs ignore .libs 2010-12-12 09:42:47 +00:00
dwarning b964cf949c cvs ignore *.lo and *.la 2010-12-12 09:34:10 +00:00
rlar e6c30efe46 Nr 4/5 (x = ...) != NULL , swallow warnings 2010-11-19 18:52:44 +00:00
rlar abb87a6115 rename `IGNORE()' --> `NG_IGNORE()' 2010-11-16 20:38:24 +00:00
rlar 80286e0032 pour `IGNORE()' all over the source 2010-11-16 19:11:32 +00:00
rlar c3f20f8321 cleanup TMALLOC etc macros 2010-10-31 19:36:57 +00:00