2000-04-27 22:03:57 +02:00
|
|
|
/**********
|
|
|
|
|
Copyright 1990 Regents of the University of California. All rights reserved.
|
|
|
|
|
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|
|
|
|
**********/
|
|
|
|
|
|
2000-05-05 13:07:10 +02:00
|
|
|
/* Routines for dealing with the circuit database. This is currently
|
|
|
|
|
* unimplemented. */
|
2000-04-27 22:03:57 +02:00
|
|
|
|
2011-12-11 19:05:00 +01:00
|
|
|
#include "ngspice/ngspice.h"
|
|
|
|
|
#include "ngspice/cpdefs.h"
|
|
|
|
|
#include "ngspice/ftedefs.h"
|
|
|
|
|
#include "ngspice/dvec.h"
|
2000-04-27 22:03:57 +02:00
|
|
|
#include "circuits.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct circ *ft_curckt = NULL; /* The default active circuit. */
|
|
|
|
|
struct circ *ft_circuits = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Now stuff to deal with circuits */
|
|
|
|
|
|
|
|
|
|
/* Add a circuit to the circuit list */
|
|
|
|
|
|
|
|
|
|
void
|
2015-12-15 18:29:27 +01:00
|
|
|
ft_newcirc(struct circ *ci)
|
2000-04-27 22:03:57 +02:00
|
|
|
{
|
2015-12-15 18:29:27 +01:00
|
|
|
ci->ci_next = ft_circuits;
|
|
|
|
|
ft_circuits = ci;
|
2000-04-27 22:03:57 +02:00
|
|
|
}
|