Commit Graph

8504 Commits

Author SHA1 Message Date
Francesco Lannutti c1b0a9e90e Handled properly KLU messages when XSPICE is purely digital 2023-07-17 14:08:07 +02:00
Francesco Lannutti 48b8f220af Fixed Empty Matrix handling in KLU 2023-07-17 14:07:58 +02:00
Holger Vogt 235055586f remove adms, add xspice 2023-07-17 14:07:47 +02:00
Holger Vogt b4617ab620 Set up to compile with MS VS2022 2023-07-17 14:07:35 +02:00
Francesco Lannutti 38c6fe5892 Handled an empty circuit with KLU 2023-07-17 14:07:23 +02:00
Francesco Lannutti cb473d514b Rebased upon pre-master branch 2023-07-17 14:07:11 +02:00
Holger Vogt fc5a131828 compile script for ngspice-klu on Linux 2023-07-17 14:07:00 +02:00
Holger Vogt ef9b6a4e6c Enable compiling with VS 2019
Add hicum2bindCSC.c to project
2023-07-17 14:06:46 +02:00
Francesco Lannutti fe77b252d1 Added KLU support to HICUM model 2023-07-17 14:06:37 +02:00
Holger Vogt db5144d5ec Enable log output (warning and error messages) on the Windows GUI 2023-07-17 14:06:21 +02:00
Holger Vogt b35d13695b Add XSPICE table models to MS project 2023-07-17 14:05:59 +02:00
Holger Vogt a3a420ca2a 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-07-17 14:05:43 +02:00
Francesco Lannutti 32f8d562ff 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-07-17 14:05:19 +02:00
Francesco Lannutti 53a2b27b96 Fixed KLU binding for VDMOS 2023-07-17 14:04:40 +02:00
Francesco Lannutti 6e157c113b Fixed KLU binding for BJT 2023-07-17 14:04:28 +02:00
Francesco Lannutti f62f4b11bc Fixed a crash when SPARSE is used 2023-07-17 14:04:18 +02:00
Holger Vogt 6654c0c2fc Re-enable compiling with Visual Studio 2023-07-17 14:04:03 +02:00
Francesco Lannutti 9fb5c12092 Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1 2023-07-17 14:03:41 +02:00
Francesco Lannutti 9212eab8ee Fixed CKTsetup for KLU when XSPICE is used 2023-07-17 14:03:28 +02:00
Francesco Lannutti dd28e85808 Added the support for KLU to VBIC Self Heating 2023-07-17 14:02:57 +02:00
Francesco Lannutti 674b224324 Fixed KLU memory leak during SMPdestroy 2023-07-17 14:02:31 +02:00
Francesco Lannutti a9d02b66b9 Added the KLU support to Noise Analysis 2023-07-17 14:02:06 +02:00
Francesco Lannutti 897e0b082a Fixed the dimension of the COO Trash Can 2023-07-17 14:01:48 +02:00
Francesco Lannutti c17be605c9 Add KLU support to VDMOS 2023-07-17 14:01:31 +02:00
Holger Vogt 52b26ff1b6 re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
2023-07-17 13:01:39 +02:00
Holger Vogt a328b97a30 fix a memory leak in ASRC 2023-07-17 13:01:16 +02:00
Francesco Lannutti 48c41fb00f Fixed a memory leak 2023-07-17 13:01:05 +02:00
Holger Vogt 6da4c076fd plug a memory leak 2023-07-17 13:00:49 +02:00
Holger Vogt 11e9ce88df fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2023-07-17 13:00:34 +02:00
Holger Vogt 8a7e4dd102 Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2023-07-17 13:00:00 +02:00
Francesco Lannutti c729d48c93 Added a comment in NIiter 2023-07-17 12:59:43 +02:00
Francesco Lannutti d97d61d1e0 Changed the PivTol in SMPreorder with PivRel 2023-07-17 12:59:27 +02:00
Francesco Lannutti 4928f7ab05 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2023-07-17 12:59:10 +02:00
Francesco Lannutti 0743599380 Changed the Error message in klusmp.c to Information 2023-07-17 12:58:50 +02:00
Francesco Lannutti 6661e9e877 Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2023-07-17 12:58:34 +02:00
Holger Vogt c2d891c9b3 remove unused file 2023-07-17 12:58:14 +02:00
Francesco Lannutti 52e1fe4f30 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-07-17 12:58:02 +02:00
Francesco Lannutti b3a2b39c41 Used IF_REAL instead of IF_FLAG 2023-07-17 12:57:47 +02:00
Francesco Lannutti a52cb67c74 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2023-07-17 12:57:02 +02:00
Francesco Lannutti 2e1674f6ed Handled the SINGULAR matrix case in a more clever way! 2023-07-17 12:56:40 +02:00
Francesco Lannutti 98e33f4a00 Fixed the VSRCbindCSC routine 2023-07-17 12:56:16 +02:00
Francesco Lannutti bbce247348 Added missing ISCAS85 libraries 2023-07-17 12:55:48 +02:00
Francesco Lannutti b786427070 Fixed BJTbindCSC routine 2023-07-17 12:55:26 +02:00
Francesco Lannutti 04cb8c1145 Fixed again the NIiter loop for KLU 2023-07-17 12:55:06 +02:00
Francesco Lannutti aee7b37673 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-07-17 12:54:37 +02:00
Francesco Lannutti c04ad504f5 Added the KLU support to ADMS models 2023-07-17 12:54:05 +02:00
Francesco Lannutti 8e5a7dc82a Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2023-07-17 12:53:47 +02:00
Francesco Lannutti 294e27431a First KLU support of CIDER TWOD simulations 2023-07-17 12:53:15 +02:00
Holger Vogt ec71b27d48 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2023-07-17 12:52:44 +02:00
Francesco Lannutti 3602430274 Fix SMPfindElement for KLU 2023-07-17 12:52:24 +02:00