Mercurial > public > hwos_code
comparison src/p2_deco.c @ 567:4ce70e3f00be
minor
author | heinrichsweikamp |
---|---|
date | Thu, 08 Feb 2018 13:23:53 +0100 |
parents | 3febf1cd1bf4 |
children | b455b31ce022 |
comparison
equal
deleted
inserted
replaced
566:3febf1cd1bf4 | 567:4ce70e3f00be |
---|---|
2378 char_O_deco_warnings |= (DECO_WARNING_IBCD + DECO_WARNING_IBCD_lock); | 2378 char_O_deco_warnings |= (DECO_WARNING_IBCD + DECO_WARNING_IBCD_lock); |
2379 } | 2379 } |
2380 | 2380 |
2381 // set deco flag if we are in deco and at least one of the real tissues is off-gassing | 2381 // set deco flag if we are in deco and at least one of the real tissues is off-gassing |
2382 // clear deco flag if all of the real tissues are on-gassing | 2382 // clear deco flag if all of the real tissues are on-gassing |
2383 if ( (NDL_time == 0) && deco_tissue_vector ) char_O_deco_warnings |= DECO_FLAG; | 2383 if ( (char_O_nullzeit == 0) && deco_tissue_vector ) char_O_deco_warnings |= DECO_FLAG; |
2384 else if ( !deco_tissue_vector ) char_O_deco_warnings &= ~DECO_FLAG; | 2384 else if ( !deco_tissue_vector ) char_O_deco_warnings &= ~DECO_FLAG; |
2385 | 2385 |
2386 | 2386 |
2387 assert( char_O_gtissue_no < NUM_COMP ); | 2387 assert( char_O_gtissue_no < NUM_COMP ); |
2388 assert( 0.0 <= calc_lead_tissue_limit && calc_lead_tissue_limit <= 14.0); | 2388 assert( 0.0 <= calc_lead_tissue_limit && calc_lead_tissue_limit <= 14.0); |