/[ascend]/trunk/models/sensitivity/sensitivity.c
ViewVC logotype

Diff of /trunk/models/sensitivity/sensitivity.c

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

revision 2063 by jpye, Wed Apr 29 03:38:10 2009 UTC revision 2064 by jpye, Mon Jul 6 12:03:36 2009 UTC
# Line 82  Line 82 
82  #include <ascend/system/system.h>  #include <ascend/system/system.h>
83  #include <ascend/solver/solver.h>  #include <ascend/solver/solver.h>
84    
85  /* #define SENSITIVITY_DEBUG */  #define SENSITIVITY_DEBUG
86    
87  ASC_EXPORT int sensitivity_register(void);  ASC_EXPORT int sensitivity_register(void);
88    
# Line 99  slv_system_t sens_presolve(struct Instan Line 99  slv_system_t sens_presolve(struct Instan
99  #ifdef SENSITIVITY_DEBUG  #ifdef SENSITIVITY_DEBUG
100    struct var_variable **vp;    struct var_variable **vp;
101    struct rel_relation **rp;    struct rel_relation **rp;
102    int len;    int len, ind;
103    char *tmp=NULL;    char *tmp=NULL;
104  #endif  #endif
105    sys = system_build(inst);    sys = system_build(inst);
# Line 173  int sensitivity_anal( Line 173  int sensitivity_anal(
173      struct gl_list_t *branch;      struct gl_list_t *branch;
174      struct var_variable **vlist = NULL;      struct var_variable **vlist = NULL;
175      int *inputs_ndx_list = NULL, *outputs_ndx_list = NULL;      int *inputs_ndx_list = NULL, *outputs_ndx_list = NULL;
176      DenseMatrix dy_dx;      DenseMatrix dy_dx = densematrix_create_empty();
177      slv_system_t sys = NULL;      slv_system_t sys = NULL;
178      int c;      int c;
179      int noutputs = 0;      int noutputs = 0;

Legend:
Removed from v.2063  
changed lines
  Added in v.2064

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