Hi! Here is my next pull request, it adds all the remaining vpm-b elements. What is left to code is some way of logged dives rating against vpm-b and probably some fixes.
The following changes since commit 342479586d1f34a2b7f3d1d69037cb0d631489fa: Planner: use the heap for note buffers (2015-08-10 00:04:17 -0700) are available in the git repository at: https://github.com/Slagvi/subsurface boyle-ready for you to fetch changes up to ffe2884f72ace4d04158b72fc806823c87a62e4b: VPM-B: Set radius constants to values reccomended by V-Planner. V-Planner reccomends smaller values for the VPM with the Boyles compensation. Also missing units comments were added. (2015-08-15 15:55:46 +0200) ---------------------------------------------------------------- Jan Darowski (7): VPM-B: Fix trial_ascent() for vpm-b. Previously, current depth was checked, instead of the depth after the move. VPM-B: Add simple Boyle's law compensation. This is a very basic implementation that uses bin search for solving the cubic. It's not called anywhere at this stage, needs to be changed to analytic solution. VPM-B: Add Boyles compensation to the planner. VPM-B: Add surface decompression time. Now, we calculate the volume of free gas not only based on the deco time but also time on the surface, needed for the full desaturation. VPM-B: Add conservatism levels to deco.c VPM-B: Add conservatism levels to the ui. Fix planner settings disabling. Conservatism level can now be changed from gui, is saved in settings. Also way of disabling the planner settings in the ui was improved to support more deco models and be called at the widget creation. VPM-B: Set radius constants to values reccomended by V-Planner. V-Planner reccomends smaller values for the VPM with the Boyles compensation. Also missing units comments were added. deco.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------- dive.h | 3 ++- planner.c | 13 ++++++++-- pref.h | 1 + qt-models/diveplannermodel.cpp | 6 +++++ qt-models/diveplannermodel.h | 1 + qt-ui/diveplanner.cpp | 60 +++++++++++++++++++++++++++------------------- qt-ui/diveplanner.h | 2 +- qt-ui/plannerSettings.ui | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------- subsurfacestartup.c | 3 ++- 10 files changed, 275 insertions(+), 157 deletions(-) _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
