Commit Graph

8488 Commits

Author SHA1 Message Date
Holger Vogt 6654c0c2fc Re-enable compiling with Visual Studio 2023-07-17 14:04:03 +02:00
Francesco Lannutti 9fb5c12092 Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1 2023-07-17 14:03:41 +02:00
Francesco Lannutti 9212eab8ee Fixed CKTsetup for KLU when XSPICE is used 2023-07-17 14:03:28 +02:00
Francesco Lannutti dd28e85808 Added the support for KLU to VBIC Self Heating 2023-07-17 14:02:57 +02:00
Francesco Lannutti 674b224324 Fixed KLU memory leak during SMPdestroy 2023-07-17 14:02:31 +02:00
Francesco Lannutti a9d02b66b9 Added the KLU support to Noise Analysis 2023-07-17 14:02:06 +02:00
Francesco Lannutti 897e0b082a Fixed the dimension of the COO Trash Can 2023-07-17 14:01:48 +02:00
Francesco Lannutti c17be605c9 Add KLU support to VDMOS 2023-07-17 14:01:31 +02:00
Holger Vogt 52b26ff1b6 re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
2023-07-17 13:01:39 +02:00
Holger Vogt a328b97a30 fix a memory leak in ASRC 2023-07-17 13:01:16 +02:00
Francesco Lannutti 48c41fb00f Fixed a memory leak 2023-07-17 13:01:05 +02:00
Holger Vogt 6da4c076fd plug a memory leak 2023-07-17 13:00:49 +02:00
Holger Vogt 11e9ce88df fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2023-07-17 13:00:34 +02:00
Holger Vogt 8a7e4dd102 Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2023-07-17 13:00:00 +02:00
Francesco Lannutti c729d48c93 Added a comment in NIiter 2023-07-17 12:59:43 +02:00
Francesco Lannutti d97d61d1e0 Changed the PivTol in SMPreorder with PivRel 2023-07-17 12:59:27 +02:00
Francesco Lannutti 4928f7ab05 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2023-07-17 12:59:10 +02:00
Francesco Lannutti 0743599380 Changed the Error message in klusmp.c to Information 2023-07-17 12:58:50 +02:00
Francesco Lannutti 6661e9e877 Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2023-07-17 12:58:34 +02:00
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