/[ascend]/trunk/base/generic/integrator/idaanalyse.h
ViewVC logotype

Diff of /trunk/base/generic/integrator/idaanalyse.h

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

revision 1240 by johnpye, Fri Jan 26 11:12:20 2007 UTC revision 1309 by johnpye, Sun Mar 4 07:40:17 2007 UTC
# Line 5  Line 5 
5    
6  IntegratorAnalyseFn integrator_ida_analyse; /* for new approach -- JP Jan 2007 */  IntegratorAnalyseFn integrator_ida_analyse; /* for new approach -- JP Jan 2007 */
7    
8    /**
9        Given a derivative variable, return the index of its corresponding differential
10        variable in the y vector (and equivalently the var_sindex of the diff var)
11    */
12  int integrator_ida_diffindex(const IntegratorSystem *sys, const struct var_variable *deriv);  int integrator_ida_diffindex(const IntegratorSystem *sys, const struct var_variable *deriv);
13    
14  int integrator_ida_analyse_debug(const IntegratorSystem *sys,FILE *fp);  int integrator_ida_analyse_debug(const IntegratorSystem *sys,FILE *fp);
# Line 19  const var_filter_t integrator_ida_filter Line 23  const var_filter_t integrator_ida_filter
23  */  */
24  const var_filter_t integrator_ida_filter_deriv;  const var_filter_t integrator_ida_filter_deriv;
25    
26    /**
27        Some filters that will generally be useful for IDA systems.
28    
29        A var can be non-incident. If it *is* non incident and we're going to
30        keep it, it will have to have derivative that *is* incident, and that
31        meets the following filter.
32    
33        If it doesn't have a valid derivative (eg the derivative is fixed, or
34        the variable doesn't HAVE a derivative), we will mark the non-deriv
35        var non-ACTIVE, so anyway it will end up meeting this filter after we've
36        run integrator_ida_check_vars.
37    */
38    extern const var_filter_t integrator_ida_nonderiv;
39    extern const var_filter_t integrator_ida_deriv;
40    extern const rel_filter_t integrator_ida_rel;
41    
42  #endif  #endif

Legend:
Removed from v.1240  
changed lines
  Added in v.1309

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