![JAR search and dependency download from the Maven repository](/logo.png)
org.knowm.jspice.circuit.SubCircuit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jspice Show documentation
Show all versions of jspice Show documentation
A Java SPICE simulator for simulating electronic circuits
The newest version!
/**
* jspice is distributed under the GNU General Public License version 3
* and is also available under alternative licenses negotiated directly
* with Knowm, Inc.
*
* Copyright (c) 2016-2017 Knowm Inc. www.knowm.org
*
* Knowm, Inc. holds copyright
* and/or sufficient licenses to all components of the jspice
* package, and therefore can grant, at its sole discretion, the ability
* for companies, individuals, or organizations to create proprietary or
* open source (even if not GPL) modules which may be dynamically linked at
* runtime with the portions of jspice which fall under our
* copyright/license umbrella, or are distributed under more flexible
* licenses than GPL.
*
* The 'Knowm' name and logos are trademarks owned by Knowm, Inc.
*
* If you have any questions regarding our licensing policy, please
* contact us at `[email protected]`.
*/
package org.knowm.jspice.circuit;
import org.knowm.jspice.netlist.Netlist;
import org.knowm.jspice.netlist.NetlistComponent;
/**
* @author timmolter
*/
public class SubCircuit {
private Netlist subCircuitNetlist = new Netlist();
public void addNetListComponent(NetlistComponent component) {
subCircuitNetlist.addNetListComponent(component);
}
public Netlist getNetlist() {
return subCircuitNetlist;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy