#include "spice.h"
#include <stdio.h>
#include "cktdefs.h"
#include "optdefs.h"
#include "sperror.h"
#include "util.h"
#include "cktext.h"
#include "niext.h"
Go to the source code of this file.
Definition at line 29 of file niiter.c.
41 static char *msg =
"Too many iterations without convergence";
52 printf(
"load (1) returned error\n");
63 printf(
"pre-order returned error \n");
98 message = (
char *)
MALLOC(1000);
99 (void)sprintf(message,
100 "singular matrix: check nodes %s and %s\n",
106 printf(
"reorder returned error ");
108 printf(
"at time=%g",ckt->
CKTtime);
129 DEBUGMSG(
" forced reordering....\n");
133 printf(
"load (3) returned error \n");
141 printf(
"preorder returned error\n");
150 printf(
"lufac returned error \n");
168 if (iterno > maxIter) {
173 printf(
"iterlim exceeded, time = %g\n",ckt->
CKTtime);
178 if (ckt->
CKTnoncon == 0 && iterno != 1) {
220 printf(
"bad initf state \n");
230 printf(
"load (2) returned error \n");
237 printf(
"time=%15g, %d iters, %s\n", ckt->
CKTtime,iterno,
238 (error==
OK) ?
"ok" :
"fail");
#define NODENAME(ckt, nodenum)
unsigned int CKThadNodeset
static void message(char *instr, char *outstr)
#define DEBUGMSG(testargs)