rlar
33788f7052
remove excessive inp_evaluate_temper() prototypes
10 years ago
rlar
bd50814677
drop 'depreciated_skip..()'
10 years ago
rlar
7a42510cc0
const'ify some 'skip'ing functions
10 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
Francesco Lannutti
43f24d6f22
rewrite cktsens.c in terms of the 'SMP' matrix interface
10 years ago
rlar
fb4f462388
SMPnewMatrix(), add 'size' to the function arguments
9 years ago
rlar
c3a92e2bb3
xspice, cleanup, move typedef over to the other ones
9 years ago
rlar
239780ebef
cleanup, use an array for struct GENinstance.GENnode
9 years ago
h_vogt
78ea2e1523
winmain.c, remove of fcn 'read' in Windows
9 years ago
rlar
2bafe98f17
winmain.c, etc, cleanup
9 years ago
rlar
90a205d36d
winmain.c, etc, whitespace cleanup
9 years ago
rlar
3a9ace82bb
winmain.c, etc, cleanup, rewrite obfuscated symbols
substitute in the whole source code:
"__stream" --> "stream"
"__pos" --> "pos"
"__s" --> "s"
"__n" --> "n"
"__c" --> "c"
"__format" --> "format"
"__ptr" --> "ptr"
"__size" --> "size"
"__path" --> "path"
"__mode" --> "mode"
"__offset" --> "offset"
"__whence" --> "whence"
"__arglist" --> "arglist"
"__buf" --> "buf"
"__fp" --> "fp"
"f_c_l_o_s_e" --> "win_x_fclose"
"f_e_o_f" --> "win_x_feof"
"f_e_r_r_o_r" --> "win_x_ferror"
"f_f_l_u_s_h" --> "win_x_fflush"
"fg_e_t_c" --> "win_x_fgetc"
"f_g_e_t_p_o_s" --> "win_x_fgetpos"
"fg_e_t_s" --> "win_x_fgets"
"fp_r_i_n_t_f" --> "win_x_fprintf"
"fp_u_t_c" --> "win_x_fputc"
"fp_u_t_char" --> "win_x_fputchar"
"fp_u_t_s" --> "win_x_fputs"
"f_r_e_a_d" --> "win_x_fread"
"f_r_e_o_p_e_n" --> "win_x_freopen"
"fs_c_a_n_f" --> "win_x_fscanf"
"f_s_e_e_k" --> "win_x_fseek"
"f_s_e_t_p_o_s" --> "win_x_fsetpos"
"f_t_e_l_l" --> "win_x_ftell"
"f_w_r_i_t_e" --> "win_x_fwrite"
"g_e_t_c" --> "win_x_getc"
"g_e_t_char" --> "win_x_getchar"
"g_e_t_s" --> "win_x_gets"
"p_e_r_r_o_r" --> "win_x_perror"
"p_r_i_n_t_f" --> "win_x_printf"
"p_u_t_c" --> "win_x_putc"
"p_u_t_char" --> "win_x_putchar"
"p_u_t_s" --> "win_x_puts"
"r_e_a_d" --> "win_x_read"
"s_c_a_n_f" --> "win_x_scanf"
"ung_e_t_c" --> "win_x_ungetc"
"vfp_r_i_n_t_f" --> "win_x_vfprintf"
"vfs_c_a_n_f" --> "win_x_vfscanf"
"vp_r_i_n_t_f" --> "win_x_vprintf"
"vs_c_a_n_f" --> "win_x_vscanf"
9 years ago
rlar
93d040703d
winmain.c, drop artefact "fgetchar", cleanup/emphasise disabled "freopen"
9 years ago
rlar
b5ccfca24b
implement option 'indverbosity' to control check of inductive systems
default is 2, maximum verbosity
option indverbosity=1
can be used to prevent check for
"incomplete set of couplings"
option indverbosity=0
can be used to avoid the check altogether
set indverbosity=INTEGER
or
.option indverbosity=INTEGER
works as well
9 years ago
rlar
97cdaae19f
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
10 years ago
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