Add some comments for inppas1,2,3

This commit is contained in:
Holger Vogt 2021-04-02 12:21:05 +02:00
parent d07fab904c
commit db5c6cd0ec
1 changed files with 5 additions and 5 deletions

View File

@ -158,17 +158,17 @@ if_inpdeck(struct card *deck, INPtables **tab)
ft_curckt->ci_curTask = ft_curckt->ci_defTask; ft_curckt->ci_curTask = ft_curckt->ci_defTask;
/* reset the model table, will be filled in anew in INPpas1() */ /* Parse the .model lines. Enter the model into the global model table modtab. */
modtab = NULL; modtab = NULL;
INPpas1(ckt, deck->nextcard, *tab); INPpas1(ckt, deck->nextcard, *tab);
/* store the new model table in the current circuit */ /* store the new model table in the current circuit */
ft_curckt->ci_modtab = modtab; ft_curckt->ci_modtab = modtab;
/* Scan through the instance lines and parse the circuit. */
INPpas2(ckt, deck->nextcard, *tab, ft_curckt->ci_defTask); INPpas2(ckt, deck->nextcard, *tab, ft_curckt->ci_defTask);
/* INPpas2 has been modified to ignore .NODESET and .IC /* Fill in .NODESET and .IC data.
* cards. These are left till INPpas3 so that we can check for * nodeset/ic of non-existent nodes is rejected. */
* nodeset/ic of non-existant nodes. */
INPpas3(ckt, deck->nextcard, INPpas3(ckt, deck->nextcard,
*tab, ft_curckt->ci_defTask, ft_sim->nodeParms, *tab, ft_curckt->ci_defTask, ft_sim->nodeParms,
ft_sim->numNodeParms); ft_sim->numNodeParms);