Commit Graph

22 Commits

Author SHA1 Message Date
Francesco Lannutti f5aefd7db8 Merge remote branch 'origin/new_kirchhoff-4' into KLU-kirchhoff-4
Conflicts:
	configure.ac
	src/include/ngspice/devdefs.h
	src/include/ngspice/smpdefs.h
	src/maths/sparse/spsmp.c
	src/spicelib/devices/asrc/asrcinit.c
	src/spicelib/devices/bjt/Makefile.am
	src/spicelib/devices/bjt/bjtinit.c
	src/spicelib/devices/bsim1/Makefile.am
	src/spicelib/devices/bsim1/bsim1ext.h
	src/spicelib/devices/bsim1/bsim1init.c
	src/spicelib/devices/bsim2/Makefile.am
	src/spicelib/devices/bsim2/bsim2ext.h
	src/spicelib/devices/bsim2/bsim2init.c
	src/spicelib/devices/bsim3/Makefile.am
	src/spicelib/devices/bsim3/bsim3ext.h
	src/spicelib/devices/bsim3/bsim3init.c
	src/spicelib/devices/bsim3soi_dd/Makefile.am
	src/spicelib/devices/bsim3soi_dd/b3soiddext.h
	src/spicelib/devices/bsim3soi_dd/b3soiddinit.c
	src/spicelib/devices/bsim3soi_dd/b3soiddset.c
	src/spicelib/devices/bsim3soi_fd/Makefile.am
	src/spicelib/devices/bsim3soi_fd/b3soifdext.h
	src/spicelib/devices/bsim3soi_fd/b3soifdinit.c
	src/spicelib/devices/bsim3soi_pd/Makefile.am
	src/spicelib/devices/bsim3soi_pd/b3soipdext.h
	src/spicelib/devices/bsim3soi_pd/b3soipdinit.c
	src/spicelib/devices/bsim3soi_pd/b3soipdset.c
	src/spicelib/devices/bsim3v0/Makefile.am
	src/spicelib/devices/bsim3v0/bsim3v0ext.h
	src/spicelib/devices/bsim3v0/bsim3v0init.c
	src/spicelib/devices/bsim3v1/Makefile.am
	src/spicelib/devices/bsim3v1/bsim3v1ext.h
	src/spicelib/devices/bsim3v1/bsim3v1init.c
	src/spicelib/devices/bsim3v32/Makefile.am
	src/spicelib/devices/bsim3v32/bsim3v32ext.h
	src/spicelib/devices/bsim3v32/bsim3v32init.c
	src/spicelib/devices/bsim4/Makefile.am
	src/spicelib/devices/bsim4/bsim4def.h
	src/spicelib/devices/bsim4/bsim4ext.h
	src/spicelib/devices/bsim4/bsim4init.c
	src/spicelib/devices/bsim4v4/Makefile.am
	src/spicelib/devices/bsim4v4/bsim4v4ext.h
	src/spicelib/devices/bsim4v4/bsim4v4init.c
	src/spicelib/devices/bsim4v5/Makefile.am
	src/spicelib/devices/bsim4v5/b4v5set.c
	src/spicelib/devices/bsim4v5/bsim4v5ext.h
	src/spicelib/devices/bsim4v5/bsim4v5init.c
	src/spicelib/devices/bsim4v6/Makefile.am
	src/spicelib/devices/bsim4v6/bsim4v6ext.h
	src/spicelib/devices/bsim4v6/bsim4v6init.c
	src/spicelib/devices/bsimsoi/Makefile.am
	src/spicelib/devices/bsimsoi/b4soiext.h
	src/spicelib/devices/bsimsoi/b4soiinit.c
	src/spicelib/devices/bsimsoi/b4soiset.c
	src/spicelib/devices/cap/Makefile.am
	src/spicelib/devices/cap/capdefs.h
	src/spicelib/devices/cap/capext.h
	src/spicelib/devices/cap/capinit.c
	src/spicelib/devices/cccs/cccsext.h
	src/spicelib/devices/cccs/cccsinit.c
	src/spicelib/devices/ccvs/ccvsinit.c
	src/spicelib/devices/cpl/cplinit.c
	src/spicelib/devices/csw/cswinit.c
	src/spicelib/devices/dio/Makefile.am
	src/spicelib/devices/dio/diodefs.h
	src/spicelib/devices/dio/dioext.h
	src/spicelib/devices/dio/dioinit.c
	src/spicelib/devices/hfet1/Makefile.am
	src/spicelib/devices/hfet1/hfetext.h
	src/spicelib/devices/hfet1/hfetinit.c
	src/spicelib/devices/hfet2/Makefile.am
	src/spicelib/devices/hfet2/hfet2ext.h
	src/spicelib/devices/hfet2/hfet2init.c
	src/spicelib/devices/hisim2/Makefile.am
	src/spicelib/devices/hisim2/hsm2ext.h
	src/spicelib/devices/hisim2/hsm2init.c
	src/spicelib/devices/hisimhv1/hsmhvext.h
	src/spicelib/devices/hisimhv1/hsmhvinit.c
	src/spicelib/devices/ind/Makefile.am
	src/spicelib/devices/ind/inddefs.h
	src/spicelib/devices/ind/indinit.c
	src/spicelib/devices/isrc/isrcinit.c
	src/spicelib/devices/jfet/Makefile.am
	src/spicelib/devices/jfet/jfetext.h
	src/spicelib/devices/jfet/jfetinit.c
	src/spicelib/devices/jfet/jfetset.c
	src/spicelib/devices/jfet2/Makefile.am
	src/spicelib/devices/jfet2/jfet2ext.h
	src/spicelib/devices/jfet2/jfet2init.c
	src/spicelib/devices/jfet2/jfet2set.c
	src/spicelib/devices/ltra/ltrainit.c
	src/spicelib/devices/mes/Makefile.am
	src/spicelib/devices/mes/mesext.h
	src/spicelib/devices/mes/mesinit.c
	src/spicelib/devices/mes/messetup.c
	src/spicelib/devices/mesa/Makefile.am
	src/spicelib/devices/mesa/mesaext.h
	src/spicelib/devices/mesa/mesainit.c
	src/spicelib/devices/mos1/Makefile.am
	src/spicelib/devices/mos1/mos1ext.h
	src/spicelib/devices/mos1/mos1init.c
	src/spicelib/devices/mos2/Makefile.am
	src/spicelib/devices/mos2/mos2ext.h
	src/spicelib/devices/mos2/mos2init.c
	src/spicelib/devices/mos3/Makefile.am
	src/spicelib/devices/mos3/mos3ext.h
	src/spicelib/devices/mos3/mos3init.c
	src/spicelib/devices/mos6/Makefile.am
	src/spicelib/devices/mos6/mos6ext.h
	src/spicelib/devices/mos6/mos6init.c
	src/spicelib/devices/mos9/Makefile.am
	src/spicelib/devices/mos9/mos9ext.h
	src/spicelib/devices/mos9/mos9init.c
	src/spicelib/devices/res/Makefile.am
	src/spicelib/devices/res/resdefs.h
	src/spicelib/devices/res/resext.h
	src/spicelib/devices/res/resinit.c
	src/spicelib/devices/soi3/Makefile.am
	src/spicelib/devices/soi3/soi3ext.h
	src/spicelib/devices/soi3/soi3init.c
	src/spicelib/devices/sw/swinit.c
	src/spicelib/devices/tra/trainit.c
	src/spicelib/devices/txl/txlinit.c
	src/spicelib/devices/txl/txlsetup.c
	src/spicelib/devices/urc/urcinit.c
	src/spicelib/devices/vbic/Makefile.am
	src/spicelib/devices/vbic/vbicinit.c
	src/spicelib/devices/vccs/vccsinit.c
	src/spicelib/devices/vcvs/vcvsext.h
	src/spicelib/devices/vcvs/vcvsinit.c
	src/spicelib/devices/vsrc/Makefile.am
	src/spicelib/devices/vsrc/vsrcdefs.h
	src/spicelib/devices/vsrc/vsrcext.h
	src/spicelib/devices/vsrc/vsrcinit.c
