Commit Graph

6911 Commits

Author SHA1 Message Date
Francesco Lannutti 2cad2be098 Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1 2023-05-06 01:49:31 +02:00
Francesco Lannutti d5829028d5 Fixed CKTsetup for KLU when XSPICE is used 2023-05-06 01:49:31 +02:00
Francesco Lannutti ed7f00bc6b Added the support for KLU to VBIC Self Heating 2023-05-06 01:49:31 +02:00
Francesco Lannutti 738e088bb3 Fixed KLU memory leak during SMPdestroy 2023-05-06 01:49:31 +02:00
Francesco Lannutti 2a0f26b9a4 Added the KLU support to Noise Analysis 2023-05-06 01:49:31 +02:00
Francesco Lannutti a9af30a233 Fixed the dimension of the COO Trash Can 2023-05-06 01:46:05 +02:00
Francesco Lannutti 69ed2fe26f Add KLU support to VDMOS 2023-05-06 01:46:05 +02:00
Holger Vogt b0f7f3786c re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
2023-05-06 01:46:05 +02:00
Holger Vogt 348a6edfec fix a memory leak in ASRC 2023-05-06 01:46:04 +02:00
Francesco Lannutti d71e7c7d90 Fixed a memory leak 2023-05-06 01:46:04 +02:00
Holger Vogt f3045f37a8 plug a memory leak 2023-05-06 01:46:04 +02:00
Holger Vogt adb58e53fa fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2023-05-06 01:46:04 +02:00
Francesco Lannutti 8721c076bd Added a comment in NIiter 2023-05-06 01:46:04 +02:00
Francesco Lannutti 23e91d22e6 Changed the PivTol in SMPreorder with PivRel 2023-05-06 01:46:04 +02:00
Francesco Lannutti 3f570e0557 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2023-05-06 01:46:04 +02:00
Francesco Lannutti 36dbc7c626 Changed the Error message in klusmp.c to Information 2023-05-06 01:46:04 +02:00
Francesco Lannutti d516c088c6 Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2023-05-06 01:46:04 +02:00
Francesco Lannutti 4c993548ed 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-05-06 01:46:04 +02:00
Francesco Lannutti dc89403d75 Used IF_REAL instead of IF_FLAG 2023-05-06 01:46:04 +02:00
Francesco Lannutti fb9611c49c Added "klu_memgrow_factor" option to control the KLU memory grow factor 2023-05-06 01:46:04 +02:00
Francesco Lannutti 8de9e72f12 Handled the SINGULAR matrix case in a more clever way! 2023-05-06 01:46:04 +02:00
Francesco Lannutti 57cdf093e7 Fixed the VSRCbindCSC routine 2023-05-06 01:46:04 +02:00
Francesco Lannutti 941aa20332 Fixed BJTbindCSC routine 2023-05-06 01:46:04 +02:00
Francesco Lannutti 48572883f9 Fixed again the NIiter loop for KLU 2023-05-06 01:46:04 +02:00
Francesco Lannutti d7f5e3863e 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-05-06 01:46:04 +02:00
Francesco Lannutti d750600cc3 Added the KLU support to ADMS models 2023-05-06 01:46:04 +02:00
Francesco Lannutti af804b3c7d Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2023-05-06 01:46:04 +02:00
Francesco Lannutti fc5ab54f1d First KLU support of CIDER TWOD simulations 2023-05-06 01:46:04 +02:00
Francesco Lannutti c564810a77 Fix SMPfindElement for KLU 2023-05-06 01:46:04 +02:00
Francesco Lannutti c4a49cc6d6 First KLU support of CIDER ONED simulations 2023-05-06 01:46:04 +02:00
Francesco Lannutti ecf31ec012 Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2023-05-06 01:46:04 +02:00
Francesco Lannutti 1064ad711d First attempt of KLU support for XSPICE 2023-05-06 01:46:04 +02:00
Francesco Lannutti 684eecc668 Updating CKTsetup in preparation of XSPICE support 2023-05-06 01:46:04 +02:00
Francesco Lannutti 4dffbd8364 Maintain the KLU related changes under '#ifdef KLU' 2023-05-06 01:46:04 +02:00
Francesco Lannutti b2d80e9ecd Compacted the flag for KLU matrix being Real or Complex to one single bit 2023-05-06 01:46:04 +02:00
Francesco Lannutti 1a7fdd192c Added the support for .ic statement in KLU mode 2023-05-06 01:46:04 +02:00
Francesco Lannutti 5d092272f3 Fixed the KLU binding for BJT 2023-05-06 01:44:21 +02:00
Francesco Lannutti e112e2d659 Commented out some debug printings 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9c5297f776 Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2023-05-06 01:44:21 +02:00
rlar be4cb5ba94 (int) casts, applied to a double which just has been limited to INT_MAX 2023-05-06 01:44:21 +02:00
rlar 15f09868ba casting, use (int) sizeof(), to swallow some warnings 2023-05-06 01:44:21 +02:00
rlar e7e8ee87f8 use TMALLOC 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9916c557e8 Handling the general case for an empty CSC matrix during the conversion to CSR format 2023-05-06 01:44:21 +02:00
Francesco Lannutti ec7b8cd556 Ordered the COO format also along the columns to have a correct CSR format 2023-05-06 01:44:21 +02:00
Francesco Lannutti 6d936984d6 Fixed the AC part of the Sensitivity Analysis 2023-05-06 01:44:21 +02:00
Francesco Lannutti 0bd6710910 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2023-05-06 01:44:21 +02:00
Francesco Lannutti 5c84072fa0 Fixed Sensibility Analysis for KLU - First Trial 2023-05-06 01:44:21 +02:00
Francesco Lannutti 745ec47b7d Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2023-05-06 01:44:21 +02:00
Francesco Lannutti 21b9e516ae Fixed Sensitivity Analysis integration for KLU 2023-05-06 01:44:21 +02:00
Francesco Lannutti 69aeed0503 Fixed the sign inversion calculation for the determinant of KLU 2023-05-06 01:44:21 +02:00