ngspice/src/frontend/circuits.c

30 lines
663 B
C
Raw Normal View History

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
**********/
/* Routines for dealing with the circuit database. This is currently
* unimplemented. */
2000-04-27 22:03:57 +02: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
ft_newcirc(struct circ *ci)
2000-04-27 22:03:57 +02:00
{
ci->ci_next = ft_circuits;
ft_circuits = ci;
2000-04-27 22:03:57 +02:00
}