rlar
ac336c9920
options.c, cleanup inp_getoptsc()
10 years ago
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
10 years ago
rlar
b4119b94e3
xspice, cm.h, swallow warnings
10 years ago
rlar
9c2733db48
macros.h, cleanup SGN() macro
10 years ago
rlar
4c2e4d0c2f
drop SIGN(), SIGN(1.0,x) --> SGN(x)
10 years ago
rlar
ea5ad6b0e7
drop DC_ABS() and FTEcabs()
10 years ago
rlar
15f2c67968
use M_PI
10 years ago
rlar
9dcf62e1cd
drop home grown mathematical constants
10 years ago
rlar
cbf31c50c2
multi_line.h, drop some excess macros
10 years ago
h_vogt
ae80067fef
cmath2.c, new function stddev to calculate the standard deviation of all elements of a vector
10 years ago
h_vogt
0d50547ac1
commands.c: allow 10000 tokens for 'echo' and 'wrdata'
10 years ago
rlar
0d1b4d54c0
**/Makefile.am, fix "make dist"
10 years ago
rlar
ceed247131
src/Makefile.am, bug #327 , "fix install path for include files"
install in $includedir/ngspice
which is by default $prefix/include/ngspice
Thanks to Maciej Suminski who reported the issue in
#327 Header files are installed in /usr/share/ngspice/include/ngspice
https://sourceforge.net/p/ngspice/bugs/327/
10 years ago
rlar
b302dbe975
inp.c, cleanup using new function `line_nconc()'
10 years ago
h_vogt
c28c5d307a
inp.c, remove bug with handling of options: options stemming from a command file are kept, options from sourced circuit are removed with ckt
10 years ago
rlar
00e571dc00
frontend/inpcom.c, declare search_identifier() non static
10 years ago
h_vogt
bbd7edad72
xspice, two new commands, edisplay and eprvcd
'edisplay' will show a list of all event nodes
'eprvcd' will print all event nodes in vcd format
usage: eprvcd a0 a1 a2 b0 b1 b2 clk > myvcd.vcd
10 years ago
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
10 years ago
rlar
c4cd2270ed
com_history.c, static declaration for 'cp_hprint()'
10 years ago
rlar
6156ebd930
fteext.h, remove prototype for nonexistant 'zigset()'
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
994bec7859
declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
10 years ago
h_vogt
f66e76fb5f
implement option 'xmu' to control trapezoidal integration method
default is 0.5
option xmu=0.49
can be used to add some damping to reduce trap ringing
set xmu=0.49
or
.option xmu=0.49
works as well
10 years ago
rlar
4c60783e4d
xspice, implement EVTdest() to fix xspice memory leaks
10 years ago
rlar
af93d79675
ngspice/mifparse.h, ngspice/mifcmdat.t, reduce scope of these include files
10 years ago
rlar
97cc400efb
ngspice/evt.h, ngspice/enh.t, reduce scope of these include files
10 years ago
rlar
cff23b8d38
fix commit "ngspice.h, cm.h, cleanup NAN defines"
10 years ago
rlar
5299f8cdb6
ngspice.h, cm.h, cleanup NAN defines
10 years ago
rlar
f3e61b838e
frontend/inpcom.c, use "stringskip.h"
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
b36385e333
improve `SWAP' macro
10 years ago
rlar
273be42cfd
improve `ABORT' macro
10 years ago
rlar
6342bec8ec
everywhere, drop `MALLOC()' and `REALLOC()'
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
h_vogt
7d8e287fa3
enable backquote substitution for Visual Studio console apps
10 years ago
h_vogt
25264b3980
memory.h: hrealloc not used anywhere
10 years ago
rlar
d0c5a495ca
ngspice.h, cm.h, cmpp.h, introduce char variants of the <ctype.h> family
10 years ago
rlar
07aba2e2ae
frontend/variable.c, used `isalnum()' instead of homegrown `isalphanum()'
10 years ago
h_vogt
356a262f7f
cktdefs.h, some parameter descriptions added
10 years ago
rlar
885e7df8a5
xspice, introduce cm_message_printf()
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
rlar
df70661c3a
dvec abstraction, #11/11, introduce `dvec_realloc()'
10 years ago
rlar
c2a7821449
dvec abstraction, #10/11, introduce `dvec_trunc()'
10 years ago
rlar
3962453739
dvec abstraction, #9/11, introduce `dvec_free()'
10 years ago
rlar
8243696338
dvec abstraction, #8/11, upgrade `dvec_alloc()'
10 years ago
rlar
9d99a06bcd
dvec abstraction, #2/11, introduce `dvec_alloc()'
10 years ago