Holger Vogt
c6efc6bc9c
Send 'refernce value' to stdout, not to stderr
3 years ago
Holger Vogt
5b0b328186
If a node name to be plotted ends by ':power', its type is set to POWER.
Thus 'settype power nodename(s)' in the examples is no longer necessary.
4 years ago
Holger Vogt
0e885bc3a9
Function guess_type may yield the wrong type, because
it does not cover all of the the many, many options possible.
This commit fixes bug597, where [current] was interpreted as
capacitance.
4 years ago
Holger Vogt
f698ce6281
Write out the current in the old fashion
1 v1#branch current
when keep#branch is set in .spiceinit.
To make the raw file compatible with ICCAP.
4 years ago
Holger Vogt
fc83328952
Rename the internal circuit nodes generated by .probe
to probe_int_xxx to make it probe specific.
Don't save these nodes.
4 years ago
Holger Vogt
9619b52180
Don't save the internal device node collCX, added
for a new quasi-saturation model of bjt
4 years ago
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).
4 years ago
Holger Vogt
93f904fb0b
Make 'speedcheck' also available in batch mode simulation.
5 years ago
Holger Vogt
3cf6857cfc
Fix bug #557
Revise memory allocation for different analysis types
5 years ago
Holger Vogt
3a908c76ef
Prevent crash, refName may be NULL
5 years ago
Holger Vogt
e91ec306ba
Remove some compiler warnings
5 years ago
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