Francesco Lannutti
2edf7f40f4
Fixed the two routines for SPARSE (thx to Marcel Hendrix)
2018-05-04 19:57:03 +02:00
rlar
c5a2a88fe5
(int) casts, applied to a double which just has been limited to INT_MAX
2018-05-04 19:57:03 +02:00
rlar
1c2b513cb5
casting, use (int) sizeof(), to swallow some warnings
2018-05-04 19:57:03 +02:00
rlar
939bebacd3
use TMALLOC
2018-05-04 19:57:03 +02:00
Francesco Lannutti
916f95c188
Handling the general case for an empty CSC matrix during the conversion to CSR format
2018-05-04 19:57:03 +02:00
Francesco Lannutti
aec26b07f8
Ordered the COO format also along the columns to have a correct CSR format
2018-05-04 19:57:03 +02:00
Francesco Lannutti
5f3ee6f43d
Fixed the AC part of the Sensitivity Analysis
2018-05-04 19:57:03 +02:00
Francesco Lannutti
92511e025d
Fixed the CSC to CSR conversion for KLU matrix-vector multiplication
2018-05-04 19:57:03 +02:00
Francesco Lannutti
198ba9131e
Fixed Sensibility Analysis for KLU - First Trial
2018-05-04 19:57:03 +02:00
Francesco Lannutti
bd3c2a2fcd
Avoid crashing during the Sensitivity Analysis in KLU, stating that it isn't supported
2018-05-04 19:57:03 +02:00
Francesco Lannutti
7a06f9ce12
Fixed Sensitivity Analysis integration for KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
15906b9b93
Fixed the sign inversion calculation for the determinant of KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
885d0f7b9a
Implement klu_z_print()
2018-05-04 19:57:03 +02:00
Francesco Lannutti
2c0528aef5
Implement spMatrix_CSC_dump()
2018-05-04 19:57:03 +02:00
rlar
4dfc0b7917
fix vsrc for pz analysis
2018-05-04 19:57:03 +02:00
Francesco Lannutti
5c1c4c252f
Use spDeterminant_KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
c093d0221a
Implemented spDeterminant_KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
e02ffb95b8
Fixed SMPcZeroCol
2018-05-04 19:57:03 +02:00
Francesco Lannutti
b0c2b1be6a
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
2018-05-04 19:57:03 +02:00
Francesco Lannutti
3af0469779
other fixes
2018-05-04 19:57:03 +02:00
Francesco Lannutti
ee1c1a36a7
Fixed a bug in SMPpreOrder and let KLU digest an empty matrix
2018-05-04 19:57:03 +02:00
Francesco Lannutti
4e308894b1
Implemented the Solve Transpose for KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
06c7386612
Fixed the SMPcSolve routine for KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
88c525b0ae
Enhanced KLU to avoid loosing computation cycles. The speedup is quite low, though: ~1%
2018-05-04 19:57:03 +02:00
Francesco Lannutti
3fae38208b
fix the list of supported devices
2018-05-04 19:57:03 +02:00
rlar
92eb011060
Added CPL Model to KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
74c986d040
Added HISIMHV2 Model to KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
08dcea978d
Added ASRC Model to KLU
2018-05-04 19:57:03 +02:00
Francesco Lannutti
c79ff66aa7
KLU Integration from scratch #7 , devices, bsim4/ (which is bsim4v8)
2018-05-04 19:57:03 +02:00
rlar
00e05560bb
KLU Integration from scratch #6 , devices, bsim4v7/
2018-05-04 19:57:03 +02:00
Francesco Lannutti
fe072aba9d
Fixed the KLU package to let it correctly compile in libngspice.so
2018-05-04 19:57:03 +02:00
Francesco Lannutti
c11cec02b2
KLU Integration from scratch #5 , devices
2018-05-04 19:57:03 +02:00
Francesco Lannutti
c30e9b6299
KLU Integration from scratch #4 , changed files
2018-05-04 19:57:03 +02:00
Francesco Lannutti
9f4fc2f0c8
KLU Integration from scratch #1 , new files
2018-05-04 19:55:51 +02:00
Francesco Lannutti
3c570e9b6f
move include files to src/include/ngspice/
2018-05-04 19:55:51 +02:00
Francesco Lannutti
11c7632a9a
fix include file directories (will be in src/include/ngspice/)
2018-05-04 19:55:51 +02:00
rlar
1fd82cfa2e
delete-trailing-whitespace
2018-05-04 19:55:51 +02:00
Francesco Lannutti
3a02883de9
incorporate KLU source files from SuiteSparse-3.7.0.tar.gz
2018-05-04 19:55:51 +02:00
rlar
2db2097cbb
SuiteSparse.org, recipe for incorporation of SuiteSparse-3.7.0.tar.gz
2018-05-04 19:55:51 +02:00
Francesco Lannutti
e93a5b896c
KLU Integration from scratch #1 , examples/klu/Circuits
2018-05-04 19:55:51 +02:00
rlar
45a70b3a53
rewrite, use enum instead of #define sequences
...
see branch "rewrite-defines2enum"
2018-04-30 19:23:18 +02:00
Francesco Lannutti
3a7e9411c3
drop #ifdef MUTUAL
2018-04-22 22:10:43 +02:00
rlar
bcf00ade06
cpl/cplsetup.c, cleanup VECTOR_ALLOC and MATRIX_ALLOC
...
swap first two arguments for readability
2018-04-22 22:04:45 +02:00
rlar
04dc62ef13
devices/*, move kind of `enum' defines out of struct definition
2018-04-15 15:05:02 +02:00
rlar
3b0e8cb8f1
vsrc/isrc, use an explicit #ifdef "PULSE_FUN_TYPES" guard
...
to avoid duplicate definition
2018-04-15 15:05:02 +02:00
rlar
a729c2860c
sensitivity, drop redundant #defines SENS_LIN/OCT/DEC/DEFPERT
...
use SENS_LINEAR/OCTAVE/DECADE/DEFPERTUB instead
2018-04-15 15:05:02 +02:00
rlar
a9439dc7dd
sensitivity, use numStates and numSenStates instead of hardcoded literals
2018-04-15 15:04:57 +02:00
rlar
d3f13edd4a
devices/vbic/vbicsetup.c, bug fix, incorrect states allocation
...
VBICnumSenStates is 10 not 8
2018-04-15 08:42:02 +02:00
rlar
d981fb331b
spicelib/devices/*, drop empty destroy functions
2018-04-15 07:13:06 +02:00
rlar
e725d728fc
res/restemp.c, avoid temporary NaN value, (simplify debugging)
...
RESupdate_conduct() may be called several times before all
parameters have been set via RESparam() invocations,
or finally being set to default values in RESsetup()
Especially RESscale might still be 0.0 as well as RESm
thus temporarily creating a NaN in RESupdate_conduct.
This would unnecessarily complicate debugging with enabled
floating point exceptions.
2018-03-17 18:36:12 +01:00