Commit Graph

7150 Commits

Author SHA1 Message Date
Holger Vogt eefb3944ec Re-enable compiling with Visual Studio 2020-10-28 23:49:49 +01:00
Francesco Lannutti 3c80a19351 Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1 2020-10-28 23:49:49 +01:00
Francesco Lannutti 5af5830fed Fixed CKTsetup for KLU when XSPICE is used 2020-10-28 23:49:49 +01:00
Francesco Lannutti 6e02fc2a37 Added the support for KLU to VBIC Self Heating 2020-10-28 23:49:49 +01:00
Francesco Lannutti 1bf219e67a Fixed KLU memory leak during SMPdestroy 2020-10-28 23:49:49 +01:00
Francesco Lannutti 4e8f387f57 Added the KLU support to Noise Analysis 2020-10-28 23:49:49 +01:00
Francesco Lannutti d698a7bca7 Fixed the dimension of the COO Trash Can 2020-10-28 23:49:49 +01:00
Francesco Lannutti 1047026225 Add KLU support to VDMOS 2020-10-28 23:49:49 +01:00
Holger Vogt 2548e2018d re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
2020-10-28 23:49:49 +01:00
Holger Vogt ef7c89fe25 fix a memory leak in ASRC 2020-10-28 23:49:49 +01:00
Francesco Lannutti a621be9e5c Fixed a memory leak 2020-10-28 23:49:49 +01:00
Holger Vogt 9fb89b187b plug a memory leak 2020-10-28 23:49:49 +01:00
Holger Vogt 6580d10db7 fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2020-10-28 23:49:49 +01:00
Holger Vogt 0bc008fed0 Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2020-10-28 23:49:49 +01:00
Francesco Lannutti cb28ef9ea3 Added a comment in NIiter 2020-10-28 23:49:49 +01:00
Francesco Lannutti b4ab373a86 Changed the PivTol in SMPreorder with PivRel 2020-10-28 23:49:49 +01:00
Francesco Lannutti 52d88db9bc Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2020-10-28 23:49:49 +01:00
Francesco Lannutti 75e0f65b96 Changed the Error message in klusmp.c to Information 2020-10-28 23:49:49 +01:00
Francesco Lannutti 9ffd4aa500 Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2020-10-28 23:49:49 +01:00
Holger Vogt e5fab1ccb5 remove unused file 2020-10-28 23:49:49 +01:00
Francesco Lannutti 5760898f52 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-10-28 23:49:49 +01:00
Francesco Lannutti df06505d51 Used IF_REAL instead of IF_FLAG 2020-10-28 23:49:49 +01:00
Francesco Lannutti a0fa8900f8 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2020-10-28 23:49:49 +01:00
Francesco Lannutti 1a5e211908 Handled the SINGULAR matrix case in a more clever way! 2020-10-28 23:49:49 +01:00
Francesco Lannutti bd427e7856 Fixed the VSRCbindCSC routine 2020-10-28 23:49:49 +01:00
Francesco Lannutti 6d09f93b2e Added missing ISCAS85 libraries 2020-10-28 23:49:49 +01:00
Francesco Lannutti 7223b8c4eb Fixed BJTbindCSC routine 2020-10-28 23:49:49 +01:00
Francesco Lannutti 99ef69b530 Fixed again the NIiter loop for KLU 2020-10-28 23:49:49 +01:00
Francesco Lannutti 253f96abbd 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-10-28 23:49:49 +01:00
Francesco Lannutti 751215c7e4 Added the KLU support to ADMS models 2020-10-28 23:49:49 +01:00
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