Mercurial > public > mk2
comparison code_part1/OSTC_code_c_part2/p2_definitions.h @ 192:c8816e4bc724
GF Model
+ Apply the Eric's Baker gradient formula.
+ Apply GF varying corrections for each compartiment.
+ B?hlmann 100/100 == Gradient factor 100/100.
+ Compute stop with gradient at current depth (not GF_low)
+ Add assert() on visual platform.
+ Overflow stop into the next bin at same depth.
+ debug last deco depth in range 3m..6m.
author | JeanDo |
---|---|
date | Fri, 11 Feb 2011 23:39:35 +0100 |
parents | 016c45a0caaf |
children | 0a3ca358c684 |
comparison
equal
deleted
inserted
replaced
191:a08fc66fee28 | 192:c8816e4bc724 |
---|---|
104 # define ram | 104 # define ram |
105 # define rom | 105 # define rom |
106 # define overlay | 106 # define overlay |
107 # define PARAMETER | 107 # define PARAMETER |
108 | 108 |
109 #include <assert.h> | |
110 | |
109 // Avoid warnings about float/double mismatches: | 111 // Avoid warnings about float/double mismatches: |
110 # pragma warning(disable: 4244 4068 4305) | 112 # pragma warning(disable: 4244 4068 4305) |
111 #else | 113 #else |
112 # define PARAMETER static | 114 # define PARAMETER static |
115 # define assert(predicate) | |
113 #endif | 116 #endif |
114 | 117 |
115 ////////////////////////////////////////////////////////////////////////////// | 118 ////////////////////////////////////////////////////////////////////////////// |