comparison code_part1/OSTC_code_c_part2/p2_definitions.h @ 167:cb055a7d75f3

+ Use overlay local vars. + Make all private functions static. + Merge calc_tissue 2sec and 1min + Merge sim_tissue 1min and 10min + Expose basic display utilities for c-code. + Prepare stand-alone utilities for p2_main.c testing platform. + New c utility: int read_custom_function(cf#)
author JeanDo
date Mon, 24 Jan 2011 23:31:57 +0100
parents 144822282fa3
children 016c45a0caaf
comparison
equal deleted inserted replaced
166:80de93d72a17 167:cb055a7d75f3
83 # define MBAR_REACH_GASCHANGE_AUTO_CHANGE_OFF 150 83 # define MBAR_REACH_GASCHANGE_AUTO_CHANGE_OFF 150
84 84
85 // ************************* 85 // *************************
86 // ** P R O T O T Y P E S ** 86 // ** P R O T O T Y P E S **
87 // ************************* 87 // *************************
88 void calc_hauptroutine(void);
89 void calc_tissue(void);
90 void calc_nullzeit(void);
91 void backup_sim_pres_tissue(void);
92 void restore_sim_pres_tissue(void);
93 88
94 void calc_without_deco(void); 89 extern void calc_percentage(void);
95 void clear_tissue(void); 90 extern void deco_calc_hauptroutine(void);
96 void calc_ascenttime(void); 91 extern void deco_calc_without_deco(void);
97 void update_startvalues(void); 92 extern void deco_clear_tissue(void);
98 void clear_decoarray(void); 93 extern void deco_calc_percentage(void);
99 void update_decoarray(void); 94 extern void deco_calc_wo_deco_step_1_min(void);
100 void sim_tissue_1min(void); 95 extern void deco_debug(void);
101 void sim_tissue_10min(void); 96 extern void deco_gradient_array(void);
102 void calc_gradient_factor(void); 97 extern void deco_hash(void);
103 void calc_wo_deco_step_1_min(void); 98 extern void deco_calc_desaturation_time(void);
104 void calc_tissue_step_1_min(void); 99 extern void deco_calc_CNS_fraction(void);
105 //void debug(void); 100 extern void deco_clear_CNS_fraction(void);
106 void calc_percentage(void); 101 extern void deco_push_tissues_to_vault(void);
107 void calc_hauptroutine_data_input(void); 102 extern void deco_pull_tissues_from_vault(void);
108 void calc_hauptroutine_update_tissues(void);
109 void calc_hauptroutine_calc_deco(void);
110 void calc_hauptroutine_calc_ascend_to_deco(void);
111 //void build_debug_output(void);
112 void calc_nextdecodepth_GF(void);
113 void copy_deco_table_GF(void);
114 void clear_internal_deco_table_GF(void);
115 void update_internal_deco_table_GF(void);
116 103
117 104 //////////////////////////////////////////////////////////////////////////////
118 void deco_calc_hauptroutine(void);
119 void deco_calc_without_deco(void);
120 void deco_clear_tissue(void);
121 void deco_calc_percentage(void);
122 void deco_calc_wo_deco_step_1_min(void);
123 void deco_debug(void);
124 void deco_gradient_array(void);
125 void deco_hash(void);
126 void deco_calc_desaturation_time(void);
127 void deco_calc_CNS_fraction(void);
128 void deco_clear_CNS_fraction(void);
129 void deco_push_tissues_to_vault(void);
130 void deco_pull_tissues_from_vault(void);