shared ngspice, dctran.c fcn to add breakpoints

This commit is contained in:
h_vogt 2013-07-14 18:49:25 +02:00
parent 5754a21362
commit b973d32778
1 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,9 @@ extern struct dbcomm *dbs;
#include "ngspice/cluster.h"
#endif
#ifdef SHARED_MODULE
extern int add_bkpt(void);
#endif
#define INIT_STATS() \
do { \
@ -131,7 +134,9 @@ DCtran(CKTcircuit *ckt,
ckt->CKTbreaks[0] = 0;
ckt->CKTbreaks[1] = ckt->CKTfinalTime;
ckt->CKTbreakSize = 2;
#ifdef SHARED_MODULE
add_bkpt();
#endif
#ifdef XSPICE
/* gtri - begin - wbk - 12/19/90 - Modify setting of CKTminBreak */
/* Set to 10 times delmin for ATESSE 1 compatibity */