#include "spice.h"
#include <stdio.h>
#include <math.h>
#include "devdefs.h"
#include "util.h"
#include "sperror.h"
#include "cktext.h"
Go to the source code of this file.
int CKTtrunc |
( |
CKTcircuit * |
ckt, |
|
|
double * |
timeStep |
|
) |
| |
Definition at line 26 of file ckttrunc.c.
83 error = (*func)(mh->
head,ckt,&timetemp);
88 if (temp != timetemp) {
89 printf(
"timestep cut by device type %s from %g to %g\n",
104 timetemp = sqrt(timetemp);
107 timetemp = exp(log(timetemp)/ckt->
CKTorder);
113 *timeStep =
MIN(temp,timetemp);
struct sCKTmodHead * next
struct sCKTmodHead * CKTheadList