Commit Graph

8399 Commits

Author SHA1 Message Date
Francesco Lannutti 4c993548ed 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-05-06 01:46:04 +02:00
Francesco Lannutti dc89403d75 Used IF_REAL instead of IF_FLAG 2023-05-06 01:46:04 +02:00
Francesco Lannutti fb9611c49c Added "klu_memgrow_factor" option to control the KLU memory grow factor 2023-05-06 01:46:04 +02:00
Francesco Lannutti 8de9e72f12 Handled the SINGULAR matrix case in a more clever way! 2023-05-06 01:46:04 +02:00
Francesco Lannutti 57cdf093e7 Fixed the VSRCbindCSC routine 2023-05-06 01:46:04 +02:00
Francesco Lannutti 47f27c4971 Added missing ISCAS85 libraries 2023-05-06 01:46:04 +02:00
Francesco Lannutti 941aa20332 Fixed BJTbindCSC routine 2023-05-06 01:46:04 +02:00
Francesco Lannutti 48572883f9 Fixed again the NIiter loop for KLU 2023-05-06 01:46:04 +02:00
Francesco Lannutti d7f5e3863e 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-05-06 01:46:04 +02:00
Francesco Lannutti d750600cc3 Added the KLU support to ADMS models 2023-05-06 01:46:04 +02:00
Francesco Lannutti af804b3c7d Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2023-05-06 01:46:04 +02:00
Francesco Lannutti fc5ab54f1d First KLU support of CIDER TWOD simulations 2023-05-06 01:46:04 +02:00
Holger Vogt b23e42023a retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2023-05-06 01:46:04 +02:00
Francesco Lannutti c564810a77 Fix SMPfindElement for KLU 2023-05-06 01:46:04 +02:00
Francesco Lannutti c4a49cc6d6 First KLU support of CIDER ONED simulations 2023-05-06 01:46:04 +02:00
Francesco Lannutti ecf31ec012 Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2023-05-06 01:46:04 +02:00
Francesco Lannutti 1064ad711d First attempt of KLU support for XSPICE 2023-05-06 01:46:04 +02:00
Francesco Lannutti 684eecc668 Updating CKTsetup in preparation of XSPICE support 2023-05-06 01:46:04 +02:00
Francesco Lannutti 4dffbd8364 Maintain the KLU related changes under '#ifdef KLU' 2023-05-06 01:46:04 +02:00
Francesco Lannutti b2d80e9ecd Compacted the flag for KLU matrix being Real or Complex to one single bit 2023-05-06 01:46:04 +02:00
Francesco Lannutti 1a7fdd192c Added the support for .ic statement in KLU mode 2023-05-06 01:46:04 +02:00
h_vogt 0321a43d2a vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2023-05-06 01:46:04 +02:00
h_vogt c5dade4b8c VS21015 project files, enable OpenMP 2023-05-06 01:46:04 +02:00
h_vogt 75319b801a MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2023-05-06 01:46:04 +02:00
h_vogt 5f8b42743c config.h, add KLU macro definition 2023-05-06 01:46:04 +02:00
h_vogt de41387e39 compile_min.sh, add KLU dependency for MINGW compilation 2023-05-06 01:46:04 +02:00
Francesco Lannutti 5d092272f3 Fixed the KLU binding for BJT 2023-05-06 01:44:21 +02:00
Francesco Lannutti e112e2d659 Commented out some debug printings 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9c5297f776 Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2023-05-06 01:44:21 +02:00
rlar be4cb5ba94 (int) casts, applied to a double which just has been limited to INT_MAX 2023-05-06 01:44:21 +02:00
rlar 15f09868ba casting, use (int) sizeof(), to swallow some warnings 2023-05-06 01:44:21 +02:00
rlar e7e8ee87f8 use TMALLOC 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9916c557e8 Handling the general case for an empty CSC matrix during the conversion to CSR format 2023-05-06 01:44:21 +02:00
Francesco Lannutti ec7b8cd556 Ordered the COO format also along the columns to have a correct CSR format 2023-05-06 01:44:21 +02:00
Francesco Lannutti 6d936984d6 Fixed the AC part of the Sensitivity Analysis 2023-05-06 01:44:21 +02:00
Francesco Lannutti 0bd6710910 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2023-05-06 01:44:21 +02:00
Francesco Lannutti 5c84072fa0 Fixed Sensibility Analysis for KLU - First Trial 2023-05-06 01:44:21 +02:00
Francesco Lannutti 745ec47b7d Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2023-05-06 01:44:21 +02:00
Francesco Lannutti 21b9e516ae Fixed Sensitivity Analysis integration for KLU 2023-05-06 01:44:21 +02:00
Francesco Lannutti 69aeed0503 Fixed the sign inversion calculation for the determinant of KLU 2023-05-06 01:44:21 +02:00
Francesco Lannutti e3c1965685 Implement klu_z_print() 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9e6d0f6261 Implement spMatrix_CSC_dump() 2023-05-06 01:44:21 +02:00
rlar 4fa88b9459 fix vsrc for pz analysis 2023-05-06 01:44:21 +02:00
Francesco Lannutti 539bc787e9 Use spDeterminant_KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti de8643d478 Implemented spDeterminant_KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti 9a8265421e Fixed SMPcZeroCol 2023-05-06 01:43:17 +02:00
Francesco Lannutti 59f120a7bd 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-05-06 01:43:17 +02:00
Francesco Lannutti 19eff5d23f other fixes 2023-05-06 01:43:17 +02:00
Francesco Lannutti 4f15ba2be6 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2023-05-06 01:43:17 +02:00
Francesco Lannutti f5278a0890 Implemented the Solve Transpose for KLU 2023-05-06 01:43:17 +02:00