cccirc_to_netlist.m
SYNTAX: [netlist,inode1,inode2] = ...
cccirc_to_netlist(cccirc,tok_data_struct,netlist_file)
PURPOSE: Convert circuit connection defined by cccirc, vvgroup, and vvcirc
into netlist.
INPUT:
cccirc = either cccirc vector or structure containing any combination
of cccirc, vvgroup, and vvcirc
tok_data_struct = vacuum data objects structure
netlist_file = name of netlist file to create (optional, not created
if no name specified)
OUTPUT:
netlist = similar to netlist input to Spice code, except that the
"value" of M entries is the row corresponding to M and R matrices for
that coil. Fictitious connections to ground are added to simplify
the nodal analysis that occurs in building the system model.
RESTRICTIONS: Code has been added to handle non-default vvgroup,vvcirc and the more
complex code has been verified to work for default vvgroup, vvcirc but not
extensively tested for non-default settings yet.
Dependencies