shared ngspice, dctran.c fcn to add breakpoints

This commit is contained in:
h_vogt 2013-07-14 18:49:25 +02:00 committed by rlar
parent 8147b03465
commit 89ae9e36a6
1 changed files with 7 additions and 0 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 { \
@ -132,6 +135,10 @@ DCtran(CKTcircuit *ckt,
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 */