Commit Graph

5760 Commits

Author SHA1 Message Date
Francesco Lannutti 92511e025d Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2018-05-04 19:57:03 +02:00
Francesco Lannutti 198ba9131e Fixed Sensibility Analysis for KLU - First Trial 2018-05-04 19:57:03 +02:00
Francesco Lannutti bd3c2a2fcd Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2018-05-04 19:57:03 +02:00
Francesco Lannutti 7a06f9ce12 Fixed Sensitivity Analysis integration for KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 15906b9b93 Fixed the sign inversion calculation for the determinant of KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 885d0f7b9a Implement klu_z_print() 2018-05-04 19:57:03 +02:00
Francesco Lannutti 2c0528aef5 Implement spMatrix_CSC_dump() 2018-05-04 19:57:03 +02:00
rlar 4dfc0b7917 fix vsrc for pz analysis 2018-05-04 19:57:03 +02:00
Francesco Lannutti 5c1c4c252f Use spDeterminant_KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti c093d0221a Implemented spDeterminant_KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti e02ffb95b8 Fixed SMPcZeroCol 2018-05-04 19:57:03 +02:00
Francesco Lannutti b0c2b1be6a klu_extract_Udiag, Fixed the PZ Analysis for KLU - Added a missing KLU node in VSRC which exists only in case of PZ Analysis - Other fixes 2018-05-04 19:57:03 +02:00
Francesco Lannutti 3af0469779 other fixes 2018-05-04 19:57:03 +02:00
Francesco Lannutti ee1c1a36a7 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2018-05-04 19:57:03 +02:00
Francesco Lannutti 4e308894b1 Implemented the Solve Transpose for KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 06c7386612 Fixed the SMPcSolve routine for KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 88c525b0ae Enhanced KLU to avoid loosing computation cycles. The speedup is quite low, though: ~1% 2018-05-04 19:57:03 +02:00
Francesco Lannutti 3fae38208b fix the list of supported devices 2018-05-04 19:57:03 +02:00
rlar 92eb011060 Added CPL Model to KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 74c986d040 Added HISIMHV2 Model to KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti 08dcea978d Added ASRC Model to KLU 2018-05-04 19:57:03 +02:00
Francesco Lannutti c79ff66aa7 KLU Integration from scratch #7, devices, bsim4/ (which is bsim4v8) 2018-05-04 19:57:03 +02:00
rlar 00e05560bb KLU Integration from scratch #6, devices, bsim4v7/ 2018-05-04 19:57:03 +02:00
Francesco Lannutti fe072aba9d Fixed the KLU package to let it correctly compile in libngspice.so 2018-05-04 19:57:03 +02:00
Francesco Lannutti c11cec02b2 KLU Integration from scratch #5, devices 2018-05-04 19:57:03 +02:00
Francesco Lannutti c30e9b6299 KLU Integration from scratch #4, changed files 2018-05-04 19:57:03 +02:00
Francesco Lannutti 9f4fc2f0c8 KLU Integration from scratch #1, new files 2018-05-04 19:55:51 +02:00
Francesco Lannutti 3c570e9b6f move include files to src/include/ngspice/ 2018-05-04 19:55:51 +02:00
Francesco Lannutti 11c7632a9a fix include file directories (will be in src/include/ngspice/) 2018-05-04 19:55:51 +02:00
rlar 1fd82cfa2e delete-trailing-whitespace 2018-05-04 19:55:51 +02:00
Francesco Lannutti 3a02883de9 incorporate KLU source files from SuiteSparse-3.7.0.tar.gz 2018-05-04 19:55:51 +02:00
rlar 2db2097cbb SuiteSparse.org, recipe for incorporation of SuiteSparse-3.7.0.tar.gz 2018-05-04 19:55:51 +02:00
Francesco Lannutti e93a5b896c KLU Integration from scratch #1, examples/klu/Circuits 2018-05-04 19:55:51 +02:00
rlar 45a70b3a53 rewrite, use enum instead of #define sequences
see branch "rewrite-defines2enum"
2018-04-30 19:23:18 +02:00
Francesco Lannutti 3a7e9411c3 drop #ifdef MUTUAL 2018-04-22 22:10:43 +02:00
rlar bcf00ade06 cpl/cplsetup.c, cleanup VECTOR_ALLOC and MATRIX_ALLOC
swap first two arguments for readability
2018-04-22 22:04:45 +02:00
rlar 04dc62ef13 devices/*, move kind of `enum' defines out of struct definition 2018-04-15 15:05:02 +02:00
rlar 3b0e8cb8f1 vsrc/isrc, use an explicit #ifdef "PULSE_FUN_TYPES" guard
to avoid duplicate definition
2018-04-15 15:05:02 +02:00
rlar a729c2860c sensitivity, drop redundant #defines SENS_LIN/OCT/DEC/DEFPERT
use SENS_LINEAR/OCTAVE/DECADE/DEFPERTUB instead
2018-04-15 15:05:02 +02:00
rlar a9439dc7dd sensitivity, use numStates and numSenStates instead of hardcoded literals 2018-04-15 15:04:57 +02:00
rlar d3f13edd4a devices/vbic/vbicsetup.c, bug fix, incorrect states allocation
VBICnumSenStates is 10 not 8
2018-04-15 08:42:02 +02:00
rlar d981fb331b spicelib/devices/*, drop empty destroy functions 2018-04-15 07:13:06 +02:00
rlar e725d728fc res/restemp.c, avoid temporary NaN value, (simplify debugging)
RESupdate_conduct() may be called several times before all
  parameters have been set via RESparam() invocations,
  or finally being set to default values in RESsetup()

Especially RESscale might still be 0.0 as well as RESm
  thus temporarily creating a NaN in RESupdate_conduct.
This would unnecessarily complicate debugging with enabled
  floating point exceptions.
2018-03-17 18:36:12 +01:00
rlar ead6dc4816 spicelib/devices/{sw,csw}, unify CKTstates[] access
do it the same way as the other devices do

access CKTstates[][slot] via device specific descriptive macros
access CKTstates[] via CKTstate0 CKTstate1 macros

this patch has been checked for object file in-variance with gcc
2018-03-08 19:40:53 +01:00
rlar bcecc19e8b spicelib/devices/{sw,csw}, cleanup for readability
This change is functional invariant, and has been checked
 with gcc for object file in-variance.
For the details see the "rewrite-sw" branch
2018-03-08 18:24:49 +01:00
h_vogt 3dd2115291 frontend/subckt.c, do not put model names into numparam hash table
nobody seems to make use of these entries.
see nupa_type which shrinks to four enum's
2018-03-01 18:13:01 +01:00
rlar b803b294b4 frontend/parser/lexical.c, cp_lexer(), allow # and * comment
Both, whether interactive or not.
Especially for command scripts.
2018-02-26 19:41:04 +01:00
rlar 6903584e99 asrc/asrcacld.c, bug fix, reciproc tc coefficient 2018-02-25 21:59:15 +01:00
Holger Vogt b1aa6cfc87 xspice/enh/enhtrans.c, two2three_translate(), plug a memory leak 2018-02-25 20:05:15 +01:00
rlar 878c9645c7 frontend/outitf.c, drop /* ARGSUSED */ comments 2018-02-22 21:56:05 +01:00