Commit Graph

7738 Commits

Author SHA1 Message Date
Francesco Lannutti 98bf5b8eb2 Used IF_REAL instead of IF_FLAG 2022-02-04 00:59:10 +01:00
Francesco Lannutti 7c9a7e3349 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2022-02-04 00:59:10 +01:00
Francesco Lannutti c3962e30c9 Handled the SINGULAR matrix case in a more clever way! 2022-02-04 00:58:17 +01:00
Francesco Lannutti 5de51c162d Fixed the VSRCbindCSC routine 2022-02-04 00:58:17 +01:00
Francesco Lannutti 494e89d0ee Added missing ISCAS85 libraries 2022-02-04 00:58:17 +01:00
Francesco Lannutti fe22c9f369 Fixed BJTbindCSC routine 2022-02-04 00:58:17 +01:00
Francesco Lannutti 7c2bc9c863 Fixed again the NIiter loop for KLU 2022-02-04 00:58:17 +01:00
Francesco Lannutti 9e030f52ce 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
2022-02-04 00:58:17 +01:00
Francesco Lannutti 6791e04601 Added the KLU support to ADMS models 2022-02-04 00:58:17 +01:00
Francesco Lannutti d926359826 Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2022-02-04 00:57:19 +01:00
Francesco Lannutti c56027d2d2 First KLU support of CIDER TWOD simulations 2022-02-04 00:57:19 +01:00
Holger Vogt 2e031942f8 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2022-02-04 00:53:30 +01:00
Francesco Lannutti 844a0c8328 Fix SMPfindElement for KLU 2022-02-04 00:53:30 +01:00
Francesco Lannutti 9956e2037a First KLU support of CIDER ONED simulations 2022-02-04 00:53:30 +01:00
Francesco Lannutti 00528aa0a2 Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2022-02-04 00:53:30 +01:00
Francesco Lannutti 1b458cd830 First attempt of KLU support for XSPICE 2022-02-04 00:53:30 +01:00
Francesco Lannutti f10f792811 Updating CKTsetup in preparation of XSPICE support 2022-02-04 00:53:30 +01:00
Francesco Lannutti 865b3fba24 Maintain the KLU related changes under '#ifdef KLU' 2022-02-04 00:53:30 +01:00
Francesco Lannutti 265023bb8c Compacted the flag for KLU matrix being Real or Complex to one single bit 2022-02-04 00:53:30 +01:00
Francesco Lannutti 83c11157cd Added the support for .ic statement in KLU mode 2022-02-04 00:53:30 +01:00
h_vogt af39d79583 vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2022-02-04 00:53:30 +01:00
h_vogt 3ab85e4e81 VS21015 project files, enable OpenMP 2022-02-04 00:53:30 +01:00
h_vogt 37e4985f64 MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2022-02-04 00:52:26 +01:00
h_vogt d86e2710df config.h, add KLU macro definition 2022-02-04 00:51:16 +01:00
h_vogt dae5e66b90 compile_min.sh, add KLU dependency for MINGW compilation 2022-02-04 00:51:16 +01:00
Francesco Lannutti 4f417aa33d Fixed the KLU binding for BJT 2022-02-04 00:51:16 +01:00
Francesco Lannutti 0774e5203c Commented out some debug printings 2022-02-04 00:51:16 +01:00
Francesco Lannutti 5e846ede87 Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2022-02-04 00:51:16 +01:00
rlar 8274dc50f9 (int) casts, applied to a double which just has been limited to INT_MAX 2022-02-04 00:51:16 +01:00
rlar e84e919d65 casting, use (int) sizeof(), to swallow some warnings 2022-02-04 00:51:16 +01:00
rlar 78a47595d1 use TMALLOC 2022-02-04 00:51:16 +01:00
Francesco Lannutti 74e3afa098 Handling the general case for an empty CSC matrix during the conversion to CSR format 2022-02-04 00:51:16 +01:00
Francesco Lannutti 8c231b1cc1 Ordered the COO format also along the columns to have a correct CSR format 2022-02-04 00:51:16 +01:00
Francesco Lannutti a06d133984 Fixed the AC part of the Sensitivity Analysis 2022-02-04 00:51:16 +01:00
Francesco Lannutti 87c5196131 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2022-02-04 00:51:16 +01:00
Francesco Lannutti 5badf4804d Fixed Sensibility Analysis for KLU - First Trial 2022-02-04 00:51:16 +01:00
Francesco Lannutti db47540613 Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2022-02-04 00:51:16 +01:00
Francesco Lannutti 8b4fd05ae7 Fixed Sensitivity Analysis integration for KLU 2022-02-04 00:51:16 +01:00
Francesco Lannutti 3fbe5f7923 Fixed the sign inversion calculation for the determinant of KLU 2022-02-04 00:51:16 +01:00
Francesco Lannutti 6ad24978bd Implement klu_z_print() 2022-02-04 00:51:16 +01:00
Francesco Lannutti 0adaf592cb Implement spMatrix_CSC_dump() 2022-02-04 00:51:16 +01:00
rlar bb34ec78c8 fix vsrc for pz analysis 2022-02-04 00:51:16 +01:00
Francesco Lannutti 5f4dd9a8de Use spDeterminant_KLU 2022-02-04 00:51:16 +01:00
Francesco Lannutti 8e2ed76a5d Implemented spDeterminant_KLU 2022-02-04 00:51:16 +01:00
Francesco Lannutti 09ce3dfb10 Fixed SMPcZeroCol 2022-02-04 00:51:16 +01:00
Francesco Lannutti 8134f549d0 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 2022-02-04 00:51:16 +01:00
Francesco Lannutti 46d583afdd other fixes 2022-02-04 00:51:16 +01:00
Francesco Lannutti f0eab6efa1 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2022-02-04 00:51:16 +01:00
Francesco Lannutti 3f7ad963fa Implemented the Solve Transpose for KLU 2022-02-04 00:51:16 +01:00
Francesco Lannutti e3cf68ce3d Fixed the SMPcSolve routine for KLU 2022-02-04 00:51:16 +01:00