Commit Graph

8442 Commits

Author SHA1 Message Date
Francesco Lannutti d2e65402aa Added initial KLU support for node collapsing 2023-05-28 00:14:11 +02:00
Francesco Lannutti d5de457068 Fixed KLU SINGULAR matrix handling and messaging 2023-05-10 22:59:36 +02:00
Francesco Lannutti 0c19cb2b0b Merge branch 'KLU-6+11-rebase-master-5_Mag_2023' of ssh://git.code.sf.net/p/ngspice/ngspice into KLU-6+11-rebase-master-5_Mag_2023 2023-05-09 22:43:27 +02:00
Francesco Lannutti 2edbe6a63b Fixed VBIC model for KLU
Fixed SMPfindElt messages
2023-05-09 22:40:53 +02:00
holger a26e4479db We need to remove all remnants of a previous compile 2023-05-09 10:11:26 +02:00
Holger Vogt e71a37acdd Plug a memory leak 2023-05-08 20:40:13 +02:00
Francesco Lannutti 8c5ab7edcd Handled properly KLU messages when XSPICE is purely digital 2023-05-07 20:23:45 +02:00
Francesco Lannutti e899217d92 Fixed Empty Matrix handling in KLU 2023-05-07 12:16:47 +02:00
Holger Vogt f0c723fdf2 remove adms, add xspice 2023-05-06 20:23:56 +02:00
Francesco Lannutti a7e6f7cd12 Merge branch 'KLU-6+11-rebase-master-5_Mag_2023' of ssh://git.code.sf.net/p/ngspice/ngspice into KLU-6+11-rebase-master-5_Mag_2023 2023-05-06 16:01:17 +02:00
Francesco Lannutti 565e364a67 Handled an empty circuit with KLU 2023-05-06 15:59:47 +02:00
Holger Vogt 1dc03273f4 Set up to compile with MS VS2022 2023-05-06 10:20:36 +02:00
Francesco Lannutti 56791aedbf Rebased upon pre-master branch 2023-05-06 01:59:05 +02:00
Holger Vogt 5ca9021d3a compile script for ngspice-klu on Linux 2023-05-06 01:50:33 +02:00
Holger Vogt 33c23a2839 Enable compiling with VS 2019
Add hicum2bindCSC.c to project
2023-05-06 01:50:33 +02:00
Francesco Lannutti fb5fa289f9 Added KLU support to HICUM model 2023-05-06 01:50:33 +02:00
Holger Vogt bfc2d62fb0 Enable log output (warning and error messages) on the Windows GUI 2023-05-06 01:49:31 +02:00
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