Commit Graph

7004 Commits

Author SHA1 Message Date
Holger Vogt b4aeab7c2b plug a memory leak 2020-08-12 16:30:06 +02:00
Holger Vogt 5e7af5647b We need setting aa initial condition:
.ic v(out20)=0
2020-08-12 16:19:32 +02:00
Holger Vogt 4d0d4d1db7 fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2020-08-12 16:17:50 +02:00
Holger Vogt de0c25c33a remove C:\Program Files (x86)\Visual Leak Detector\lib\Win32; 2020-08-09 20:06:57 +02:00
Holger Vogt e87d3abb9c add custom build to generate files in ./tmp-bison
parse-bison.c and *.h, inpptree-parser.c and *.h
2020-08-09 20:03:09 +02:00
marcel hendrix b6318b2f51 Fixed VS2019 project files.
Note: changed *.bat and spinit files for drive D: instead of C:
2020-08-09 15:03:26 +02:00
Francesco Lannutti 6920747923 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2020-08-09 09:12:53 +02:00
Francesco Lannutti 51c3b805ae Changed the Error message in klusmp.c to Information 2020-08-09 08:42:10 +02:00
Francesco Lannutti 443e7a11c9 Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2020-08-07 16:36:04 +02:00
Holger Vogt 0b98038329 remove unused file 2020-08-07 02:21:35 +02:00
Francesco Lannutti 171dc694a9 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
2020-08-07 02:20:42 +02:00
Francesco Lannutti 8e3fa72535 Used IF_REAL instead of IF_FLAG 2020-08-07 02:18:04 +02:00
Francesco Lannutti c68f740e85 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2020-08-07 02:18:04 +02:00
Francesco Lannutti 56a6cf719c Handled the SINGULAR matrix case in a more clever way! 2020-08-07 02:16:44 +02:00
Francesco Lannutti 091a9dc241 Fixed the VSRCbindCSC routine 2020-08-07 02:16:44 +02:00
Francesco Lannutti fd6885206b Added missing ISCAS85 libraries 2020-08-07 02:16:44 +02:00
Francesco Lannutti df9a96ff7e Fixed BJTbindCSC routine 2020-08-07 02:16:44 +02:00
Francesco Lannutti bde229b805 Fixed again the NIiter loop for KLU 2020-08-07 02:16:44 +02:00
Francesco Lannutti 13bf83f8c1 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
2020-08-07 02:16:44 +02:00
Francesco Lannutti 2fd8758fdb Added the KLU support to ADMS models 2020-08-07 02:16:44 +02:00
Francesco Lannutti a7f0e0ca24 Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2020-08-07 02:16:44 +02:00
Francesco Lannutti d19d077110 First KLU support of CIDER TWOD simulations 2020-08-07 02:16:44 +02:00
Holger Vogt 0c626a3ea8 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2020-08-07 02:09:44 +02:00
Francesco Lannutti 4cf52ac9b9 Fix SMPfindElement for KLU 2020-08-07 02:08:33 +02:00
Francesco Lannutti 6b2181220a First KLU support of CIDER ONED simulations 2020-08-07 02:08:33 +02:00
Francesco Lannutti 5a8964b63a Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2020-08-07 02:08:33 +02:00
Francesco Lannutti c6829875cb First attempt of KLU support for XSPICE 2020-08-07 02:08:33 +02:00
Francesco Lannutti 3efaee3cb9 Updating CKTsetup in preparation of XSPICE support 2020-08-07 02:05:15 +02:00
Francesco Lannutti 1d4ee0a5a0 Maintain the KLU related changes under '#ifdef KLU' 2020-08-07 02:05:15 +02:00
Francesco Lannutti e905e0ab2f Compacted the flag for KLU matrix being Real or Complex to one single bit 2020-08-07 02:05:15 +02:00
Francesco Lannutti 6914b6b3a6 Added the support for .ic statement in KLU mode 2020-08-07 02:05:15 +02:00
h_vogt 98a9845cba vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2020-08-07 02:05:15 +02:00
h_vogt d260d0d458 VS21015 project files, enable OpenMP 2020-08-07 02:05:15 +02:00
h_vogt 958c018813 MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2020-08-07 02:05:15 +02:00
h_vogt 3c4aedca63 config.h, add KLU macro definition 2020-08-07 02:02:22 +02:00
h_vogt 4ce13f0c85 compile_min.sh, add KLU dependency for MINGW compilation 2020-08-07 02:02:22 +02:00
Francesco Lannutti 3432d3b218 Fixed the KLU binding for BJT 2020-08-07 02:00:41 +02:00
Francesco Lannutti 6499ea644b Commented out some debug printings 2020-08-07 02:00:41 +02:00
Francesco Lannutti 6f9ca776cb Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2020-08-07 02:00:41 +02:00
rlar 7e81a0d831 (int) casts, applied to a double which just has been limited to INT_MAX 2020-08-07 02:00:41 +02:00
rlar 689519dad7 casting, use (int) sizeof(), to swallow some warnings 2020-08-07 02:00:41 +02:00
rlar 12b85ca2d4 use TMALLOC 2020-08-07 02:00:41 +02:00
Francesco Lannutti bf01cedb4d Handling the general case for an empty CSC matrix during the conversion to CSR format 2020-08-07 02:00:41 +02:00
Francesco Lannutti 036f48a742 Ordered the COO format also along the columns to have a correct CSR format 2020-08-07 02:00:41 +02:00
Francesco Lannutti 58214d85f4 Fixed the AC part of the Sensitivity Analysis 2020-08-07 02:00:41 +02:00
Francesco Lannutti 4de18fd9fd Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2020-08-07 02:00:41 +02:00
Francesco Lannutti c1c7963e84 Fixed Sensibility Analysis for KLU - First Trial 2020-08-07 02:00:41 +02:00
Francesco Lannutti 83595a1409 Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2020-08-07 02:00:41 +02:00
Francesco Lannutti 63e6edd75e Fixed Sensitivity Analysis integration for KLU 2020-08-07 02:00:41 +02:00
Francesco Lannutti 49d38a8b2f Fixed the sign inversion calculation for the determinant of KLU 2020-08-07 02:00:41 +02:00