Commit Graph

7769 Commits

Author SHA1 Message Date
Holger Vogt 25e8b0f286 compile script for ngspice-klu on Linux 2022-06-21 19:53:58 +02:00
Holger Vogt c7042e72d6 Enable compiling with VS 2019
Add hicum2bindCSC.c to project
2022-03-06 23:20:08 +01:00
Francesco Lannutti a777381fd7 Added KLU support to HICUM model 2022-03-06 00:50:18 +01:00
Holger Vogt 4830d7cb2d Enable log output (warning and error messages) on the Windows GUI 2022-02-04 20:04:48 +01:00
Holger Vogt 7555669183 Add XSPICE table models to MS project 2022-02-04 13:54:30 +01:00
Holger Vogt 68924c570f 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.
2022-02-04 11:59:32 +01:00
Francesco Lannutti 36d46cd8bb 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
2022-02-04 01:12:42 +01:00
Francesco Lannutti c8a9c6b97e Fixed KLU binding for VDMOS 2022-02-04 01:04:16 +01:00
Francesco Lannutti 45aa7f1842 Fixed KLU binding for BJT 2022-02-04 01:04:16 +01:00
Francesco Lannutti d518c6c0d5 Fixed a crash when SPARSE is used 2022-02-04 01:04:16 +01:00
Holger Vogt af7703b395 Re-enable compiling with Visual Studio 2022-02-04 01:04:16 +01:00
Francesco Lannutti 4315f1c176 Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1 2022-02-04 01:04:16 +01:00
Francesco Lannutti f97a80719c Fixed CKTsetup for KLU when XSPICE is used 2022-02-04 01:04:16 +01:00
Francesco Lannutti 4c19a41a89 Added the support for KLU to VBIC Self Heating 2022-02-04 01:04:16 +01:00
Francesco Lannutti 25f1169608 Fixed KLU memory leak during SMPdestroy 2022-02-04 01:04:16 +01:00
Francesco Lannutti 54bb60d56a Added the KLU support to Noise Analysis 2022-02-04 01:04:16 +01:00
Francesco Lannutti 4ad2bd029e Fixed the dimension of the COO Trash Can 2022-02-04 01:04:16 +01:00
Francesco Lannutti 9269116598 Add KLU support to VDMOS 2022-02-04 01:04:16 +01:00
Holger Vogt 78e763e59c re-enable CIDER with option sparse by setting CKTkluMODE
in new matrix to CKTkluMODE from current circuit.
2022-02-04 01:04:16 +01:00
Holger Vogt bd31079fd0 fix a memory leak in ASRC 2022-02-04 01:04:16 +01:00
Francesco Lannutti bba8c5deec Fixed a memory leak 2022-02-04 01:04:16 +01:00
Holger Vogt 9f9b0fe23f plug a memory leak 2022-02-04 01:04:16 +01:00
Holger Vogt 7a0bd5dd43 fix a memory leak
ckt->CKTmatrix is now malloced, so has to bee freed as well
2022-02-04 01:04:16 +01:00
Holger Vogt bc1568ad6e Enable compiling with MSVC 2019
Remove reference to 'Visual Leak Detector'
Remove unused files from devices
Add custom build to invoke Flex_bison
2022-02-04 01:04:16 +01:00
Francesco Lannutti 82eb9ef996 Added a comment in NIiter 2022-02-04 01:04:16 +01:00
Francesco Lannutti 919ace8d8c Changed the PivTol in SMPreorder with PivRel 2022-02-04 01:04:16 +01:00
Francesco Lannutti ecbf140033 Fixed the accounting statistics for SPICE and CIDER about number of elements in KLU 2022-02-04 01:04:16 +01:00
Francesco Lannutti d2c5133b04 Changed the Error message in klusmp.c to Information 2022-02-04 01:04:16 +01:00
Francesco Lannutti 9a2f5ebe9e Fixed 2 files due to rebasing KLU branch on the master branch - 8/7/2020 2022-02-04 01:04:16 +01:00
Holger Vogt f7ca2883c1 remove unused file 2022-02-04 00:59:11 +01:00
Francesco Lannutti 305c00f281 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
2022-02-04 00:59:10 +01:00
Francesco Lannutti 98bf5b8eb2 Used IF_REAL instead of IF_FLAG 2022-02-04 00:59:10 +01:00
Francesco Lannutti 7c9a7e3349 Added "klu_memgrow_factor" option to control the KLU memory grow factor 2022-02-04 00:59:10 +01:00
Francesco Lannutti c3962e30c9 Handled the SINGULAR matrix case in a more clever way! 2022-02-04 00:58:17 +01:00
Francesco Lannutti 5de51c162d Fixed the VSRCbindCSC routine 2022-02-04 00:58:17 +01:00
Francesco Lannutti 494e89d0ee Added missing ISCAS85 libraries 2022-02-04 00:58:17 +01:00
Francesco Lannutti fe22c9f369 Fixed BJTbindCSC routine 2022-02-04 00:58:17 +01:00
Francesco Lannutti 7c2bc9c863 Fixed again the NIiter loop for KLU 2022-02-04 00:58:17 +01:00
Francesco Lannutti 9e030f52ce 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
2022-02-04 00:58:17 +01:00
Francesco Lannutti 6791e04601 Added the KLU support to ADMS models 2022-02-04 00:58:17 +01:00
Francesco Lannutti d926359826 Fixed the KLU returns values for Factorization and ReFactorization.
If the matrix is Numerically Singular, continue the factorization till the end
2022-02-04 00:57:19 +01:00
Francesco Lannutti c56027d2d2 First KLU support of CIDER TWOD simulations 2022-02-04 00:57:19 +01:00
Holger Vogt 2e031942f8 retarget the VS project to VS 2019
add mifbindCSC.c to vngspice.vcxpro
2022-02-04 00:53:30 +01:00
Francesco Lannutti 844a0c8328 Fix SMPfindElement for KLU 2022-02-04 00:53:30 +01:00
Francesco Lannutti 9956e2037a First KLU support of CIDER ONED simulations 2022-02-04 00:53:30 +01:00
Francesco Lannutti 00528aa0a2 Moved the KLU binding structures to be property of the XSPICE connections, instead of XSPICE instances 2022-02-04 00:53:30 +01:00
Francesco Lannutti 1b458cd830 First attempt of KLU support for XSPICE 2022-02-04 00:53:30 +01:00
Francesco Lannutti f10f792811 Updating CKTsetup in preparation of XSPICE support 2022-02-04 00:53:30 +01:00
Francesco Lannutti 865b3fba24 Maintain the KLU related changes under '#ifdef KLU' 2022-02-04 00:53:30 +01:00
Francesco Lannutti 265023bb8c Compacted the flag for KLU matrix being Real or Complex to one single bit 2022-02-04 00:53:30 +01:00