/[ascend]/trunk/base/generic/solver/integrator.c
ViewVC logotype

Diff of /trunk/base/generic/solver/integrator.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 947 by johnpye, Sun Nov 26 00:26:57 2006 UTC revision 948 by johnpye, Sun Nov 26 01:36:49 2006 UTC
# Line 590  void integrator_dae_show_var(IntegratorS Line 590  void integrator_dae_show_var(IntegratorS
590      int y_id;      int y_id;
591      varname = var_make_name(sys->system, var);      varname = var_make_name(sys->system, var);
592      if(varindx==NULL){      if(varindx==NULL){
593          fprintf(stderr,"?\t%s\n",varname);          fprintf(stderr,".\t%s\n",varname);
594          ASC_FREE(varname);          ASC_FREE(varname);
595          return;          return;
596      }      }
# Line 610  void integrator_visit_system_vars(Integr Line 610  void integrator_visit_system_vars(Integr
610    
611    /* visit all the slv_system_t master var lists to collect vars */    /* visit all the slv_system_t master var lists to collect vars */
612    /* find the vars mostly in this one */    /* find the vars mostly in this one */
613    vlist = slv_get_master_var_list(sys->system);    vlist = slv_get_solvers_var_list(sys->system);
614    vlen = slv_get_num_master_vars(sys->system);    vlen = slv_get_num_solvers_vars(sys->system);
615    for (i=0;i<vlen;i++) {    for (i=0;i<vlen;i++) {
616      (*visitfn)(sys, vlist[i], &i);      (*visitfn)(sys, vlist[i], &i);
617    }    }

Legend:
Removed from v.947  
changed lines
  Added in v.948

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22