Commit Graph

5362 Commits

Author SHA1 Message Date
Francesco Lannutti 0c89a0be3a Fixed CUSPICE compilation under NVCC versions prior than 6.0. CUSPICE will be compiled for every architectures supported by NVCC 2017-09-17 17:24:13 +02:00
Francesco Lannutti 72614c8f48 Fixed a bug in CUSPICE 2017-09-17 17:24:13 +02:00
Francesco Lannutti b52f33b629 Fixed a bug in libtool_wrapper_for_cuda.tcl to handle correct compilation of -fPIC objects 2017-09-17 17:24:13 +02:00
Francesco Lannutti 4dbc588b31 Whitespaces and cosmetic changes to improve readability 2017-09-17 17:24:13 +02:00
Francesco Lannutti 1afbccdb3b CUSPICE Integration from scratch 2017-09-17 17:24:13 +02:00
Francesco Lannutti fbec617c84 Fixed the KLU binding for BJT 2017-09-17 17:24:13 +02:00
Francesco Lannutti 203513a33f Commented out some debug printings 2017-09-17 17:24:13 +02:00
Francesco Lannutti fa61e0b9ac Fixed the two routines for SPARSE (thx to Marcel Hendrix) 2017-09-17 17:24:13 +02:00
rlar 13b0c64383 (int) casts, applied to a double which just has been limited to INT_MAX 2017-09-17 17:24:13 +02:00
rlar 6ff8182e82 casting, use (int) sizeof(), to swallow some warnings 2017-09-17 17:24:13 +02:00
rlar de51032ff0 use TMALLOC 2017-09-17 17:24:13 +02:00
Francesco Lannutti 693e1a1b4f Handling the general case for an empty CSC matrix during the conversion to CSR format 2017-09-17 17:24:13 +02:00
Francesco Lannutti e91a551370 Ordered the COO format also along the columns to have a correct CSR format 2017-09-17 17:24:13 +02:00
Francesco Lannutti caf51cdddc Fixed the AC part of the Sensitivity Analysis 2017-09-17 17:24:12 +02:00
Francesco Lannutti 8cf82e9275 Fixed the CSC to CSR conversion for KLU matrix-vector multiplication 2017-09-17 17:24:12 +02:00
Francesco Lannutti b30743b4bc Fixed Sensibility Analysis for KLU - First Trial 2017-09-17 17:24:12 +02:00
Francesco Lannutti 0ad00ea15d Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported 2017-09-17 17:24:12 +02:00
Francesco Lannutti ec8e4369a8 Fixed Sensitivity Analysis integration for KLU 2017-09-17 17:24:12 +02:00
Francesco Lannutti 7f7025af8a Fixed the sign inversion calculation for the determinant of KLU 2017-09-17 17:24:12 +02:00
Francesco Lannutti d4be3b1354 Implement klu_z_print() 2017-09-17 17:24:12 +02:00
Francesco Lannutti b5c587271f Implement spMatrix_CSC_dump() 2017-09-17 17:24:12 +02:00
rlar 46b46f773c fix vsrc for pz analysis 2017-09-17 17:24:12 +02:00
Francesco Lannutti 8a9387a79a Use spDeterminant_KLU 2017-09-17 17:24:12 +02:00
Francesco Lannutti 4f3fa801f1 Implemented spDeterminant_KLU 2017-09-17 17:24:12 +02:00
Francesco Lannutti 55223ad468 Fixed SMPcZeroCol 2017-09-17 17:24:12 +02:00
Francesco Lannutti 3dd2a40dc5 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 2017-09-17 17:24:12 +02:00
Francesco Lannutti 3c61520119 other fixes 2017-09-17 17:24:12 +02:00
Francesco Lannutti 35f095d663 Fixed a bug in SMPpreOrder and let KLU digest an empty matrix 2017-09-17 17:24:12 +02:00
Francesco Lannutti 67b7fc6570 Implemented the Solve Transpose for KLU 2017-09-17 17:22:16 +02:00
Francesco Lannutti c991737022 Fixed the SMPcSolve routine for KLU 2017-09-17 17:22:16 +02:00
Francesco Lannutti c2e206a4eb Enhanced KLU to avoid loosing computation cycles. The speedup is quite low, though: ~1% 2017-09-17 17:22:16 +02:00
Francesco Lannutti bd219965dc fix the list of supported devices 2017-09-17 17:22:16 +02:00
rlar ae17e49bc4 Added CPL Model to KLU 2017-09-17 17:22:16 +02:00
Francesco Lannutti 69f4b33cbc Added HISIMHV2 Model to KLU 2017-09-17 17:22:16 +02:00
Francesco Lannutti 8bb6525a78 Added ASRC Model to KLU 2017-09-17 17:22:16 +02:00
Francesco Lannutti 3b3236cbac KLU Integration from scratch #7, devices, bsim4/ (which is bsim4v8) 2017-09-17 17:22:16 +02:00
rlar b621bbe16b KLU Integration from scratch #6, devices, bsim4v7/ 2017-09-17 17:22:16 +02:00
Francesco Lannutti 0375f0f523 Fixed the KLU package to let it correctly compile in libngspice.so 2017-09-17 17:22:16 +02:00
Francesco Lannutti 70b086863b KLU Integration from scratch #5, devices 2017-09-17 17:22:16 +02:00
Francesco Lannutti 03e5f5eb7a KLU Integration from scratch #4, changed files 2017-09-17 17:22:15 +02:00
Francesco Lannutti e12daabda5 KLU Integration from scratch #1, new files 2017-09-17 17:22:15 +02:00
Francesco Lannutti d4932f7442 move include files to src/include/ngspice/ 2017-09-17 17:22:15 +02:00
Francesco Lannutti 9a80981d1c fix include file directories (will be in src/include/ngspice/) 2017-09-17 17:22:15 +02:00
rlar 59a33fc43e delete-trailing-whitespace 2017-09-17 17:22:15 +02:00
Francesco Lannutti c04f6e3014 incorporate KLU source files from SuiteSparse-3.7.0.tar.gz 2017-09-17 17:22:15 +02:00
rlar bcb8f0e080 SuiteSparse.org, recipe for incorporation of SuiteSparse-3.7.0.tar.gz 2017-09-17 17:22:15 +02:00
Francesco Lannutti 2659949be8 KLU Integration from scratch #1, examples/klu/Circuits 2017-09-17 17:22:15 +02:00
rlar b45622e7ab typify VECTOR_ALLOC and MATRIX_ALLOC 2017-09-17 17:22:14 +02:00
Francesco Lannutti 95fe893581 Modified the Sensitivity Analysis to use the SMP interface for SPARSE 2017-09-17 17:22:14 +02:00
Francesco Lannutti af7ab797c2 build-for-mac-os.sh, script to build ngspice under MacOS 2017-09-17 08:48:28 +02:00