Commit Graph

8469 Commits

Author SHA1 Message Date
Holger Vogt c2d891c9b3 remove unused file 2023-07-17 12:58:14 +02:00
Francesco Lannutti 52e1fe4f30 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
2023-07-17 12:58:02 +02:00
Francesco Lannutti b3a2b39c41 Used IF_REAL instead of IF_FLAG 2023-07-17 12:57:47 +02:00
Francesco Lannutti a52cb67c74 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2023-07-17 12:57:02 +02:00
Francesco Lannutti 2e1674f6ed Handled the SINGULAR matrix case in a more clever way! 2023-07-17 12:56:40 +02:00
Francesco Lannutti 98e33f4a00 Fixed the VSRCbindCSC routine 2023-07-17 12:56:16 +02:00
Francesco Lannutti bbce247348 Added missing ISCAS85 libraries 2023-07-17 12:55:48 +02:00
Francesco Lannutti b786427070 Fixed BJTbindCSC routine 2023-07-17 12:55:26 +02:00
Francesco Lannutti 04cb8c1145 Fixed again the NIiter loop for KLU 2023-07-17 12:55:06 +02:00
Francesco Lannutti aee7b37673 Fixed KLU returns values so that NIiter can Factor again, if the matrix is numerically singular from the refactorization
Fixed the NIiter code to perform a factorization without reloading the matrix
2023-07-17 12:54:37 +02:00
Francesco Lannutti c04ad504f5 Added the KLU support to ADMS models 2023-07-17 12:54:05 +02:00
Francesco Lannutti 8e5a7dc82a Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2023-07-17 12:53:47 +02:00
Francesco Lannutti 294e27431a First KLU support of CIDER TWOD simulations 2023-07-17 12:53:15 +02:00
Holger Vogt ec71b27d48 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2023-07-17 12:52:44 +02:00
Francesco Lannutti 3602430274 Fix SMPfindElement for KLU 2023-07-17 12:52:24 +02:00
Francesco Lannutti 12dbe33030 First KLU support of CIDER ONED simulations 2023-07-17 12:51:57 +02:00
Francesco Lannutti 2e4110befa Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2023-07-17 12:51:12 +02:00
Francesco Lannutti 09cf38215a First attempt of KLU support for XSPICE 2023-07-17 12:50:51 +02:00
Francesco Lannutti b933b08bd3 Updating CKTsetup in preparation of XSPICE support 2023-07-17 12:50:30 +02:00
Francesco Lannutti 5c2c30250c Maintain the KLU related changes under '#ifdef KLU' 2023-07-17 12:49:59 +02:00
Francesco Lannutti efa15756ff Compacted the flag for KLU matrix being Real or Complex to one single bit 2023-07-17 12:49:45 +02:00
Francesco Lannutti 31b82e9638 Added the support for .ic statement in KLU mode 2023-07-17 12:49:27 +02:00
h_vogt 8e91796f1d vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2023-07-17 12:49:07 +02:00
h_vogt 7e12936a66 VS21015 project files, enable OpenMP 2023-07-17 12:48:46 +02:00
h_vogt 0691dba01c MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2023-07-17 12:48:26 +02:00
h_vogt a1378fd3a9 config.h, add KLU macro definition 2023-07-17 12:48:04 +02:00
h_vogt 789737e293 compile_min.sh, add KLU dependency for MINGW compilation 2023-07-17 12:47:36 +02:00
Francesco Lannutti f59d80ece8 Fixed the KLU binding for BJT 2023-07-17 12:47:10 +02:00
Francesco Lannutti 4f1c440592 Commented out some debug printings 2023-07-17 12:46:45 +02:00
Francesco Lannutti 85eb55f017 Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2023-07-17 12:46:21 +02:00
rlar e02d51a5a2 (int) casts, applied to a double which just has been limited to INT_MAX 2023-07-17 12:46:00 +02:00
rlar b2df40724e casting, use (int) sizeof(), to swallow some warnings 2023-07-17 12:45:42 +02:00
rlar eec690d475 use TMALLOC 2023-07-17 12:45:23 +02:00
Francesco Lannutti 580f18a27a Handling the general case for an empty CSC matrix during the conversion to CSR format 2023-07-17 12:44:55 +02:00
Francesco Lannutti a3f3c033df Ordered the COO format also along the columns to have a correct CSR format 2023-07-17 12:44:11 +02:00
Francesco Lannutti 4937cf5252 Fixed the AC part of the Sensitivity Analysis 2023-07-17 12:43:49 +02:00
Francesco Lannutti c541da3ea7 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2023-07-17 12:43:30 +02:00
Francesco Lannutti fad005eb41 Fixed Sensibility Analysis for KLU - First Trial 2023-07-17 12:42:57 +02:00
Francesco Lannutti fe73196fd3 Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2023-07-17 12:42:28 +02:00
Francesco Lannutti 36f94c7c75 Fixed Sensitivity Analysis integration for KLU 2023-07-17 12:41:20 +02:00
Francesco Lannutti a6b3045caa Fixed the sign inversion calculation for the determinant of KLU 2023-07-17 12:40:44 +02:00
Francesco Lannutti 450a297162 Implement klu_z_print() 2023-07-17 12:40:26 +02:00
Francesco Lannutti 28e2a384cc Implement spMatrix_CSC_dump() 2023-07-17 12:39:59 +02:00
rlar 0e6ff95c4c fix vsrc for pz analysis 2023-07-17 12:39:33 +02:00
Francesco Lannutti d6570a1f91 Use spDeterminant_KLU 2023-07-17 12:39:14 +02:00
Francesco Lannutti 974ae6fff1 Implemented spDeterminant_KLU 2023-07-17 12:38:47 +02:00
Francesco Lannutti 31e0664d4c Fixed SMPcZeroCol 2023-07-17 12:38:16 +02:00
Francesco Lannutti c0e5ca2123 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 2023-07-17 12:37:55 +02:00
Francesco Lannutti cacae55129 other fixes 2023-07-17 12:37:33 +02:00
Francesco Lannutti d398c93a00 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2023-07-17 12:37:11 +02:00