Commit Graph

2701 Commits

Author SHA1 Message Date
Francesco Lannutti 38947fb651 Experimental changes:
Introduced new binding scheme for RES, CAP, IND, VSRC, (ISRC), BSIM4 models
 to improve speed
 The old method will not work anymore, so please use KLU only if you have
 these models in your circuit and nothing more!
2013-03-27 13:26:42 +01:00
Francesco Lannutti de5e2accea Reverted the previous commit "Corrected a possible bug..." 2013-03-27 13:26:41 +01:00
Francesco Lannutti 005f86a00a Updated SMPprint and SMPprintRHS for KLU, SuperLU and UMFPACK 2013-03-27 13:26:41 +01:00
Francesco Lannutti 16ac211b90 Whitespaces 2013-03-27 13:26:41 +01:00
Francesco Lannutti e9c23ca632 Removed a debug printf 2013-03-27 13:26:41 +01:00
Francesco Lannutti 9df5a4c2d0 Corrected a possible bug that
probably comes from SPICE
 Berkeley in NIiter. It can
 affect convergence during
 dynamic gmin stepping algorithm
2013-03-27 13:26:41 +01:00
Francesco Lannutti 9e29756a98 Reviewed a bit the way to measure
the size of the Matrix and the
 size of the Number of Non-Zeroes
2013-03-27 13:26:41 +01:00
Francesco Lannutti 88ef8f71fb Added a function called DEVbindCSCComplexToReal
in order to switch back from a Complex Matrix
   to a Real Matrix. This is useful inside the
   AC Analysis. BE CAREFUL that all the files
   involved in this change are generated automatically
   by a script!
  Added a flag that indicates if the matrix is
   Real or Complex
  Revisited AC Analysis using KLU. Now it's possible
   to have any sort of analysis in queue and all
   the jobs will be executed successfully. No more
   Segmentation Faults :)
  Removed the CSC Conversion from CKTop and moved
   to CKTsetup
  Solved some bugs in the KLU-SMP interface
2013-03-27 13:26:41 +01:00
Francesco Lannutti 9975d6f08a Added an hint about which solver has been compiled,
based on #ifdef
2013-03-27 13:26:41 +01:00
Francesco Lannutti 6225e05b8c Corrected a bug that caused segmentation fault
if the ACCT was called before a simulation
2013-03-27 13:26:41 +01:00
Francesco Lannutti e560532e58 Corrected a bug which didn't let ngspice compile in an
external folder (e.g. "sourcedir/ngspice-klu-release")
Added a check for ATLAS library when SuperLU is selected
 as solver
