Browse Source

Removed --enable-intnoise switch and related ifdef. Integrated noise


			
			
				pre-master-46
			
			
		
pnenzi 18 years ago
parent
commit
cacdda8fde
  1. 5
      ChangeLog
  2. 8
      configure.in
  3. 2
      src/spicelib/analysis/noisean.c

5
ChangeLog

@ -1,3 +1,8 @@
008-08-25 Paolo Nenzi
* configure.in, src/spicelib/analysis/noisean.c: removed the compilation switch
--enable-intnoise. Noise analyses now generate two plot, the first one for
spectrum and the second one the integrated noise.
2008-08-24 Paolo Nenzi
* src/main.c: Moved the #ifdef CIDER declaration. Machine accuracy limits now are
defined even if CIDER is not compiled. This is needed for the subsequent integration

8
configure.in

@ -118,10 +118,6 @@ dnl --enable-smltmsdebug: define D_DBG_SMALLTIMES for the code
AC_ARG_ENABLE(smltmsdebug,
AS_HELP_STRING([--enable-smltmsdebug],[Debug distortion code *SMALLTIMES*]))
dnl --enable-intnoise: define INT_NOISE for the code
AC_ARG_ENABLE(intnoise,
AS_HELP_STRING([--enable-intnoise],[Enable noise integration in noise analysis]))
dnl --enable-smoketest: a smoketest
AC_ARG_ENABLE(smoketest,
AS_HELP_STRING([--enable-smoketest],[Enable smoketest compile]))
@ -549,10 +545,6 @@ if test "$enable_newtrunc" = "yes"; then
AC_DEFINE(NEWTRUNC,[],[Do not trigger unwanted traps by default])
AC_MSG_RESULT(New truncation error calculation enabled)
fi
if test "$enable_intnoise" = "yes"; then
AC_DEFINE(INT_NOISE,[],[Define if we want noise integration code])
AC_MSG_RESULT(Noise integration enabled)
fi
if test "$enable_experimental" = "yes"; then
AC_DEFINE(EXPERIMENTAL_CODE,[],[Define if we want some experimental code])
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled)

2
src/spicelib/analysis/noisean.c

@ -271,7 +271,6 @@ NOISEan (CKTcircuit *ckt, int restart)
error = CKTnoise(ckt,N_DENS,N_CLOSE,data);
if (error) return(error);
#ifdef INT_NOISE
data->numPlots = 0;
data->outNumber = 0;
@ -291,7 +290,6 @@ NOISEan (CKTcircuit *ckt, int restart)
error = CKTnoise(ckt,INT_NOIZ,N_CLOSE,data);
if (error) return(error);
}
#endif
FREE(data);
return(OK);

Loading…
Cancel
Save