Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_definitions.h Fri Feb 11 21:28:58 2011 +0100 +++ b/code_part1/OSTC_code_c_part2/p2_definitions.h Fri Feb 11 23:39:35 2011 +0100 @@ -106,10 +106,13 @@ # define overlay # define PARAMETER +#include <assert.h> + // Avoid warnings about float/double mismatches: # pragma warning(disable: 4244 4068 4305) #else # define PARAMETER static +# define assert(predicate) #endif //////////////////////////////////////////////////////////////////////////////