#include "spice.h"
#include <stdio.h>
#include <math.h>
#include "ltradefs.h"
#include "sperror.h"
#include "util.h"
#include "cktext.h"
Go to the source code of this file.
#define CHECK |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: FABS(50.0*(.33*ckt->CKTreltol*(
a+b+
c) + ckt->CKTabstol)))
Definition at line 224 of file ltraacct.c.
static void ltra_sbrk |
( |
| ) |
|
|
static |
Definition at line 228 of file ltraacct.c.
234 double v1, v2, v3, d1, d2;
237 v1 = *(ckt->CKTstate0 + here->LTRAv1Tot);
238 v2 = *(ckt->CKTstate1 + here->LTRAv1Tot);
240 *(ckt->CKTstate2 + here->LTRAv1Tot);
248 &&
CHECK(v1,v2,v3)) {
254 v1 = *(ckt->CKTstate0 + here->LTRAv2Tot);
255 v2 = *(ckt->CKTstate1 + here->LTRAv2Tot);
257 *(ckt->CKTstate2 + here->LTRAv2Tot);
265 &&
CHECK(v1,v2,v3)) {
Definition at line 24 of file ltraacct.c.
215 fprintf(stdout,
"compacted at time=%g\n",
struct sLTRAinstance * LTRAnextInstance
LTRAinstance * LTRAinstances
double * LTRAh3dashCoeffs
unsigned int CKTtryToCompact
#define REALLOC(ptr, type, number)
int LTRAstraightLineCheck()
struct sLTRAmodel * LTRAnextModel
double * LTRAh1dashCoeffs