A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Declaration of the variables at the beginning of the functions
[simgrid.git]
/
src
/
surf
/
maxmin_private.h
diff --git
a/src/surf/maxmin_private.h
b/src/surf/maxmin_private.h
index
0a5e2b7
..
1798472
100644
(file)
--- a/
src/surf/maxmin_private.h
+++ b/
src/surf/maxmin_private.h
@@
-58,10
+58,9
@@
typedef struct lmm_variable {
double mu;
double new_mu;
double df; /* Total delay of flow */
double mu;
double new_mu;
double df; /* Total delay of flow */
- double (* func_f)
(struct lmm_variable *var, double x); /* f
*/
- double (* func_fp)
(struct lmm_variable *var, double x); /* f'
*/
+ double (* func_f)
(struct lmm_variable *var, double x); /* (f)
*/
+ double (* func_fp)
(struct lmm_variable *var, double x); /* (f')
*/
double (* func_fpi) (struct lmm_variable *var, double x); /* (f')^{-1} */
double (* func_fpi) (struct lmm_variable *var, double x); /* (f')^{-1} */
- double (* func_fpip) (struct lmm_variable *var, double x); /* ((f')^{-1})' */
/* \end{For Lagrange only} */
} s_lmm_variable_t;
/* \end{For Lagrange only} */
} s_lmm_variable_t;
@@
-94,4
+93,8
@@
static void lmm_cnst_free(lmm_system_t sys, lmm_constraint_t cnst);
void lmm_print(lmm_system_t sys);
void lmm_print(lmm_system_t sys);
+extern double (* func_f_def ) (lmm_variable_t , double);
+extern double (* func_fp_def ) (lmm_variable_t , double);
+extern double (* func_fpi_def )(lmm_variable_t , double);
+
#endif /* _SURF_MAXMIN_PRIVATE_H */
#endif /* _SURF_MAXMIN_PRIVATE_H */