Commit Graph

362 Commits

Author SHA1 Message Date
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 1a7fdd192c Added the support for .ic statement in KLU mode 2023-05-06 01:46:04 +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 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
Francesco Lannutti e3c1965685 Implement klu_z_print() 2023-05-06 01:44:21 +02:00
Francesco Lannutti 9e6d0f6261 Implement spMatrix_CSC_dump() 2023-05-06 01:44:21 +02:00
Francesco Lannutti 539bc787e9 Use spDeterminant_KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti de8643d478 Implemented spDeterminant_KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti 9a8265421e Fixed SMPcZeroCol 2023-05-06 01:43:17 +02:00
Francesco Lannutti 59f120a7bd klu_extract_Udiag, Fixed the PZ Analysis for KLU - Added a missing KLU node in VSRC which exists only in case of PZ Analysis - Other fixes 2023-05-06 01:43:17 +02:00
Francesco Lannutti 19eff5d23f other fixes 2023-05-06 01:43:17 +02:00
Francesco Lannutti 4f15ba2be6 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2023-05-06 01:43:17 +02:00
Francesco Lannutti f5278a0890 Implemented the Solve Transpose for KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti ed76ebf2c1 Fixed the SMPcSolve routine for KLU 2023-05-06 01:43:17 +02:00
Francesco Lannutti 2b02de7a9d Enhanced KLU to avoid loosing computation cycles. The speedup is quite low, though: ~1% 2023-05-06 01:43:17 +02:00
Francesco Lannutti f652403eb1 Fixed the KLU package to let it correctly compile in libngspice.so 2023-05-06 01:43:17 +02:00
Francesco Lannutti 4c9ebb3da0 KLU Integration from scratch #4, changed files 2023-05-06 01:40:55 +02:00
Francesco Lannutti 5ed3091e4e KLU Integration from scratch #1, new files 2023-05-06 01:36:59 +02:00
Francesco Lannutti 5214479211 move include files to src/include/ngspice/ 2023-05-06 01:36:59 +02:00
Francesco Lannutti ef777165e0 fix include file directories (will be in src/include/ngspice/) 2023-05-06 01:36:59 +02:00
rlar be9d8643f1 delete-trailing-whitespace 2023-05-06 01:36:59 +02:00
Francesco Lannutti 88f287c90b incorporate KLU source files from SuiteSparse-3.7.0.tar.gz 2023-05-06 01:36:59 +02:00
rlar e3e57c2ce6 SuiteSparse.org, recipe for incorporation of SuiteSparse-3.7.0.tar.gz 2023-05-06 01:36:59 +02:00
dwarning 4fed4bafa1 few cleanings to prevent compiler warnings 2023-04-15 16:57:33 +02:00
Holger Vogt 3632a6b4ae We need to translate from degree to rad 2023-03-18 22:32:25 +01:00
Holger Vogt 2a6052517b Fix prvious commit: allow access to all vector elements of cc 2023-03-18 22:32:19 +01:00
Holger Vogt 68156fa62c Complex number handling other than MSVC 2023-03-18 22:32:07 +01:00
Holger Vogt 71571a1432 Add function atanh to .control section 2023-03-18 22:31:48 +01:00
Holger Vogt da77fad749 In the very rare case of pPivot being NULL, prevent a crsh
by reordering the matrix.
2023-03-18 14:33:25 +01:00
dwarning 45e6d319f3 partly revert last commit: only real input vector get special scaling for dc component 2023-03-18 14:31:31 +01:00
dwarning bccaee4821 correct fft dc scaling bug #620 2023-03-18 14:31:24 +01:00
Holger Vogt 02789b2c42 The modulo function a % n should accept a==0.
The fix adds this to the control section function parser. The numparam
parser already has this feature. n==0 is rejected as usual.
2023-01-15 13:37:57 +01:00
holger 97e0c0f37e Prevent memory leak while "PREDICTOR" is selected 2023-01-09 16:27:55 +01:00
Holger Vogt 27fb6cd0a6 Allow resetting the limit for warning mesaages, when a new run is started. 2022-12-11 15:32:11 +01:00
Holger Vogt 8e175f1e77 Replace obscure warning "singular matrix: check nodes mymode1 and mynode1" by
"singular matrix: check node mynode1", if both node names are equal.
2022-12-11 15:31:41 +01:00
Holger Vogt 638a09b718 Make doxygen documentation complete as an example. 2022-10-22 19:51:32 +02:00
Holger Vogt 70f38ec25f Update for doxygen: add function names to \brief 2022-10-22 19:51:06 +02:00
Holger Vogt b6d2a50e42 Update to comments for doxygen 2022-10-22 19:50:40 +02:00
Holger Vogt 3288d5ac99 Test for doxygen documentation 2022-10-22 19:48:12 +02:00
Holger Vogt d7485d7136 Fix typo 2022-10-14 13:51:16 +02:00