Commit Graph

8425 Commits

Author SHA1 Message Date
Holger Vogt 9b4e90352e Add XSPICE table models to MS project 2023-05-06 01:49:31 +02:00
Holger Vogt d858a6bc22 Set up the matrix according to branch KLU-6+11-rebase-master-28_10_2020
All cpl example files from ngspice\examples\TransmissionLines are o.k.
2023-05-06 01:49:31 +02:00
Francesco Lannutti e90375740f KLU branch rebased upon master @ 3 Feb 2022
Some merge conflicts have not been solved yet
Please look for >>>> HEAD if you want to solve them
2023-05-06 01:49:31 +02:00
Francesco Lannutti 073a42fa8a Fixed KLU binding for VDMOS 2023-05-06 01:49:31 +02:00
Francesco Lannutti a0d99c72fa Fixed KLU binding for BJT 2023-05-06 01:49:31 +02:00
Francesco Lannutti eb64a2f05b Fixed a crash when SPARSE is used 2023-05-06 01:49:31 +02:00
Holger Vogt 54b7d25c41 Re-enable compiling with Visual Studio 2023-05-06 01:49:31 +02:00
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
Holger Vogt 4fadc49cba Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
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
Holger Vogt b6ae8bf2cc remove unused file 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 47f27c4971 Added missing ISCAS85 libraries 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
Holger Vogt b23e42023a retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
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
h_vogt 0321a43d2a vngspice.vcxproj, <AdditionalLibraryDirectories>...Visual Leak Detector 2023-05-06 01:46:04 +02:00
h_vogt c5dade4b8c VS21015 project files, enable OpenMP 2023-05-06 01:46:04 +02:00
h_vogt 75319b801a MS Visual Studio 2015 project files for KLU
KLU added, 32 bit and 64 bit
2023-05-06 01:46:04 +02:00