Commit Graph

7750 Commits

Author SHA1 Message Date
Holger Vogt bd31079fd0 fix a memory leak in ASRC 2022-02-04 01:04:16 +01:00
Francesco Lannutti bba8c5deec Fixed a memory leak 2022-02-04 01:04:16 +01:00
Holger Vogt 9f9b0fe23f plug a memory leak 2022-02-04 01:04:16 +01:00
Holger Vogt 7a0bd5dd43 fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2022-02-04 01:04:16 +01:00
Holger Vogt bc1568ad6e Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2022-02-04 01:04:16 +01:00
Francesco Lannutti 82eb9ef996 Added a comment in NIiter 2022-02-04 01:04:16 +01:00
Francesco Lannutti 919ace8d8c Changed the PivTol in SMPreorder with PivRel 2022-02-04 01:04:16 +01:00
Francesco Lannutti ecbf140033 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2022-02-04 01:04:16 +01:00
Francesco Lannutti d2c5133b04 Changed the Error message in klusmp.c to Information 2022-02-04 01:04:16 +01:00
Francesco Lannutti 9a2f5ebe9e Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2022-02-04 01:04:16 +01:00
Holger Vogt f7ca2883c1 remove unused file 2022-02-04 00:59:11 +01:00
Francesco Lannutti 305c00f281 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
2022-02-04 00:59:10 +01:00
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