2013-09-15 20:00:34 +02:00
rlar b7ce5adfbf sparse/*.c, whitespace 2013-04-28 20:48:11 +02:00
rlar 19fef8bff4 sparse/*.c, simplify, drop the local copy `Matrix' 2013-04-28 20:48:10 +02:00
rlar 82e215ca04 sparse/*.c, drop unnecessary (MatrixPtr) cast 2013-04-28 20:48:10 +02:00
rlar a1e7036f49 sparse/*.c, avoid (RealNumber *) casts by proper use of ElementPr 2013-04-28 20:48:10 +02:00
Francesco Lannutti 221940b3ae KLU-1 Patch for dump_routines and new SMPmatrix structure 2013-03-27 13:26:40 +01:00
Francesco Lannutti 99ba028925 import changed ngspice files for project KLU
SMP to solver interface separated

KLU-1 Patch for dump_routines and new SMPmatrix structure
2013-03-27 13:26:42 +01: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
h_vogt e6c86b4d98 explicit casting double -> int etc. 2011-06-11 17:07:38 +00:00
rlar 0b6a557334 code cleanup 2011-04-27 18:30:15 +00:00
rlar 3cc50320e3 rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain 2010-10-24 12:51:43 +00:00
rlar cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +00:00
rlar f4d0163885 use the types MatrixPtr and SMPmatrix instead of void and char *
both are the same thing,
     MatrixPtr is used inside the sparse/* domain,
     SMPmatrix is used in the rest of spice
  remove casts, which are no longer necessary
2010-07-23 17:33:10 +00:00
rlar 1ee29c3e96 use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c 2010-07-23 17:23:13 +00:00
rlar a0b0f550ab ansi style function args for a function pointer arg of spInitialize() 2010-07-10 14:06:14 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
pnenzi 1260ae08db Update autoconf scripts and applied Niessner patch to remove compiler warnings. 2004-07-09 18:37:25 +00:00
pnenzi 63c93eca79 Modified sparse include files to obtain better separation from rest of the code.
(added spFindElement in spbuild.c needed by cider).
2003-08-13 23:27:17 +00:00
arno 7ac9278389 * src/include/spconfig.h: Removed spCOMPLEX,
spSEPARATED_COMPLEX_VECTORS and spCOMPATIBILITY defines.  This
	made including this file from src/include/spmatrix.h unnecessary.
	Moved this file to src/maths/sparse/spconfig.h.

	* src/include/spmatrix.h: Removed include of
	src/include/spconfig.h.

	* src/maths/sparse/spalloc.c, src/maths/sparse/spbuild.c,
	src/maths/sparse/spcombin.c, src/maths/sparse/spdefs.h,
	src/maths/sparse/spfactor.c, src/maths/sparse/spoutput.c,
	src/maths/sparse/spsmp.c, src/maths/sparse/spsolve.c,
	src/maths/sparse/sputils.c: The other files affected by the
	removal of spCOMPLEX, spSEPARATED_COMPLEX_VECTORS and
	spCOMPATIBILITY defines.  Also: assertions are enabled by
	default.

	* src/include/smpdefs.h, src/maths/sparse/spsmp.c: SMPmatrix is
	now a typedef for void, instead of char.  Updated all function
	declarations to match this.  Also added function prototypes not
	previously mentioned in src/include/smpdefs.h.

	* src/include/complex.h: Updates of cast from char * to void *
2000-07-03 15:28:50 +00:00
arno 0fb8f339b8 * man/man1/nutmeg.1 man/man1/spice.1 src/multidec.c
src/analysis/cktinit.c src/analysis/cktpzld.c
	src/analysis/cktpzstr.c src/analysis/cktsens.c
	src/analysis/sensaskq.c src/analysis/senssetp.c
	src/analysis/tfanal.c src/circuit/inpgtok.c
	src/circuit/inpptree.c src/circuit/sperror.c src/devices/dev.c
	src/devices/asrc/asrcacld.c src/devices/devsup/devsup.c
	src/devices/jfet/jfetload.c src/devices/ltra/ltra.c
	src/devices/ltra/ltraset.c src/devices/mos6/mos6ext.h
	src/frontend/aspice.c src/frontend/device.c
	src/frontend/display.c src/frontend/doplot.c
	src/frontend/dotcards.c src/frontend/fourier.c
	src/frontend/gens.c src/frontend/graf.c src/frontend/grid.c
	src/frontend/inp.c src/frontend/interp.c
	src/frontend/nutctab.c src/frontend/plotcurv.c
	src/frontend/postcoms.c src/frontend/postsc.c
	src/frontend/resource.c src/frontend/runcoms.c
	src/frontend/spiceif.c src/frontend/typesdef.c
	src/frontend/x11.c src/hlp/readhelp.c src/hlp/x11disp.c
	src/include/complex.h src/include/devdefs.h
	src/include/fteconst.h src/maths/ni/nipzmeth.c
	src/maths/sparse/spalloc.c src/maths/sparse/spbuild.c
	src/maths/sparse/spcombin.c src/maths/sparse/spextra.c
	src/maths/sparse/spfactor.c src/maths/sparse/spoutput.c
	src/maths/sparse/spsmp.c src/maths/sparse/spsolve.c
	src/maths/sparse/sputils.c src/parser/lexical.c
	src/parser/unixcom.c: removed most `#ifdef notdef', converted
	some function calls from K&R to ANSI.
2000-05-03 20:01:30 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00