67 ::srand (::time (NULL));
71 qucsint::qucsint (
char* infile)
79 ::srand (::time (NULL));
108 subnet =
new net (
"subnet");
112 pFile = fopen (infile,
"r");
120 return NETLIST_FILE_NOT_FOUND;
123 in = infile ?
new input (infile) : new input ();
126 subnet->setEnv (root);
130 if (in->netlist (subnet) != 0)
137 return NETLIST_FAILED_CHECK;
142 gnd->setNode (0,
"gnd");
143 gnd->setName (
"GND");
144 subnet->insertCircuit (gnd);
147 for (
int i = 0;
i < subnet->getNActions();
i++)
149 subnet->setActionNet(
i, subnet);
156 int qucsint::evaluate ()
161 out = subnet->runAnalysis (err);
167 int qucsint::output (
char * outfile)
170 ret |= root->equationSolver (out);
174 out->setFile (outfile);
Houses the settings for netlist evaluation.
static void registerModules(void)
The analysis class header file.
The externally controlled trsolver external class header file.
The generic external interface class header file.
void netlist_destroy_env(void)
The environment class definition.
static void unregisterModules(void)
void logprint(int level, const char *format,...)