comparison code_part1/OSTC_code_c_part2/p2_deco.c @ 785:b0c96aaa86e4

add ceiling display, no turkish language support anymore
author heinrichsweikamp
date Sun, 29 Jun 2014 15:13:32 +0200
parents e57e8045527d
children 0d1a82cdb3dc
comparison
equal deleted inserted replaced
784:46ef1e1388f1 785:b0c96aaa86e4
89 // 2013/03/05: [jDG] Wrobell remark: ascent_to_first_stop works better with finer steps (2sec). 89 // 2013/03/05: [jDG] Wrobell remark: ascent_to_first_stop works better with finer steps (2sec).
90 // 2013/05/08: [jDG] A. Salm remark: NOAA tables for CNS are in ATA, not bar. 90 // 2013/05/08: [jDG] A. Salm remark: NOAA tables for CNS are in ATA, not bar.
91 // 2013/10/22: [mH] Remove CF55 stuff 91 // 2013/10/22: [mH] Remove CF55 stuff
92 // 2013/12/21: [jDG] Fix CNS calculation in decoplan w/o marked gas switch 92 // 2013/12/21: [jDG] Fix CNS calculation in decoplan w/o marked gas switch
93 // 2014/06/16: [jDG] Fix Helium diluant. Fix volumes with many travel mix. 93 // 2014/06/16: [jDG] Fix Helium diluant. Fix volumes with many travel mix.
94 // 2014/06/29: [mH] Compute int_O_ceiling
94 // 95 //
95 // TODO: 96 // TODO:
96 // + Allow to abort MD2 calculation (have to restart next time). 97 // + Allow to abort MD2 calculation (have to restart next time).
97 // 98 //
98 // Literature: 99 // Literature:
1037 1038
1038 calc_hauptroutine_data_input(); 1039 calc_hauptroutine_data_input();
1039 1040
1040 calc_hauptroutine_update_tissues(); 1041 calc_hauptroutine_update_tissues();
1041 calc_gradient_factor(); 1042 calc_gradient_factor();
1043
1044 // Fill int_O_ceiling if ceiling is below the surface
1045 if ((calc_lead_tissue_limit-pres_surface)>0)
1046 int_O_ceiling = (short)((calc_lead_tissue_limit-pres_surface)*1000);
1047 else
1048 int_O_ceiling = 0;
1042 1049
1043 // toggle between calculation for nullzeit (bottom time), 1050 // toggle between calculation for nullzeit (bottom time),
1044 // deco stops 1051 // deco stops
1045 // and more deco stops (continue) 1052 // and more deco stops (continue)
1046 switch( char_O_deco_status ) 1053 switch( char_O_deco_status )