tran setup info, cleanup
This commit is contained in:
parent
5f9f71b5a4
commit
7ec7495457
|
|
@ -2,6 +2,7 @@
|
|||
* fteext.h, inpcom.c, inp.c, options.c, winmain.c:
|
||||
variable ngdebug added, sets ft_ngdebug,
|
||||
used for additional debug info printing
|
||||
* dctran.c: setup info added
|
||||
|
||||
2009-09-16 Holger Vogt
|
||||
* inpcom.c: .global was diabled, reinstated
|
||||
|
|
|
|||
|
|
@ -56,12 +56,6 @@ void line_free_x(struct line * deck, bool recurse);
|
|||
void SetAnalyse( char * Analyse, int Percent);
|
||||
#endif
|
||||
|
||||
/* uncomment this line for getting deck output after all
|
||||
manipulations into debug-out2.txt.
|
||||
Used to check numpram substitution, compare to debug.out.txt
|
||||
retrieved from inpcom.c, fcn inp_readall()*/
|
||||
/* #define OUTDECK */
|
||||
|
||||
/* Do a listing. Use is listing [expanded] [logical] [physical] [deck] */
|
||||
void
|
||||
com_listing(wordlist *wl)
|
||||
|
|
|
|||
|
|
@ -30,13 +30,6 @@ Author: 1985 Wayne A. Christopher
|
|||
* space are also allowed.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SJB 22 May 2001
|
||||
* Fixed memory leaks in inp_readall() when first(?) line of input begins with a '@'.
|
||||
* Fixed memory leaks in inp_readall() when .include lines have errors
|
||||
* Fixed crash where a NULL pointer gets freed in inp_readall()
|
||||
*/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
||||
#ifdef HAVE_LIBGEN_H /* dirname */
|
||||
|
|
@ -71,10 +64,6 @@ Author: 1985 Wayne A. Christopher
|
|||
/* SJB - Uncomment this line for debug tracing */
|
||||
/*#define TRACE*/
|
||||
|
||||
/* uncomment this line for getting deck output after all
|
||||
manipulations into debug-out.txt */
|
||||
/* #define OUTDECK */
|
||||
|
||||
#ifdef HAS_WINDOWS
|
||||
void winmessage(char* new_msg);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -529,7 +529,10 @@ resume:
|
|||
}
|
||||
#endif
|
||||
#ifdef HAS_WINDOWS
|
||||
SetAnalyse( "tran", (int)((ckt->CKTtime * 1000.) / ckt->CKTfinalTime));
|
||||
if (ckt->CKTtime == 0.)
|
||||
SetAnalyse( "tran init", 0);
|
||||
else
|
||||
SetAnalyse( "tran", (int)((ckt->CKTtime * 1000.) / ckt->CKTfinalTime));
|
||||
#endif
|
||||
ckt->CKTdelta =
|
||||
MIN(ckt->CKTdelta,ckt->CKTmaxStep);
|
||||
|
|
|
|||
Loading…
Reference in New Issue