Holger Vogt
433a76a1f2
Guard against vector "time" not being available
5 years ago
Holger Vogt
ca26364a7a
Remove "incompatible pointer" warning
5 years ago
Holger Vogt
fb8e974ac4
i-sweep sall become a current vector (SV_CURRENT)
5 years ago
Holger Vogt
a86a500b07
checkspeed: use startclock instead of lastclock to ensure
Linux compatibility.
5 years ago
Holger Vogt
2a2a488f7d
If 'set ngdebug', and if transient simulation,
create a vector speedcheck in the tran plot
which contains the real time versus simulated time,
to check for obstacles during the course of the
transient simulation. If command 'save' is given,
one has to add speedcheck to obtain this vector.
5 years ago
Holger Vogt
a406af26d6
bug fix 'extern int sh_vecinit()', not void
See patch #96 , thanks to Balazs Kovacs
6 years ago
Holger Vogt
064bd39a2f
Unify batch mode and control mode raw file output:
Voltage is always named as v(nodename)
6 years ago
Holger Vogt
d72b4c415f
get the plot name into the event job
6 years ago
Jim Monte
8141a634d7
Fixed several issues related to plotting and vector lifetimes and made ownership of vectors clearer. The issues in bugs 419, 423, 425, and 426 were related and were addressed here.
6 years ago
Holger Vogt
b0e750c3d2
Remove printing an empty line to stderr
7 years ago
Holger Vogt
e937adc372
remove bug 388: enable plot unit W for plotting @q1[p]
7 years ago
Holger Vogt
0bd3bbd333
clarify estmation of memeory size for output vectors
7 years ago
Holger Vogt
be6eca1dbb
add 'option norefvalue' to suppress printing the reference value.
7 years ago
Holger Vogt
5cd23fae72
move adding 1 to meminit to the right place (needed only once)
7 years ago
Holger Vogt
764542e5b1
Set up all memory in a single step for vector list in a plot.
This is to avoid multiple calls to time consuming TREALLOC
7 years ago
Holger Vogt
9a1b9dc2e6
reduce the amount of reallocs by making the vector size generation
dependent on tstep and tstop for tran or pss simulation
7 years ago
Holger Vogt
2a3c88add6
Commit ad0f59657 ("fix a memory leak", 2018-08-13) made
the special device parameter notation @m1[vt0] unusable.
This fix frees only the tokens that are already overridden
in function INPinsertNofree(). The reason for using this
function instead of INPinsert() is not obvious.
8 years ago
dwarning
561fdd805c
rm unused variables
8 years ago
Holger Vogt
ad0f596570
fix a memory leak
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
h_vogt
ce9f23f7af
outitf.c, restrict vector length to 1, the minimum needed
9 years ago
h_vogt
a393c47ec8
outitf.c, add flag 'save none' for shared ngspice. Output data will not be stored, but are available via callback function ng_data.
9 years ago
rlar
878c9645c7
frontend/outitf.c, drop /* ARGSUSED */ comments
8 years ago
Holger Vogt
edc690e26f
frontend/outitf.c, plug a memory leak when `.option interp'
8 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
Krzysztof Blaszkowski
03b47b3e34
src/frontend/outif.c, plotAddRealValue() etc, rallocate more coarsely
reallocate in chunks, instead of once per time step.
10 years ago
Krzysztof Blaszkowski
2c63d0f6d3
frontend/outitf.c, #4/4, reorder, first do the work, then print
10 years ago
Krzysztof Blaszkowski
e952014016
frontend/outitf.c, #3/4, abstraction, `&run->data[i]' --> `d'
10 years ago
Krzysztof Blaszkowski
7720ae936f
frontend/outitf.c, #2/4, avoid repeated access to `run->numData'
10 years ago
Krzysztof Blaszkowski
6fa60faf7e
frontend/outitf.c, #1/4, abstraction, introduce `OUTpD_memory()'
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
fdae9b7c06
dvec abstraction, #7/11, emphasise `v_scale = NULL' initialisation
10 years ago
rlar
908c650f72
dvec abstraction, #3/11, use `dvec_alloc()'
10 years ago
rlar
6709ab900a
frontend/outitf.c, plotInit(), reorder
10 years ago
rlar
d37f18d777
misc/string.c, sprinkle some const'ness
10 years ago
rlar
5d19c99e94
src/frontend/outitf.c, bug fix, "resume" causing segment violation
introduced in commit
"noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)"
analysisPtr is NULL when beginPlot() is invoked to "resume"
11 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 years ago
rlar
8d6726f0f4
noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)
11 years ago
rlar
76a48c161d
src/frontend/outif.c, introduce guess_type() for common code in plotInit() and fileInit_pass2()
11 years ago
rlar
54c0f47dde
src/frontend/outif.c, fileInit_pass2(), add inoise/onoise types
which were missing in commit:
> Date: Fri Mar 18 20:15:10 2011 +0000
> bug no. 3214252 fixed
11 years ago
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
a varargs variant of the older variants OUTerror() and IFerror()
12 years ago
h_vogt
bdb54257c7
outitf.c: new option interp to plot interpolated raw file data
during transient analysis
12 years ago
h_vogt
e2f3ea24c0
main.c, suppress progress report when '-o' is used to redirect output
12 years ago
rlar
468dcd8f4d
avoid `enumerated type mixed with another type' compiler warning
13 years ago
h_vogt
be45a5ca37
outitf.c: plug memory leak
13 years ago
h_vogt
ff4d42d651
outitf.c: prepare for feedback in shared ngspice
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
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
13 years ago