|
|
|
@ -52,10 +52,10 @@ static int handle_init_info(OsdiInitInfo info, const OsdiDescriptor *descr) { |
|
|
|
|
|
|
|
/* |
|
|
|
* The OSDI instance data contains the `node_mapping` array. |
|
|
|
* Here an index is stored for each node. This function initalizes this array |
|
|
|
* with its indecies {0, 1, 2, 3, .., n}. |
|
|
|
* Here an index is stored for each node. This function initializes this array |
|
|
|
* with its indicies {0, 1, 2, 3, .., n}. |
|
|
|
* The node collapsing information generated by setup_instance is used to |
|
|
|
* replace these initial indecies with those that a node is collapsed into. |
|
|
|
* replace these initial indicies with those that a node is collapsed into. |
|
|
|
* For example collapsing nodes i and j sets node_mapping[i] = j. |
|
|
|
* |
|
|
|
* Terminals can never be collapsed in ngspice because they are allocated by |
|
|
|
|