Holger Vogt
1cd15e382e
Reduce excessive use of TREALLOC
2023-05-27 16:44:30 +02:00
Giles Atkinson
aaa6798950
Fix bugs found while investigating Bug #585 (convergence failure only
...
on Linux). In dctran.c make it impossible for a transient simulation
to run far past its end time and fix an infinite loop attempting to remove
the automatically-inserted ending breakpoint. In outitf.c fix memory
corruption if the simulation does over-run (change suggested by Holger Vogt).
2022-10-07 11:32:02 +02:00
Holger Vogt
2ef3f66f96
if 'set ngdebug' print out transient initial conditions also with UIC set.
2021-09-29 20:10:25 +02:00
Holger Vogt
f10676a8aa
re-enable tran TSTART, which got lost in Commit [da7172] when UIC is set
2020-12-22 11:06:16 +01:00
Holger Vogt
c69a4d6633
fix typo
...
Reported by Ferdy in bug report #506
2020-08-20 15:47:17 +02:00
Holger Vogt
da71726765
Do not print tansient initial conditions, if uic is selected.
...
This output at time 0 is 0 as well. Only the next time step
would be valid.
Do not save the time 0 values because they are 0.
2020-08-20 15:23:54 +02:00
Holger Vogt
a459d37548
remove unused
2020-08-20 15:23:31 +02:00
Holger Vogt
06239e567f
plug a memory leak (in case of failing op for tran calculation)
2020-03-15 08:51:16 +01:00
Holger Vogt
be6eca1dbb
add 'option norefvalue' to suppress printing the reference value.
2019-03-21 16:07:12 +01:00
h_vogt
5b754cbb0e
dctran.c, exclude ipc_send_data_...
2018-05-19 16:45:09 +02:00
h_vogt
e36b028cdb
add wantevtdata if event output should be sent to caller
2018-05-19 16:43:48 +02:00
rlar
dc6e1cb064
use strchr() instead of strstr()
2017-03-19 20:24:49 +01:00
rlar
78efbcbff8
dctran.c, remove unused variable 'del_before'
2016-08-15 11:27:00 +02:00
rlar
5b42d09618
unify, use memcpy for CKTstate copy operations
2016-07-30 21:00:29 +02:00
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
2016-07-30 20:58:19 +02:00
rlar
97cc400efb
ngspice/evt.h, ngspice/enh.t, reduce scope of these include files
2016-05-07 15:36:43 +02:00
rlar
232debc6ec
drop `NEWN', use `TMALLOC'
2015-04-12 20:10:07 +02:00
h_vogt
4e1c23780c
dctran.c bug fix, reported by Berk Özer
2014-01-02 09:33:05 +01:00
rlar
5d3f4e7f55
introduce CKTsoaInit()
2014-01-02 09:32:36 +01:00
dwarning
c8f5d49ddd
implement CKTsoaCheck()
2014-01-02 09:32:34 +01:00
h_vogt
962c73e14e
dctran.c, sharedspice.c: function sharedsync has modified parameter list
2013-12-31 16:21:36 +01:00
h_vogt
3dff06228e
dctran.c, runcoms2.c: shared ngspice: remove plot data upon 'bg_halt' and 'remcirc'
2013-12-31 16:19:08 +01:00
h_vogt
a0757d3143
dctran.c: synchronization option for shared library
2013-12-31 16:13:11 +01:00
rlar
503f5d5c26
simplify #ifdef nesting #4/4
2013-12-31 16:11:48 +01:00
rlar
2c33cd49b2
simplify #ifdef nesting #3/4
2013-12-31 16:11:47 +01:00
rlar
71e953e1b9
simplify #ifdef nesting #2/4
2013-12-31 16:11:45 +01:00
rlar
b1a2eef4d0
simplify #ifdef nesting #1/4
2013-12-31 16:11:44 +01:00
h_vogt
89ae9e36a6
shared ngspice, dctran.c fcn to add breakpoints
2013-12-31 16:11:41 +01:00
rlar
29c57dd857
cleanup IFnewUid() invocations
...
checked for object file invariance
2013-12-31 16:11:37 +01:00
rlar
2f2da2bab2
cleanup OUTpBeginPlot() invocations
...
checked for object file invariance
2013-12-31 16:11:36 +01:00
h_vogt
7387d59b1a
dctran.c, bug fix `#235 When Using .TRAN analysis with UIC, ...'
...
add a breakpoint for UIC
#235 When Using .TRAN analysis with UIC, unconnected pulse bug
http://sourceforge.net/p/ngspice/bugs/235/
2013-12-31 16:09:05 +01:00
dwarning
bef25a8b58
adapt the sense2 code to ngspice
...
workaround, make the opaque struct MatrixElement partially visible
this struct is private to the `sparse' world,
and lives in "maths/sparse/spdefs.h"
which can't be included here, because
it is incompatible to the rest of ngspice.
this is the same problem as in
ciderlib/oned/oneprint.c
ciderlib/twod/twoprint.c
2013-12-31 16:07:33 +01:00
Francesco Lannutti
581e0a6d11
fix sense2, which is unsupported code
2013-12-31 16:07:12 +01:00
h_vogt
bfb2eeebbe
dctran.c: better rounding for status report
2013-12-31 12:57:00 +01:00
h_vogt
df65fa28cf
separate progress report from having Windows GUI
2013-12-31 12:56:59 +01:00
h_vogt
5a44b3f7f8
fix `SetAnalyse()' re-declaration
2013-12-31 12:56:58 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
8a154a7a9a
use SP_VOLTAGE instead of literal value `3'
...
(grep "git --no-pager grep -nH -e '->[ \t]*type.*[0-9]'")
2013-12-31 12:56:29 +01:00
rlar
4184aa8c10
cleanup, use array operator
...
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
2013-12-31 12:54:43 +01:00
Francesco Lannutti
574d39e29c
remove almost empty src/maths/ni/nipred.h
2012-12-25 02:27:04 +01:00
Francesco Lannutti
c23bd59c44
removed ancient PARALLEL_ARCH feature
...
removed variables
ARCHme
ARCHsize
removed functions
SMPcombine()
SMPcCombine()
CKTpartition()
removed files
spcombin.c
cktpartn.c
removed struct slots
STATcombineTime
STATtranCombTime
STATacCombTime
GENowner
<MODEL>owner
2012-10-22 23:06:25 +02:00
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
2012-10-06 12:12:08 +02:00
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
2011-12-27 11:33:01 +00:00
rlar
7d75ebcb81
unify OUTpBeginPlot() invocation
2011-12-13 19:10:34 +00:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
87d9383971
use a macro to update ckt->CKTstat->STAT..
2011-12-11 14:50:18 +00:00
rlar
fd9dec37a3
auxiliary define `job' --> local variable `job'
2011-12-11 11:37:07 +00:00
rlar
f8f4e32875
auxiliary define (ANALYSIS*) ckt->CKTcurJob --> `job'
2011-12-11 11:34:38 +00:00
rlar
513bf853a9
cleanup, aiming for higher similarity of dctran.c and dcpss.c
2011-12-03 10:40:23 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00