2013-03-27 13:26:40 +01:00
Francesco Lannutti d9ae95f962 Added UMFPACK as new experimental linear solver, (#2 changed files)
Some files modified due to UMFPACK integration
 Some bugs and minor/cosmetic fixed
 TODO: Correct cktacct.c to let it print fill-ins
       properly using UMFPACK or SuperLU
2013-03-27 13:26:40 +01:00
Francesco Lannutti 3560c8ee16 Added UMFPACK as new experimental linear solver, (#1 new files) 2013-03-27 13:26:40 +01:00
Francesco Lannutti 7f546a2877 Added SuperLU as new experimental linear solver, (#2 changed files) 2013-03-27 13:26:40 +01:00
Francesco Lannutti 7c868663bd Added SuperLU as new experimental linear solver, (#1 new files) 2013-03-27 13:26:40 +01:00
Francesco Lannutti ec1192a36f Corrected a bug during the Sensitivity Analysis when NG-Spice is compiled with KLU enabled 2013-03-27 13:26:40 +01:00
Francesco Lannutti d99e935137 almost all devices now support KLU (Part 2) 2013-03-27 13:26:40 +01:00
Francesco Lannutti 765711c13d almost all devices now support KLU 2013-03-27 13:26:40 +01:00
Francesco Lannutti 190a4a4601 unwanted noise ?, movement of #include "vccsext.h" 2013-03-27 13:26:40 +01:00
Francesco Lannutti a5556d178b Corrected a bug during the calculation of fill-ins for KLU 2013-03-27 13:26:40 +01:00
Francesco Lannutti 221940b3ae KLU-1 Patch for dump_routines and new SMPmatrix structure 2013-03-27 13:26:40 +01:00
rlar 6d7dcc1e59 drop some disabled experimental code in spMatrix_CSC() 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
Francesco Lannutti 63d24981a8 import new files for project KLU 2013-03-27 13:26:39 +01:00
h_vogt 6c2d820430 sharedspice.c: command bg_pstop to stop printsend
thread before unloading ngspice library
2013-03-26 20:35:41 +01:00
h_vogt 58c9911f27 sharedspice.c: thread handling updated 2013-03-25 21:15:59 +01:00
h_vogt 1509cfd9ee alloc.c sharedspice.c: improve thread safety
(still much more to be done!)
2013-03-24 12:54:11 +01:00
h_vogt d3bf4e8b44 sharedspice.h: comments updated 2013-03-23 22:29:36 +01:00
h_vogt fbab97c61b sharedspice.c: correction for LINUX 2013-03-23 19:32:15 +01:00
h_vogt eaf384ec36 icm/dlmain.c: restrict exported symbols under LINUX 2013-03-23 18:15:45 +01:00
h_vogt 4f53cbef50 ngspice.h: add shared module 2013-03-23 18:14:08 +01:00
h_vogt 3e7722cd58 misccoms.c: special return value for shared module 2013-03-23 18:04:02 +01:00
h_vogt b8f475bea8 error.c: no exit, but callback if shared module 2013-03-23 17:58:11 +01:00
h_vogt 4320fcef36 display.c: exclude SHARED_MODULE if console 2013-03-23 17:54:52 +01:00
h_vogt 6fe8f4edcf src/makefile.am /include/ngspice/makefile.am: add shared module 2013-03-23 17:51:42 +01:00
h_vogt 7755d02b4f outitf.c: prepare for feedback in shared ngspice 2013-03-23 17:40:37 +01:00
h_vogt 704797f10a main file and header for ngspice as shared module 2013-03-23 17:34:15 +01:00
h_vogt b32c5c025c new flag for shared module 2013-03-23 17:28:09 +01:00
h_vogt 9163ed93a9 dctran.c: better rounding for status report 2013-03-23 17:25:41 +01:00
h_vogt 057857938c --with-windows --> --with-wingui 2013-03-23 13:00:30 +01:00
h_vogt e652a0e48d Separate progress report from having Windows GUI 2013-03-23 11:03:08 +01:00
h_vogt 0ed5862586 ngspice.h: single extern declaration of fcn SetAnalyse 2013-03-23 10:50:23 +01:00
h_vogt 18938c948b HAS_WINDOWS --> HAS_WINGUI
MS Windows compile without GUI possible!
2013-03-23 09:54:44 +01:00
h_vogt 7d948f3455 add command 'circbyline' to allow entering circuit
line by line
2013-03-06 23:01:37 +01:00
h_vogt 8ec5bacc3a inp.c: do not run all 'save' commands upfront,
but cumulative when they appear in the .control section
2013-03-05 21:58:00 +01:00
h_vogt 0e0fc4807f breakp2.c: allow v(12) and i(vdd) in 'save' command 2013-03-05 21:56:28 +01:00
h_vogt 503333632e runcoms2.c: update for dbs after remcirc 2013-03-05 20:14:28 +01:00
h_vogt 34385ab270 update 'alter' handling as in ngspice main.c 2013-03-05 20:04:40 +01:00
h_vogt 4514742da7 make database dbs local to each circuit 2013-03-05 20:03:25 +01:00
rlar cda882f31b inpcom.c: cleanup comments 2013-02-25 23:08:49 +01:00