Commit Graph

7120 Commits

Author SHA1 Message Date
Francesco Lannutti ae3e228527 Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2020-10-28 23:49:49 +01:00
Francesco Lannutti 98532e534c First KLU support of CIDER TWOD simulations 2020-10-28 23:49:49 +01:00
Holger Vogt e10601dc32 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2020-10-28 23:49:49 +01:00
Francesco Lannutti 75111a4d9e Fix SMPfindElement for KLU 2020-10-28 23:49:49 +01:00
Francesco Lannutti 36c523948c First KLU support of CIDER ONED simulations 2020-10-28 23:49:49 +01:00
Francesco Lannutti 5ae550593b Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2020-10-28 23:49:48 +01:00
Francesco Lannutti 3ded283419 First attempt of KLU support for XSPICE 2020-10-28 23:49:48 +01:00
Francesco Lannutti 1d8747fe8a Updating CKTsetup in preparation of XSPICE support 2020-10-28 23:49:48 +01:00
Francesco Lannutti f623e62ce4 Maintain the KLU related changes under '#ifdef KLU' 2020-10-28 23:49:48 +01:00
Francesco Lannutti d2df13a63f Compacted the flag for KLU matrix being Real or Complex to one single bit 2020-10-28 23:49:48 +01:00
Francesco Lannutti 4b9ce73ff4 Added the support for .ic statement in KLU mode 2020-10-28 23:49:48 +01:00
h_vogt 811aac3dc0 vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2020-10-28 23:49:48 +01:00
h_vogt 5915de8fe6 VS21015 project files, enable OpenMP 2020-10-28 23:49:48 +01:00
h_vogt 96f009281c MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2020-10-28 23:49:48 +01:00
h_vogt 992a9e48ee config.h, add KLU macro definition 2020-10-28 23:49:48 +01:00
h_vogt 4e6c803891 compile_min.sh, add KLU dependency for MINGW compilation 2020-10-28 23:49:48 +01:00
Francesco Lannutti 3a825482d6 Fixed the KLU binding for BJT 2020-10-28 23:49:48 +01:00
Francesco Lannutti f37ad94bb9 Commented out some debug printings 2020-10-28 23:49:48 +01:00
Francesco Lannutti 0a11ddf2a4 Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2020-10-28 23:49:48 +01:00
rlar f57a316b2d (int) casts, applied to a double which just has been limited to INT_MAX 2020-10-28 23:49:48 +01:00
rlar 39642a21c4 casting, use (int) sizeof(), to swallow some warnings 2020-10-28 23:49:48 +01:00
rlar 34fdaf2d37 use TMALLOC 2020-10-28 23:49:48 +01:00
Francesco Lannutti 71bc920bd5 Handling the general case for an empty CSC matrix during the conversion to CSR format 2020-10-28 23:49:48 +01:00
Francesco Lannutti e50eefebd1 Ordered the COO format also along the columns to have a correct CSR format 2020-10-28 23:49:48 +01:00
Francesco Lannutti 0615ab8dfe Fixed the AC part of the Sensitivity Analysis 2020-10-28 23:49:48 +01:00
Francesco Lannutti 53a973a8e7 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2020-10-28 23:49:48 +01:00
Francesco Lannutti fe8ef9c2d8 Fixed Sensibility Analysis for KLU - First Trial 2020-10-28 23:49:48 +01:00
Francesco Lannutti c1b7b7b442 Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2020-10-28 23:49:48 +01:00
Francesco Lannutti ad1d317288 Fixed Sensitivity Analysis integration for KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 62571c0d73 Fixed the sign inversion calculation for the determinant of KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 12fc170dce Implement klu_z_print() 2020-10-28 23:49:48 +01:00
Francesco Lannutti f32388aa04 Implement spMatrix_CSC_dump() 2020-10-28 23:49:48 +01:00
rlar 7fb9bdb80a fix vsrc for pz analysis 2020-10-28 23:49:48 +01:00
Francesco Lannutti 8f6de68216 Use spDeterminant_KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti a706917bdb Implemented spDeterminant_KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 7d1282c9e1 Fixed SMPcZeroCol 2020-10-28 23:49:48 +01:00
Francesco Lannutti bc40346b6c 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 2020-10-28 23:49:48 +01:00
Francesco Lannutti cf525ab645 other fixes 2020-10-28 23:49:48 +01:00
Francesco Lannutti 220caab0b5 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2020-10-28 23:49:48 +01:00
Francesco Lannutti 10ad578887 Implemented the Solve Transpose for KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 96d9787aad Fixed the SMPcSolve routine for KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 77e1daa3c2 Enhanced KLU to avoid loosing computation cycles. The speedup is quite low, though: ~1% 2020-10-28 23:49:48 +01:00
Francesco Lannutti 94c0e71fd5 fix the list of supported devices 2020-10-28 23:49:48 +01:00
rlar b59e175b06 Added CPL Model to KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti adb643dd78 Added HISIMHV2 Model to KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 5724429e8e Added ASRC Model to KLU 2020-10-28 23:49:48 +01:00
Francesco Lannutti 6e05465140 KLU Integration from scratch #7, devices, bsim4/ (which is bsim4v8) 2020-10-28 23:49:48 +01:00
rlar af4dbe0e38 KLU Integration from scratch #6, devices, bsim4v7/ 2020-10-28 23:49:48 +01:00
Francesco Lannutti 5d582ff058 Fixed the KLU package to let it correctly compile in libngspice.so 2020-10-28 23:49:48 +01:00
Francesco Lannutti 62333c4f23 KLU Integration from scratch #5, devices 2020-10-28 23:49:48 +01:00