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
Krzysztof Blaszkowski
0bfee6575b
ngspice/dvec.h, struct member `v_rlength', improve comment
10 years ago
h_vogt
a18ac9c474
include/ngspice/cm.h, xspice, introduce NAN for visual studio
10 years ago
rlar
d37f18d777
misc/string.c, sprinkle some const'ness
10 years ago
rlar
9473ec575f
drop some remaining `NEW*' macros, use TMALLOC instead
10 years ago
rlar
9546b178fb
drop macro `NEW', use TMALLOC instead
10 years ago
h_vogt
0b92d8cfe1
src/sharedspice.c, add vfprintf to interface for transferring messages
10 years ago
rlar
18426c755d
harmonise `struct circ' variables, `ckt' --> `ci'
10 years ago
rlar
f826ff82f8
introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()'
10 years ago
h_vogt
df846346a1
visualc, cope with `bool' and `isnan()' in visual studio 2015
now they have isnan(),
(presumably in math.h)
now they have a C99 `bool',
(maybe even though not asked for with <stdbool.h>)
11 years ago
rlar
29dde7206a
frontend/parse.c, introduce `alloc_pnode()'
11 years ago
rlar
e609c7411d
src/frontend/vectors.c, abstraction, introduce `vec_iszero()'
11 years ago
rlar
8be0829b9b
frontend/breakp.c, bug fix, "#306 Deleting breakpoint causes Internal Error in status"
The "delete" command destroyed the whole list of stored breakpoints
instead of just the specified one.
Thanks to "jpcgt", who reported this in
"#306 Deleting breakpoint causes Internal Error in status"
http://sourceforge.net/p/ngspice/bugs/306/
11 years ago
rlar
232debc6ec
drop `NEWN', use `TMALLOC'
11 years ago
rlar
be283109dc
numconst.h, fix pi
11 years ago
rlar
7d92eae124
noisean, introduce a .control variable "sqrnoise" to deliver noise data in squared representation
use "set srqrnoise" (and "unset sqrnoise") to control this.
11 years ago
rlar
8d6726f0f4
noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)
11 years ago
rlar
bcda90e258
src/frontend, cleanup, drop `GENcircuit'
11 years ago
rlar
07ee771a96
noise analysis, bug fix, override ac magnitude of all vsrc/isrc devices
Bug report due to Hartmut Henkel in
>> [Ngspice-users] Noise analysis depends on ac parameter
The noise analysis internally depends on an ac analysis
to derive "inoise" from "onoise"
("onoise" is multiplied with the inverse ac gain from input to output)
This AC analysis used all the given ac magnitudes for all vsrc/isrc
devices in the deck.
This fix overrides all ac magnitudes with zero,
except for the given input device,
whose magnitude is set to one.
11 years ago